Re: [PATCH v4 1/2] ACPICA: Provide #defines for EINJV2 error types

From: Rafael J. Wysocki

Date: Mon Apr 27 2026 - 15:54:31 EST


On Tue, Apr 21, 2026 at 5:02 PM Tony Luck <tony.luck@xxxxxxxxx> wrote:
>
> 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.
>
> Signed-off-by: Tony Luck <tony.luck@xxxxxxxxx>
>
> ---
> Already applied to https://github.com/acpica/acpica.git as
> commit e82d2d2fd145 ("Provide #defines for EINJV2 error types")

So you do

Link: https://github.com/acpica/acpica/commit/e82d2d2fd145

which I've done already for this one and applied it as 7.1-rc material
along with the [2/2].

Thanks!

>
>
> include/acpi/actbl1.h | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/include/acpi/actbl1.h b/include/acpi/actbl1.h
> index 4e15583e0d25..f72e00517eb3 100644
> --- a/include/acpi/actbl1.h
> +++ b/include/acpi/actbl1.h
> @@ -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)
> --
> 2.53.0
>
>