[edk2-devel] [PATCH RESEND v1 12/13] MdePkg: Add Cache ID to PPTT

Chris Jones christopher.jones at arm.com
Fri Jul 30 10:22:40 UTC 2021


Bugzilla: 3516 (https://bugzilla.tianocore.org/show_bug.cgi?id=3516)

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 at 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")



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#78421): https://edk2.groups.io/g/devel/message/78421
Mute This Topic: https://groups.io/mt/84547385/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-





More information about the edk2-devel-archive mailing list