aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Norris <computersforpeace@gmail.com>2023-01-27 12:53:32 -0800
committerHauke Mehrtens <hauke@hauke-m.de>2023-02-03 13:48:11 +0100
commitecafdfa894e73d2fd69a1e41bd089653e03fdae5 (patch)
tree2e72f971054476c62be94b29fde00acac8a5fa6b
parentc46584ab302f0dd9b472aef77c2af163f9719379 (diff)
downloadupstream-ecafdfa894e73d2fd69a1e41bd089653e03fdae5.tar.gz
upstream-ecafdfa894e73d2fd69a1e41bd089653e03fdae5.tar.bz2
upstream-ecafdfa894e73d2fd69a1e41bd089653e03fdae5.zip
kernel: modules: add lkdtm module
Useful for debugging panic/error handling, crash logging, and more. Signed-off-by: Brian Norris <computersforpeace@gmail.com>
-rw-r--r--package/kernel/linux/modules/other.mk16
1 files changed, 16 insertions, 0 deletions
diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/modules/other.mk
index c5f944ed31..2bd15dfe67 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