summaryrefslogtreecommitdiffstats
path: root/drivers/edac/Kconfig
diff options
context:
space:
mode:
authorBorislav Petkov <bp@suse.de>2020-12-22 18:55:06 +0100
committerBorislav Petkov <bp@suse.de>2020-12-28 19:36:37 +0100
commit1865bc71a869ede69098b1f3e65857b4330f0607 (patch)
treefbcd5f256402d9ee6490577e48490a446473c2ed /drivers/edac/Kconfig
parentEDAC/amd64: Merge error injection sysfs facilities (diff)
downloadlinux-1865bc71a869ede69098b1f3e65857b4330f0607.tar.xz
linux-1865bc71a869ede69098b1f3e65857b4330f0607.zip
EDAC/amd64: Limit error injection functionality to supported hw
Families up to and including 0x16 allow access to the injection hardware. Starting with family 0x17, access to those registers is blocked by security policy. Limit that only on the families which support it. Suggested-by: Yazen Ghannam <yazen.ghannam@amd.com> Signed-off-by: Borislav Petkov <bp@suse.de> Link: https://lkml.kernel.org/r/20201222180013.GD13463@zn.tnic
Diffstat (limited to 'drivers/edac/Kconfig')
-rw-r--r--drivers/edac/Kconfig8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/edac/Kconfig b/drivers/edac/Kconfig
index 47953b06d6c8..27d0c4cdc58d 100644
--- a/drivers/edac/Kconfig
+++ b/drivers/edac/Kconfig
@@ -84,10 +84,10 @@ config EDAC_AMD64
When EDAC_DEBUG is enabled, hardware error injection facilities
through sysfs are available:
- Recent Opterons (Family 10h and later) provide for Memory Error
- Injection into the ECC detection circuits. The amd64_edac module
- allows the operator/user to inject Uncorrectable and Correctable
- errors into DRAM.
+ AMD CPUs up to and excluding family 0x17 provide for Memory
+ Error Injection into the ECC detection circuits. The amd64_edac
+ module allows the operator/user to inject Uncorrectable and
+ Correctable errors into DRAM.
When enabled, in each of the respective memory controller directories
(/sys/devices/system/edac/mc/mcX), there are 3 input files: