Message ID | 20231213223702.543419-4-Benjamin.Cheatham@amd.com |
---|---|
State | Superseded |
Headers | show |
Series | CXL, ACPI, APEI, EINJ: Update EINJ for CXL error types | expand |
Ben Cheatham wrote: > Add CXL protocol error defines to include/actbl1.h. > > Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> > Signed-off-by: Ben Cheatham <Benjamin.Cheatham@amd.com> > --- > > I made a pull request for this support in the ACPICA project which has > been accepted (link below), so this patch is temporary and I expect it > to be dropped once the kernel updates from ACPICA. > > [1]: > Link: https://github.com/acpica/acpica/pull/884 Hi Rafael, Might the kernel side of this ACPICA update hit a stable commit I can use to land this topic branch in cxl.git for v6.8? Alternatively, if you want to take the whole thing through your tree with my ack, just let me know. > --- > include/acpi/actbl1.h | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/include/acpi/actbl1.h b/include/acpi/actbl1.h > index a33375e055ad..1f58c5d86869 100644 > --- a/include/acpi/actbl1.h > +++ b/include/acpi/actbl1.h > @@ -1096,6 +1096,12 @@ enum acpi_einj_command_status { > #define ACPI_EINJ_PLATFORM_CORRECTABLE (1<<9) > #define ACPI_EINJ_PLATFORM_UNCORRECTABLE (1<<10) > #define ACPI_EINJ_PLATFORM_FATAL (1<<11) > +#define ACPI_EINJ_CXL_CACHE_CORRECTABLE (1<<12) > +#define ACPI_EINJ_CXL_CACHE_UNCORRECTABLE (1<<13) > +#define ACPI_EINJ_CXL_CACHE_FATAL (1<<14) > +#define ACPI_EINJ_CXL_MEM_CORRECTABLE (1<<15) > +#define ACPI_EINJ_CXL_MEM_UNCORRECTABLE (1<<16) > +#define ACPI_EINJ_CXL_MEM_FATAL (1<<17) > #define ACPI_EINJ_VENDOR_DEFINED (1<<31) > > /******************************************************************************* > -- > 2.34.1 >
diff --git a/include/acpi/actbl1.h b/include/acpi/actbl1.h index a33375e055ad..1f58c5d86869 100644 --- a/include/acpi/actbl1.h +++ b/include/acpi/actbl1.h @@ -1096,6 +1096,12 @@ enum acpi_einj_command_status { #define ACPI_EINJ_PLATFORM_CORRECTABLE (1<<9) #define ACPI_EINJ_PLATFORM_UNCORRECTABLE (1<<10) #define ACPI_EINJ_PLATFORM_FATAL (1<<11) +#define ACPI_EINJ_CXL_CACHE_CORRECTABLE (1<<12) +#define ACPI_EINJ_CXL_CACHE_UNCORRECTABLE (1<<13) +#define ACPI_EINJ_CXL_CACHE_FATAL (1<<14) +#define ACPI_EINJ_CXL_MEM_CORRECTABLE (1<<15) +#define ACPI_EINJ_CXL_MEM_UNCORRECTABLE (1<<16) +#define ACPI_EINJ_CXL_MEM_FATAL (1<<17) #define ACPI_EINJ_VENDOR_DEFINED (1<<31) /*******************************************************************************