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