mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] ACPI: Fix CXL 3.0 structure (RDPAS) in the CEDT table
       [not found] <CGME20240216072906epcas2p407a2f85aca1b9b8677fb8aa458c53aa6@epcas2p4.samsung.com>
@ 2024-02-16  7:29 ` hj96.nam
  2024-02-16 18:39   ` Rafael J. Wysocki
  0 siblings, 1 reply; 3+ messages in thread
From: hj96.nam @ 2024-02-16  7:29 UTC (permalink / raw)
  To: Robert Moore, Rafael J . Wysocki, Len Brown
  Cc: linux-acpi, acpica-devel, linux-kernel, ks0204.kim, wj28.lee,
	alison.schofield, Hojin Nam

From: Hojin Nam <hj96.nam@samsung.com>

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@samsung.com>
---
 include/acpi/actbl1.h | 2 --
 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] ACPI: Fix CXL 3.0 structure (RDPAS) in the CEDT table
  2024-02-16  7:29 ` [PATCH] ACPI: Fix CXL 3.0 structure (RDPAS) in the CEDT table hj96.nam
@ 2024-02-16 18:39   ` Rafael J. Wysocki
  2024-02-19  3:46     ` Hojin Nam
  0 siblings, 1 reply; 3+ messages in thread
From: Rafael J. Wysocki @ 2024-02-16 18:39 UTC (permalink / raw)
  To: hj96.nam
  Cc: Robert Moore, Rafael J . Wysocki, Len Brown, linux-acpi,
	acpica-devel, linux-kernel, ks0204.kim, wj28.lee,
	alison.schofield

On Fri, Feb 16, 2024 at 8:29 AM <hj96.nam@samsung.com> wrote:
>
> From: Hojin Nam <hj96.nam@samsung.com>
>
> 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@samsung.com>
> ---
>  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.

>  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
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] ACPI: Fix CXL 3.0 structure (RDPAS) in the CEDT table
  2024-02-16 18:39   ` Rafael J. Wysocki
@ 2024-02-19  3:46     ` Hojin Nam
  0 siblings, 0 replies; 3+ messages in thread
From: Hojin Nam @ 2024-02-19  3:46 UTC (permalink / raw)
  To: Rafael J. Wysocki
  Cc: Robert Moore, Rafael J . Wysocki, Len Brown, linux-acpi,
	acpica-devel, linux-kernel, ks0204.kim, wj28.lee,
	alison.schofield

[-- Attachment #1: Type: text/plain, Size: 1617 bytes --]

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@samsung.com> wrote:
> >
> > From: Hojin Nam <hj96.nam@samsung.com>
> >
> > 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@samsung.com>
> > ---
> >  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
> >
> 

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-02-19  3:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CGME20240216072906epcas2p407a2f85aca1b9b8677fb8aa458c53aa6@epcas2p4.samsung.com>
2024-02-16  7:29 ` [PATCH] ACPI: Fix CXL 3.0 structure (RDPAS) in the CEDT table hj96.nam
2024-02-16 18:39   ` Rafael J. Wysocki
2024-02-19  3:46     ` Hojin Nam

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®