[PATCH v4 0/2] ACPI: APEI: EINJ: Fix EINJV2 memory error injection

From: Tony Luck

Date: Tue Apr 21 2026 - 11:03:09 EST


EINJV2 (introduced in version 6.5 of the ACPI specification) uses
different values for the "type" of injection. Two places in the
Linux driver need patching to take account of the new type values.

Changes since V3:

* Moved the #defines for EINV2 types to <acpi/actbl1.h> [Change submitted
through ACPICA tree with duplicate in patch 1 of this series]

* Sashiko noted that I'd dropped the test for "flags & SETWA_FLAGS_MEM"
from my is_memory_injection() helper.

Tony Luck (2):
ACPICA: Provide #defines for EINJV2 error types
ACPI: APEI: EINJ: Fix EINJV2 memory error injection

include/acpi/actbl1.h | 6 +++++
drivers/acpi/apei/einj-core.c | 45 +++++++++++++++++++----------------
2 files changed, 31 insertions(+), 20 deletions(-)


base-commit: 028ef9c96e96197026887c0f092424679298aae8
--
2.53.0