diff options
author | Robert Moore <Robert.Moore@intel.com> | 2022-10-20 12:41:37 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-20 12:41:37 -0700 |
commit | 009b287303fb016e960b5da22b045e250311d372 (patch) | |
tree | 7d8a76888eb1989dafeeda03440c8024b77924ef | |
parent | 25564cd7108df5f5303fdfc6d4d2528ec4c84b53 (diff) | |
parent | 2d8dc0383d3c908389053afbdc329bbd52f009ce (diff) | |
download | acpica-009b287303fb016e960b5da22b045e250311d372.tar.gz |
Merge pull request #795 from AlisonSchofield/cxl3.0-cedt
Add CXL 3.0 structures (CXIMS & RDPAS) to the CEDT table
-rw-r--r-- | source/include/actbl1.h | 34 |
1 files changed, 33 insertions, 1 deletions
diff --git a/source/include/actbl1.h b/source/include/actbl1.h index 1040226a8..340b636b5 100644 --- a/source/include/actbl1.h +++ b/source/include/actbl1.h @@ -668,7 +668,9 @@ enum AcpiCedtType { ACPI_CEDT_TYPE_CHBS = 0, ACPI_CEDT_TYPE_CFMWS = 1, - ACPI_CEDT_TYPE_RESERVED = 2, + ACPI_CEDT_TYPE_CXIMS = 2, + ACPI_CEDT_TYPE_RDPAS = 3, + ACPI_CEDT_TYPE_RESERVED = 4, }; /* Values for version field above */ @@ -726,6 +728,7 @@ typedef struct acpi_cedt_cfmws_target_element /* Values for Interleave Arithmetic field above */ #define ACPI_CEDT_CFMWS_ARITHMETIC_MODULO (0) +#define ACPI_CEDT_CFMWS_ARITHMETIC_XOR (1) /* Values for Restrictions field above */ @@ -735,6 +738,35 @@ typedef struct acpi_cedt_cfmws_target_element #define ACPI_CEDT_CFMWS_RESTRICT_PMEM (1<<3) #define ACPI_CEDT_CFMWS_RESTRICT_FIXED (1<<4) +/* 2: CXL XOR Interleave Math Structure */ + +struct acpi_cedt_cxims { + ACPI_CEDT_HEADER Header; + UINT16 Reserved1; + UINT8 Hbig; + UINT8 NrXormaps; + UINT64 XormapList[]; +}; + +/* 3: CXL RCEC Downstream Port Association Structure */ + +struct acpi_cedt_rdpas { + ACPI_CEDT_HEADER Header; + UINT8 Reserved1; + UINT16 Length; + UINT16 Segment; + UINT16 Bdf; + UINT8 Protocol; + UINT64 Address; +}; + +/* Masks for bdf field above */ +#define ACPI_CEDT_RDPAS_BUS_MASK 0xff00 +#define ACPI_CEDT_RDPAS_DEVICE_MASK 0x00f8 +#define ACPI_CEDT_RDPAS_FUNCTION_MASK 0x0007 + +#define ACPI_CEDT_RDPAS_PROTOCOL_IO (0) +#define ACPI_CEDT_RDPAS_PROTOCOL_CACHEMEM (1) /******************************************************************************* * |