This is a simple ACPI patch. I'm submitting a revised version to
linux-acpi as opposed to linux-pm at Rafael Wysocki's suggestion.
The patch adds ACPI_SIG_CEDT to table_sigs[] in "drivers/acpi/tables.c".
The change will probably be made by upstream later regardless. But I've
reviewed cxl-next and it doesn't seem to be present there yet.
Presently, CXL code isn't able to make use of the CEDT table. Subsequent
to the change, the CEDT table can be used.
If a developer plans to use the CEDT table to program the CXL ports,
this change is needed. Otherwise, it isn't expected to make a difference.
Subject: Make ACPI subsystem provide CEDT table
Author: Robert Kiraly <me@xxxxxxxxxxxxx>
This is a simple patch to the ACPI subsystem.
The patch adds ACPI_SIG_CEDT to table_sigs[] in "drivers/acpi/
tables.c".
Presently, CXL code isn't able to make use of the CEDT table.
Subsequent to the change, the CEDT table can be used.
If a developer plans to use the CEDT table to program the CXL
ports, this change is needed. Otherwise, it isn't expected to
make a difference.
--- linux-5.16.old/drivers/acpi/tables.c
+++ linux-5.16/drivers/acpi/tables.c
@@ -500,6 +500,9 @@
ACPI_SIG_WDDT, ACPI_SIG_WDRT, ACPI_SIG_DSDT, ACPI_SIG_FADT,
ACPI_SIG_PSDT, ACPI_SIG_RSDT, ACPI_SIG_XSDT, ACPI_SIG_SSDT,
ACPI_SIG_IORT, ACPI_SIG_NFIT, ACPI_SIG_HMAT, ACPI_SIG_PPTT,
+#ifdef ACPI_SIG_CEDT
+ ACPI_SIG_CEDT,
+#endif
ACPI_SIG_NHLT };
#define ACPI_HEADER_SIZE sizeof(struct acpi_table_header)
==== end of patch ====