Skip to content

Commit 1f60085

Browse files
aeglrafaeljw
authored andcommitted
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: acpica/acpica@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>
1 parent 254f496 commit 1f60085

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

include/acpi/actbl1.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1386,6 +1386,12 @@ enum acpi_einj_command_status {
13861386
#define ACPI_EINJ_CXL_MEM_FATAL (1<<17)
13871387
#define ACPI_EINJ_VENDOR_DEFINED (1<<31)
13881388

1389+
/* EINJV2 error types from EINJV2_GET_ERROR_TYPE (ACPI 6.6) */
1390+
1391+
#define ACPI_EINJV2_PROCESSOR (1)
1392+
#define ACPI_EINJV2_MEMORY (1<<1)
1393+
#define ACPI_EINJV2_PCIE (1<<2)
1394+
13891395
/*******************************************************************************
13901396
*
13911397
* ERST - Error Record Serialization Table (ACPI 4.0)

0 commit comments

Comments
 (0)