Back to home page

OSCL-LXR

 
 

    


0001 .. SPDX-License-Identifier: GPL-2.0
0002 
0003 ===============================================================
0004 Configurable sysfs parameters for the x86-64 machine check code
0005 ===============================================================
0006 
0007 Machine checks report internal hardware error conditions detected
0008 by the CPU. Uncorrected errors typically cause a machine check
0009 (often with panic), corrected ones cause a machine check log entry.
0010 
0011 Machine checks are organized in banks (normally associated with
0012 a hardware subsystem) and subevents in a bank. The exact meaning
0013 of the banks and subevent is CPU specific.
0014 
0015 mcelog knows how to decode them.
0016 
0017 When you see the "Machine check errors logged" message in the system
0018 log then mcelog should run to collect and decode machine check entries
0019 from /dev/mcelog. Normally mcelog should be run regularly from a cronjob.
0020 
0021 Each CPU has a directory in /sys/devices/system/machinecheck/machinecheckN
0022 (N = CPU number).
0023 
0024 The directory contains some configurable entries. See
0025 Documentation/ABI/testing/sysfs-mce for more details.
0026 
0027 TBD document entries for AMD threshold interrupt configuration
0028 
0029 For more details about the x86 machine check architecture
0030 see the Intel and AMD architecture manuals from their developer websites.
0031 
0032 For more details about the architecture
0033 see http://one.firstfloor.org/~andi/mce.pdf