ACPICA: Provide #defines for EINJV2 error types

EINJV2 defined new error types by moving the severity (correctable,
uncorrectable non-fatal, uncorrectable fatal) out of the "type".

ACPI 6.5 introduced EINJV2 and defined a vendor defined error type
using bit 31. This was dropped in ACPI 6.6.

Link: https://github.com/acpica/acpica/commit/e82d2d2fd145
Signed-off-by: Tony Luck <tony.luck@intel.com>
Link: https://patch.msgid.link/20260421150216.11666-2-tony.luck@intel.com
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
This commit is contained in:
Tony Luck
2026-04-21 08:02:15 -07:00
committed by Rafael J. Wysocki
parent 254f49634e
commit 1f60085383

View File

@@ -1386,6 +1386,12 @@ enum acpi_einj_command_status {
#define ACPI_EINJ_CXL_MEM_FATAL (1<<17)
#define ACPI_EINJ_VENDOR_DEFINED (1<<31)
/* EINJV2 error types from EINJV2_GET_ERROR_TYPE (ACPI 6.6) */
#define ACPI_EINJV2_PROCESSOR (1)
#define ACPI_EINJV2_MEMORY (1<<1)
#define ACPI_EINJV2_PCIE (1<<2)
/*******************************************************************************
*
* ERST - Error Record Serialization Table (ACPI 4.0)