1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0 2011d8261SBorislav Petkovconfig RAS_CEC 3011d8261SBorislav Petkov bool "Correctable Errors Collector" 4011d8261SBorislav Petkov depends on X86_MCE && MEMORY_FAILURE && DEBUG_FS 5011d8261SBorislav Petkov ---help--- 6011d8261SBorislav Petkov This is a small cache which collects correctable memory errors per 4K 7011d8261SBorislav Petkov page PFN and counts their repeated occurrence. Once the counter for a 8011d8261SBorislav Petkov PFN overflows, we try to soft-offline that page as we take it to mean 9011d8261SBorislav Petkov that it has reached a relatively high error count and would probably 10011d8261SBorislav Petkov be best if we don't use it anymore. 11011d8261SBorislav Petkov 12011d8261SBorislav Petkov Bear in mind that this is absolutely useless if your platform doesn't 13011d8261SBorislav Petkov have ECC DIMMs and doesn't have DRAM ECC checking enabled in the BIOS. 14