Skip to content
  • Naveen N. Rao's avatar
    mce: acpi/apei: Honour Firmware First for MCA banks listed in APEI HEST CMC · c3d1fb56
    Naveen N. Rao authored
    
    
    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: default avatarNaveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
    Acked-by: default avatarBorislav Petkov <bp@suse.de>
    Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
    c3d1fb56