Blame SOURCES/CEDT-support_05.patch

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