OpenCloudOS-Kernel/drivers/acpi/apei
Naveen N. Rao c3d1fb567a mce: acpi/apei: Honour Firmware First for MCA banks listed in APEI HEST CMC
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: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Acked-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Tony Luck <tony.luck@intel.com>
2013-07-08 11:53:01 -07:00
..
Kconfig llist: Make some llist functions inline 2011-10-04 11:30:53 +02:00
Makefile ACPI, APEI, ERST debug support 2010-08-14 22:47:55 -04:00
apei-base.c ACPI, APEI: Fixup incorrect 64-bit access width firmware bug 2013-01-19 01:34:43 +01:00
apei-internal.h ACPI, APEI, Avoid too much error reporting in runtime 2012-06-12 00:17:18 -04:00
cper.c aerdrv: Move cper_print_aer() call out of interrupt context 2013-05-30 10:51:20 -07:00
einj.c ACPI, APEI, EINJ: Add missed ACPI5 support for error trigger table 2012-12-07 11:50:02 -08:00
erst-dbg.c ACPI / APEI: Fix the returned value in erst_dbg_read 2013-01-03 13:10:20 +01:00
erst.c efi_pstore: Add a sequence counter to a variable name 2012-11-26 16:07:44 -08:00
ghes.c Merge branch 'acpi-fixes' 2013-06-07 12:35:23 +02:00
hest.c mce: acpi/apei: Honour Firmware First for MCA banks listed in APEI HEST CMC 2013-07-08 11:53:01 -07:00