2024-02-16 07:32:09

by Hojin Nam

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

From: Hojin Nam <[email protected]>

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 <[email protected]>
---
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


2024-02-16 18:47:40

by Rafael J. Wysocki

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

On Fri, Feb 16, 2024 at 8:29 AM <[email protected]> wrote:
>
> From: Hojin Nam <[email protected]>
>
> 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 <[email protected]>
> ---
> 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
>