xref: /linux/arch/x86/ras/Kconfig (revision 6f52b16c5b29b89d92c0e7236f4655dc8491ad70)
1# SPDX-License-Identifier: GPL-2.0
2config RAS_CEC
3	bool "Correctable Errors Collector"
4	depends on X86_MCE && MEMORY_FAILURE && DEBUG_FS
5	---help---
6	  This is a small cache which collects correctable memory errors per 4K
7	  page PFN and counts their repeated occurrence. Once the counter for a
8	  PFN overflows, we try to soft-offline that page as we take it to mean
9	  that it has reached a relatively high error count and would probably
10	  be best if we don't use it anymore.
11
12	  Bear in mind that this is absolutely useless if your platform doesn't
13	  have ECC DIMMs and doesn't have DRAM ECC checking enabled in the BIOS.
14