[PATCH v1 12/13] MdePkg: Add Cache ID to PPTT


Chris Jones
 

Make changes to ACPI 6.4 header according to the latest specification:
- ACPI 6.4 January 2021, Table 5.137, Table 5.140, Table 5.141
- Mantis ID 2138 (https://mantis.uefi.org/mantis/view.php?id=2138)

Signed-off-by: Chris Jones <christopher.jones@arm.com>
---
MdePkg/Include/IndustryStandard/Acpi64.h | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/MdePkg/Include/IndustryStandard/Acpi64.h b/MdePkg/Include/IndustryStandard/Acpi64.h
index 4faed17a9e99525f9e09f0eac884264ba31ca47d..c905db93fabb6faa553dd49a9fed886437dd4daf 100644
--- a/MdePkg/Include/IndustryStandard/Acpi64.h
+++ b/MdePkg/Include/IndustryStandard/Acpi64.h
@@ -2603,7 +2603,7 @@ typedef struct {
///
/// PPTT Revision (as defined in ACPI 6.4 spec.)
///
-#define EFI_ACPI_6_4_PROCESSOR_PROPERTIES_TOPOLOGY_TABLE_REVISION 0x02
+#define EFI_ACPI_6_4_PROCESSOR_PROPERTIES_TOPOLOGY_TABLE_REVISION 0x03

///
/// PPTT types
@@ -2689,7 +2689,8 @@ typedef struct {
UINT32 CacheTypeValid:1;
UINT32 WritePolicyValid:1;
UINT32 LineSizeValid:1;
- UINT32 Reserved:25;
+ UINT32 CacheIdValid:1;
+ UINT32 Reserved:24;
} EFI_ACPI_6_4_PPTT_STRUCTURE_CACHE_FLAGS;

///
@@ -2728,6 +2729,7 @@ typedef struct {
UINT8 Associativity;
EFI_ACPI_6_4_PPTT_STRUCTURE_CACHE_ATTRIBUTES Attributes;
UINT16 LineSize;
+ UINT32 CacheId;
} EFI_ACPI_6_4_PPTT_STRUCTURE_CACHE;

///
--
Guid("CE165669-3EF3-493F-B85D-6190EE5B9759")