88c41d
commit 5ace82441a34f8d45725f12f6bd2677e79c186a6
88c41d
Author: Alison Schofield <alison.schofield@intel.com>
88c41d
Date:   Thu May 20 13:33:02 2021 -0700
88c41d
88c41d
    Add defines for the CXL Host Bridge Structure (CHBS)
88c41d
    
88c41d
    CXL 2.0 defines length and version field values for the CHBS.
88c41d
    Include them in the ACPI CEDT table definition.
88c41d
    
88c41d
    Signed-off-by: Alison Schofield <alison.schofield@intel.com>
88c41d
88c41d
diff --git a/source/include/actbl1.h b/source/include/actbl1.h
88c41d
index a551303..51fee30 100644
88c41d
--- a/source/include/actbl1.h
88c41d
+++ b/source/include/actbl1.h
88c41d
@@ -418,6 +418,15 @@ enum AcpiCedtType
88c41d
     ACPI_CEDT_TYPE_RESERVED             = 1
88c41d
 };
88c41d
 
88c41d
+/* Values for version field above */
88c41d
+
88c41d
+#define ACPI_CEDT_CHBS_VERSION_CXL11    (0)
88c41d
+#define ACPI_CEDT_CHBS_VERSION_CXL20    (1)
88c41d
+
88c41d
+/* Values for length field above */
88c41d
+
88c41d
+#define ACPI_CEDT_CHBS_LENGTH_CXL11     (0x2000)
88c41d
+#define ACPI_CEDT_CHBS_LENGTH_CXL20     (0x10000)
88c41d
 
88c41d
 /*
88c41d
  * CEDT subtables