[RFC PATCH v1 0/2] ACPI: APEI: Make synchronization errors call

From: Lv Ying
Date: Wed Dec 07 2022 - 04:39:57 EST


Changes RFC PATCH v1 -> RFC
============================
1. add TODO to explain current there is no good way to distinguish
ghes_proc_in_irq is called by synchronous or asynchronous error, so keep
consistent with the current implementation
2. filter out -EHWPOISON and -EOPNOTSUPP just like kill_me_maybe()

Lv Ying (2):
ACPI: APEI: Make memory_failure() triggered by synchronization errors
execute in the current context
ACPI: APEI: fix reboot caused by synchronous error loop because of
memory_failure() failed

drivers/acpi/apei/ghes.c | 36 ++++++++++++++++++++------------
mm/memory-failure.c | 45 ++++++++++++++++++++++++++++------------
2 files changed, 55 insertions(+), 26 deletions(-)

--
2.36.1