OpenCloudOS-Kernel/drivers/acpi/apei
Xiaofei Tan ccb5ecdc2d ACPI: APEI: fix synchronous external aborts in user-mode
Before commit 8fcc4ae6fa ("arm64: acpi: Make apei_claim_sea()
synchronise with APEI's irq work"), do_sea() would unconditionally
signal the affected task from the arch code. Since that change,
the GHES driver sends the signals.

This exposes a problem as errors the GHES driver doesn't understand
or doesn't handle effectively are silently ignored. It will cause
the errors get taken again, and circulate endlessly. User-space task
get stuck in this loop.

Existing firmware on Kunpeng9xx systems reports cache errors with the
'ARM Processor Error' CPER records.

Do memory failure handling for ARM Processor Error Section just like
for Memory Error Section.

Fixes: 8fcc4ae6fa ("arm64: acpi: Make apei_claim_sea() synchronise with APEI's irq work")
Signed-off-by: Xiaofei Tan <tanxiaofei@huawei.com>
Reviewed-by: James Morse <james.morse@arm.com>
[ rjw: Subject edit ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2021-06-17 14:05:28 +02:00
..
Kconfig ACPI / APEI: Switch NOTIFY_SEA to use the estatus queue 2019-02-07 23:10:45 +01:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
apei-base.c Merge ACPI APEI material for v5.11. 2020-11-23 12:50:17 +01:00
apei-internal.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
bert.c ACPI: APEI: Put the boot error record table after parsing 2020-05-09 11:29:17 +02:00
einj.c ACPI: APEI: Don't warn if ACPI is disabled 2021-05-21 18:59:49 +02:00
erst-dbg.c acpi: Use pr_warn instead of pr_warning 2019-10-18 15:00:19 +02:00
erst.c ACPI: fix various typos in comments 2021-03-19 17:45:49 +01:00
ghes.c ACPI: APEI: fix synchronous external aborts in user-mode 2021-06-17 14:05:28 +02:00
hest.c ACPI: fix various typos in comments 2021-03-19 17:45:49 +01:00