summaryrefslogtreecommitdiff
path: root/drivers/edac/Kconfig
diff options
context:
space:
mode:
authorBorislav Petkov (AMD) <bp@alien8.de>2026-07-07 14:53:07 -0700
committerBorislav Petkov (AMD) <bp@alien8.de>2026-09-14 17:58:38 -0700
commit558c19e274efb75bd7bfb8cf9fe562c6497c9420 (patch)
tree805f0c51c6372ad3c50cd5e9105b2e2614e46494 /drivers/edac/Kconfig
parent68a3e57814dea71157450ed5fb96c5cf62da8435 (diff)
EDAC/dummy: Add a dummy EDAC driver
A dummy EDAC driver is useful for testing purposes in a VM when one doesn't have all the hardware needed to test aspects of the EDAC subsystem code. Fix edac/Makefile alignment while at it. Assisted-by: LLM Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Link: https://patch.msgid.link/20260707215307.396571-1-bp@kernel.org
Diffstat (limited to 'drivers/edac/Kconfig')
-rw-r--r--drivers/edac/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/edac/Kconfig b/drivers/edac/Kconfig
index f7964cd9545e..4c70729b0d3a 100644
--- a/drivers/edac/Kconfig
+++ b/drivers/edac/Kconfig
@@ -594,4 +594,13 @@ config EDAC_VERSALNET
and other system errors from various IP subsystems like RPU, NOCs,
HNICX, PL on the AMD Versal NET DDR memory controller.
+config EDAC_DUMMY
+ tristate "Dummy EDAC driver"
+ default n
+ help
+ A dummy EDAC driver is useful for testing purposes in a VM when one
+ doesn't have all the hardware needed to test aspects of the EDAC
+ subsystem code.
+
+ You definitely wanna say N here.
endif # EDAC