summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlison Schofield <alison.schofield@intel.com>2021-06-05 00:26:04 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2021-06-07 15:04:43 +0300
commit160c768e1cad405479e40d327e04c312da1b2384 (patch)
treea6a46547505aceead7f3328c8165dfee1d049e07 /include
parent9401eafaff836c1b828cd5300fb4bd35a548609b (diff)
downloadlinux-160c768e1cad405479e40d327e04c312da1b2384.tar.xz
ACPICA: Add defines for the CXL Host Bridge Structure (CHBS)
ACPICA commit 5ace82441a34f8d45725f12f6bd2677e79c186a6 CXL 2.0 defines length and version field values for the CHBS. Include them in the ACPI CEDT table definition. Link: https://github.com/acpica/acpica/commit/5ace8244 Signed-off-by: Alison Schofield <alison.schofield@intel.com> Signed-off-by: Bob Moore <robert.moore@intel.com> Signed-off-by: Erik Kaneda <erik.kaneda@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include')
-rw-r--r--include/acpi/actbl1.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/acpi/actbl1.h b/include/acpi/actbl1.h
index ce59903c2695..8532f56a51d6 100644
--- a/include/acpi/actbl1.h
+++ b/include/acpi/actbl1.h
@@ -330,6 +330,16 @@ enum acpi_cedt_type {
ACPI_CEDT_TYPE_RESERVED = 1
};
+/* Values for version field above */
+
+#define ACPI_CEDT_CHBS_VERSION_CXL11 (0)
+#define ACPI_CEDT_CHBS_VERSION_CXL20 (1)
+
+/* Values for length field above */
+
+#define ACPI_CEDT_CHBS_LENGTH_CXL11 (0x2000)
+#define ACPI_CEDT_CHBS_LENGTH_CXL20 (0x10000)
+
/*
* CEDT subtables
*/