xref: /openbmc/linux/arch/x86/ras/Kconfig (revision 011d8261)
169385f88SBorislav Petkovconfig MCE_AMD_INJ
26c36dfe9SBorislav Petkov	tristate "Simple MCE injection interface for AMD processors"
3bd43f60aSBorislav Petkov	depends on RAS && X86_MCE && DEBUG_FS && AMD_NB
46c36dfe9SBorislav Petkov	default n
56c36dfe9SBorislav Petkov	help
66c36dfe9SBorislav Petkov	  This is a simple debugfs interface to inject MCEs and test different
76c36dfe9SBorislav Petkov	  aspects of the MCE handling code.
86c36dfe9SBorislav Petkov
96c36dfe9SBorislav Petkov	  WARNING: Do not even assume this interface is staying stable!
10011d8261SBorislav Petkov
11011d8261SBorislav Petkovconfig RAS_CEC
12011d8261SBorislav Petkov	bool "Correctable Errors Collector"
13011d8261SBorislav Petkov	depends on X86_MCE && MEMORY_FAILURE && DEBUG_FS
14011d8261SBorislav Petkov	---help---
15011d8261SBorislav Petkov	  This is a small cache which collects correctable memory errors per 4K
16011d8261SBorislav Petkov	  page PFN and counts their repeated occurrence. Once the counter for a
17011d8261SBorislav Petkov	  PFN overflows, we try to soft-offline that page as we take it to mean
18011d8261SBorislav Petkov	  that it has reached a relatively high error count and would probably
19011d8261SBorislav Petkov	  be best if we don't use it anymore.
20011d8261SBorislav Petkov
21011d8261SBorislav Petkov	  Bear in mind that this is absolutely useless if your platform doesn't
22011d8261SBorislav Petkov	  have ECC DIMMs and doesn't have DRAM ECC checking enabled in the BIOS.
23011d8261SBorislav Petkov
24