Skip to content

Commit

Permalink
ACPICA: Add defines for the CXL Host Bridge Structure (CHBS)
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Alison Schofield authored and Rafael J. Wysocki committed Jun 7, 2021
1 parent 9401eaf commit 160c768
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions include/acpi/actbl1.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down

0 comments on commit 160c768

Please sign in to comment.