• N
    mce: acpi/apei: Honour Firmware First for MCA banks listed in APEI HEST CMC · c3d1fb56
    Naveen N. Rao 提交于
    The Corrected Machine Check structure (CMC) in HEST has a flag which can be
    set by the firmware to indicate to the OS that it prefers to process the
    corrected error events first. In this scenario, the OS is expected to not
    monitor for corrected errors (through CMCI/polling). Instead, the firmware
    notifies the OS on corrected error events through GHES.
    
    Linux already has support for GHES. This patch adds support for parsing CMC
    structure and to disable CMCI/polling if the firmware first flag is set.
    
    Further, the list of machine check bank structures at the end of CMC is used
    to determine which MCA banks function in FF mode, so that we continue to
    monitor error events on the other banks.
    Signed-off-by: NNaveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
    Acked-by: NBorislav Petkov <bp@suse.de>
    Signed-off-by: NTony Luck <tony.luck@intel.com>
    c3d1fb56
mce-internal.h 1.6 KB