From patchwork Fri Jan 27 20:53:32 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Brian Norris X-Patchwork-Id: 1733121 X-Patchwork-Delegate: hauke@hauke-m.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.openwrt.org (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org; envelope-from=openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=geMxBW04; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=Ve5IHqvi; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4P3VHn4XJjz23hy for ; Sat, 28 Jan 2023 07:56:53 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=xU99kvSVdMZ7SqX1RbbN3yK8wv7wrTVvXnLTp+aJXXI=; b=geMxBW04ztUIqH Swugvg75cdg/cTI0cAlm18pPobKAay6aZtTJ2r7Vkc3A1gRjbqnz8Vg3cI1dAyG1ZxTg2ZS22Gaiy F7IQM83i97EIYCE3YNBo0A0LWQitfhcLXTq0o74nEO5LA4xAJ1Rzau5/60IEHSwLmZ5URHXrGU7cu UR+KAPgoiS3Nfjn+pGWwmdX+hcyKQvLg8CqdPxyIlndS29tbGt9xMKZdRKjtPWDHDh/IYCzWCVDy5 NgX8qEK7apYbyOIYsKhy/WDSIhq6jdU8NL7pUsSSZq8TwvpOXme5OaasS0bsv1AfNQy1g0lyV6buC XHVKlbEJrjJJOFBTziGA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pLVjH-00GSGu-Hx; Fri, 27 Jan 2023 20:53:47 +0000 Received: from mail-pg1-x531.google.com ([2607:f8b0:4864:20::531]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pLVjB-00GSGa-0u for openwrt-devel@lists.openwrt.org; Fri, 27 Jan 2023 20:53:44 +0000 Received: by mail-pg1-x531.google.com with SMTP id q9so3988780pgq.5 for ; Fri, 27 Jan 2023 12:53:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=g/bf6yln70cto+7oVtyx5UAM92+spueXWEfPxgSMLDQ=; b=Ve5IHqvijmkAnSY79Nn2sZ2NOcWSve8IZG91Lmwe8WDgOEG3qZdyNGGcwl/NClWnpu zwukLf7wwzXalCOv5XQ4kQ8EKuLEzcsGt7Og4lnoQ0U9TNZItqRYBuC3EzRla7dlz3sx DgqZirvlcniiFZkYtZRwKS+D0QJ09WaoJ8ds3He5mpzz/87lLYYQOVZ0jc6voL3A6ApU EyW7FDtPdEX6K/BjNIotLfKko8qzIkAksY4Yd0MlMi0CHKzZu89XC9M7LGSgoljtuKJN MWw6IywsVTMpP4NYYwHI/e0zFzKTcYssD4gMhVAETsdYvT4DZjq+j4iEGwqvNQEGKccG Ktvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=g/bf6yln70cto+7oVtyx5UAM92+spueXWEfPxgSMLDQ=; b=2TRjUURDXhRbgSqy4M0DPyyiFqro8B6xalHFf2ZGv2/g2wC9OEuMqPmiCDqrJHFMFt 6AIAoO602iMdMRsIYC/AwzNY6lVoRDzEdphAwC6LWVi6EkZFrLbTJyZXkKJ7HA7A1Fpk 18cHaj2+u/z1yrzxuuGSft6Os96Y52XpAzJZvkudGxDM18KJmtBn5YBIMuXTSLyl99hG scDrlNlZNiet4Im1ZvvbfOYpOj6haLs3UdUdJM/HYVAhuJreecCPiKdtSkwbn0WXvH9a pszR6Vj8Xb5po49IfRcqoIbMfu3yPgRfHaZlX+JG4TstrVWUO63GurV7cWL/e8/YYngp GRtA== X-Gm-Message-State: AO0yUKXxhjLDTqz1AntPgmcEacMMGXhXyYo6ebTO8RbJ/S6MK6wrg3qd O6MyajDQ8+Tc3vfegyVBk3By8KZpLjw= X-Google-Smtp-Source: AK7set/3Y4MsG4Nd0jnyHr2B+e87Ic5aD2yDPoG2ueJISZEIzjqp18kGZkEzjwVL0VJYTyOR3+LJvg== X-Received: by 2002:aa7:888a:0:b0:592:3c0a:39dd with SMTP id z10-20020aa7888a000000b005923c0a39ddmr9147470pfe.28.1674852819144; Fri, 27 Jan 2023 12:53:39 -0800 (PST) Received: from localhost ([2600:1700:38c1:1d7f:f66d:4ff:fe3c:3ceb]) by smtp.gmail.com with ESMTPSA id k3-20020aa79723000000b00581c741f95csm3049002pfg.46.2023.01.27.12.53.37 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 27 Jan 2023 12:53:38 -0800 (PST) From: Brian Norris To: openwrt-devel@lists.openwrt.org Cc: Brian Norris Subject: [PATCH] kernel: modules: add lkdtm module Date: Fri, 27 Jan 2023 12:53:32 -0800 Message-Id: <20230127205332.3227349-1-computersforpeace@gmail.com> X-Mailer: git-send-email 2.39.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230127_125343_793082_A69BCCFC X-CRM114-Status: UNSURE ( 7.46 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.2 (/) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Useful for debugging panic/error handling, crash logging, and more. Signed-off-by: Brian Norris --- package/kernel/linux/modules/other.mk | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) Content analysis details: (-0.2 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:531 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [computersforpeace[at]gmail.com] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "openwrt-devel" Errors-To: openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org Useful for debugging panic/error handling, crash logging, and more. Signed-off-by: Brian Norris --- package/kernel/linux/modules/other.mk | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/modules/other.mk index c5f944ed3194..2bd15dfe67e1 100644 --- a/package/kernel/linux/modules/other.mk +++ b/package/kernel/linux/modules/other.mk @@ -243,6 +243,22 @@ endef $(eval $(call KernelPackage,gpio-f7188x)) +define KernelPackage/lkdtm + SUBMENU:=$(OTHER_MENU) + TITLE:=Linux Kernel Dump Test Tool Module + KCONFIG:=CONFIG_LKDTM + FILES:=$(LINUX_DIR)/drivers/misc/lkdtm/lkdtm.ko + AUTOLOAD:=$(call AutoProbe,lkdtm) +endef + +define KernelPackage/lkdtm/description + This module enables testing of the different dumping mechanisms by inducing + system failures at predefined crash points. +endef + +$(eval $(call KernelPackage,lkdtm)) + + define KernelPackage/pinctrl-mcp23s08 SUBMENU:=$(OTHER_MENU) TITLE:=Microchip MCP23xxx I/O expander