Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: GPL-2.0
0002 config RAS_CEC
0003         bool "Correctable Errors Collector"
0004         depends on X86_MCE && MEMORY_FAILURE && DEBUG_FS
0005         help
0006           This is a small cache which collects correctable memory errors per 4K
0007           page PFN and counts their repeated occurrence. Once the counter for a
0008           PFN overflows, we try to soft-offline that page as we take it to mean
0009           that it has reached a relatively high error count and would probably
0010           be best if we don't use it anymore.
0011 
0012           Bear in mind that this is absolutely useless if your platform doesn't
0013           have ECC DIMMs and doesn't have DRAM ECC checking enabled in the BIOS.
0014 
0015 config RAS_CEC_DEBUG
0016         bool "CEC debugging machinery"
0017         default n
0018         depends on RAS_CEC
0019         help
0020           Add extra files to (debugfs)/ras/cec to test the correctable error
0021           collector feature. "pfn" is a writable file that allows user to
0022           simulate an error in a particular page frame. "array" is a read-only
0023           file that dumps out the current state of all pages logged so far.