Re: [PATCH] ACPI: Fix CXL 3.0 structure (RDPAS) in the CEDT table

From: Hojin Nam
Date: Sun Feb 18 2024 - 22:46:23 EST


On Fri, Feb 16, 2024 at 07:39:15PM +0100, Rafael J. Wysocki wrote:
> On Fri, Feb 16, 2024 at 8:29 AM <hj96.nam@xxxxxxxxxxx> wrote:
> >
> > From: Hojin Nam <hj96.nam@xxxxxxxxxxx>
> >
> > struct acpi_cedt_rdpas does not match with CXL r3.0 9.17.1.5
> > Table 9-24. reserved1 and length fields are already added by
> > struct acpi_cedt_header.
> >
> > Signed-off-by: Hojin Nam <hj96.nam@xxxxxxxxxxx>
> > ---
> > include/acpi/actbl1.h | 2 --
>
> This file is part of ACPICA which is a separate project whose code is
> used by the Linux kernel. In order to make changes in the ACPICA
> code, please submit a pull request to the upstream ACPICA project on
> GitHub. Once this pull request is merged, you can send a
> corresponding Linux patch with a Link: tag pointing to it. However,
> it is not necessary to do so, as the changes will be automatically
> included into the ACPICA code in the kernel once a new version of
> ACPICA is out.
>

I submitted PR to the ACPICA project on Github[1].
Thanks for the guide!

Link: https://github.com/acpica/acpica/pull/928 [1]

> > 1 file changed, 2 deletions(-)
> >
> > diff --git a/include/acpi/actbl1.h b/include/acpi/actbl1.h
> > index a33375e055ad..7aff8c39dbd6 100644
> > --- a/include/acpi/actbl1.h
> > +++ b/include/acpi/actbl1.h
> > @@ -571,8 +571,6 @@ struct acpi_cedt_cxims {
> >
> > struct acpi_cedt_rdpas {
> > struct acpi_cedt_header header;
> > - u8 reserved1;
> > - u16 length;
> > u16 segment;
> > u16 bdf;
> > u8 protocol;
> >
> > base-commit: d37e1e4c52bc60578969f391fb81f947c3e83118
> > --
> > 2.34.1
> >
>