1.. SPDX-License-Identifier: GPL-2.0
2
3===============================================================
4Configurable sysfs parameters for the x86-64 machine check code
5===============================================================
6
7Machine checks report internal hardware error conditions detected
8by the CPU. Uncorrected errors typically cause a machine check
9(often with panic), corrected ones cause a machine check log entry.
10
11Machine checks are organized in banks (normally associated with
12a hardware subsystem) and subevents in a bank. The exact meaning
13of the banks and subevent is CPU specific.
14
15mcelog knows how to decode them.
16
17When you see the "Machine check errors logged" message in the system
18log then mcelog should run to collect and decode machine check entries
19from /dev/mcelog. Normally mcelog should be run regularly from a cronjob.
20
21Each CPU has a directory in /sys/devices/system/machinecheck/machinecheckN
22(N = CPU number).
23
24The directory contains some configurable entries. See
25Documentation/ABI/testing/sysfs-mce for more details.
26
27TBD document entries for AMD threshold interrupt configuration
28
29For more details about the x86 machine check architecture
30see the Intel and AMD architecture manuals from their developer websites.
31
32For more details about the architecture
33see http://one.firstfloor.org/~andi/mce.pdf
34