From: Robert Kiraly <me@boldcoder.com>
To: linux-pm@vger.kernel.org
Cc: linux-kernel@vger.kernel.org, Len Brown <lenb@kernel.org>,
"Rafael J. Wysocki" <rafael@kernel.org>
Subject: One-line patch: Make ACPI provide CEDT table
Date: Tue, 11 Jan 2022 21:20:09 -0800 [thread overview]
Message-ID: <1f2236ac-0517-8de6-a7a0-a9d04f65bdc8@boldcoder.com> (raw)
In-Reply-To: <9d2182c6-9c63-f3dd-91a6-efdf3671ed61@boldcoder.com>
[-- Attachment #1: Type: text/plain, Size: 524 bytes --]
The attached patch is a one-line change to linux-pm 5.16-rc8.
The patch simply 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.
If this should go to linux-acpi as opposed to linux-pm, please excuse
the error.
Regards, Robert (the Old Coder)
[-- Attachment #2: 220111-cedt-patch.txt --]
[-- Type: text/plain, Size: 1083 bytes --]
Subject: Make ACPI subsystem provide CEDT table
Author: Robert Kiraly <me@boldcoder.com>
This is a one-line patch to the "linux-pm" ACPI subsystem 5.16-
rc8.
The patch simply 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.
diff --git a/drivers/acpi/tables.c b/drivers/acpi/tables.c
index 71419eb16e09..3cccd7a12f22 100644
--- a/drivers/acpi/tables.c
+++ b/drivers/acpi/tables.c
@@ -500,7 +500,7 @@ static const char table_sigs[][ACPI_NAMESEG_SIZE] __initconst = {
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,
- ACPI_SIG_NHLT };
+ ACPI_SIG_NHLT, ACPI_SIG_CEDT };
#define ACPI_HEADER_SIZE sizeof(struct acpi_table_header)
=== end of patch ====
next parent reply other threads:[~2022-01-12 5:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <9d2182c6-9c63-f3dd-91a6-efdf3671ed61@boldcoder.com>
2022-01-12 5:20 ` Robert Kiraly [this message]
2022-01-12 14:46 ` Rafael J. Wysocki
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1f2236ac-0517-8de6-a7a0-a9d04f65bdc8@boldcoder.com \
--to=me@boldcoder.com \
--cc=lenb@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=rafael@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome