From a3311b9f0f891c6f7740967273d58be4c7f86ded Mon Sep 17 00:00:00 2001 From: Jonathan Zhang Date: Thu, 1 Dec 2022 17:13:41 -0800 Subject: acpi/acpi.c: update ACPI table revisions Update SRAT table revision to 3 according to ACPI spec. Add CEDT table revision according to CXL spec. Change-Id: Iecc3a9892b0f8093013b2a426749e2ec5c00803b Signed-off-by: Jonathan Zhang Reviewed-on: https://review.coreboot.org/c/coreboot/+/70245 Tested-by: build bot (Jenkins) Reviewed-by: Tim Wawrzynczak --- src/acpi/acpi.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/acpi') diff --git a/src/acpi/acpi.c b/src/acpi/acpi.c index c5672999b2..899d0f8813 100644 --- a/src/acpi/acpi.c +++ b/src/acpi/acpi.c @@ -2085,8 +2085,8 @@ int get_acpi_table_revision(enum acpi_tables table) return 4; case SSDT: /* ACPI 3.0 up to 6.3: 2 */ return 2; - case SRAT: /* ACPI 2.0: 1, ACPI 3.0: 2, ACPI 4.0 up to 6.3: 3 */ - return 1; /* TODO Should probably be upgraded to 2 */ + case SRAT: /* ACPI 2.0: 1, ACPI 3.0: 2, ACPI 4.0 up to 6.4: 3 */ + return 3; case HMAT: /* ACPI 6.4: 2 */ return 2; case DMAR: @@ -2119,6 +2119,8 @@ int get_acpi_table_revision(enum acpi_tables table) return 5; case BERT: return 1; + case CEDT: /* CXL 3.0 section 9.17.1 */ + return 1; case CRAT: return 1; case LPIT: /* ACPI 5.1 up to 6.3: 0 */ -- cgit v1.2.3