From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from EUR05-DB8-obe.outbound.protection.outlook.com (EUR05-DB8-obe.outbound.protection.outlook.com [40.107.20.63]) by mx.groups.io with SMTP id smtpd.web11.21368.1627633624109468885 for ; Fri, 30 Jul 2021 01:27:04 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=yRiapn22; spf=pass (domain: arm.com, ip: 40.107.20.63, mailfrom: christopher.jones@arm.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=K7JAGb3PgCWYeU7aQd1dU3PtDK+DNwwH03CdFL1v79Y=; b=yRiapn22DYUEyvq4qi96uKbwueH0QpUuuBjch9UrNBMdHcvyRf68gCcGyaU2t9c3cMVBZU9Dxc684TJMG5iXE/XtclGnJutxn0D1wKFseBZqLsf5znQ9yeYqfm/1ZFwqIIt7rlwWGaqhnGcNwVfLUvE/vRA3Lp68pNuty5VZNCY= Received: from DBBPR09CA0003.eurprd09.prod.outlook.com (2603:10a6:10:c0::15) by DBBPR08MB4677.eurprd08.prod.outlook.com (2603:10a6:10:f1::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4373.24; Fri, 30 Jul 2021 08:27:01 +0000 Received: from DB5EUR03FT053.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:c0:cafe::7e) by DBBPR09CA0003.outlook.office365.com (2603:10a6:10:c0::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4373.17 via Frontend Transport; Fri, 30 Jul 2021 08:27:01 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; edk2.groups.io; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;edk2.groups.io; dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by DB5EUR03FT053.mail.protection.outlook.com (10.152.21.119) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4373.18 via Frontend Transport; Fri, 30 Jul 2021 08:27:01 +0000 Received: ("Tessian outbound 5f693336bfca:v100"); Fri, 30 Jul 2021 08:27:01 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 468f50976dd081cb X-CR-MTA-TID: 64aa7808 Received: from fe6a6668024d.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id A4356F68-9120-4650-A6F3-1E2355FE1C3F.1; Fri, 30 Jul 2021 08:26:55 +0000 Received: from EUR04-VI1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id fe6a6668024d.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Fri, 30 Jul 2021 08:26:55 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=i5zbljUv4BeNbnFYv1vNlAhLBPfBBtUWSqYWZo2zlnEbdd/Zqw9yy43oojzd3x1UIuoFzdMzu+1P5WHHQiMrljVeYU/N2KmqpTtKbOj6MaXbNPI21r1CHNrKR/F1uTuEMB26Z3pbx1AGGhcG99hQ/EJhc0qf/cqUCc1AN+b2jGrkJ6SJRP/BJ1999sWXh0JMIknzNR1+Cw1gQI9yydJUPYSxhfE2lAMxZK65C8RUH/s8B+NCxDxtIARL/fiE32N6O9b5YTMTqMrlTFyHNNNFO5sb7qqezlxc2/7CqvMjmXVTvIqqYaf38VExnFR1ZLiWG1F+bHhtqkRT6Q7MHNBkxg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=K7JAGb3PgCWYeU7aQd1dU3PtDK+DNwwH03CdFL1v79Y=; b=It8mxu/LveJDg1IHKtgtQ6cQGXETzbpfKqBe22MQdg2Gx+DxXRcJxdCubsPuqs5xg28czowNSRdfjOewNaRt6qI83B3U4PmV3dsVrpnzWNfODq9an2Y4tQ3jzqvZ7fbWypdqLrX4xci2yJuoGu3yinEXKqHvVGikNrfrBVZY0eA8DJ70MDHBUty/k7lngi+6etc3j7Y9cBk1o9iq0wwR3/V4mktmwakC6aT56enDGIQSBZHZhikGsE56GjA0qeaFwjs+h7KaZO968SvzZzwOW2U5SBTJOdlBxBsa0rIR4GZqpYZSwIBQJb1morRJcUZUpbmyCSWyY9k7SAWD5nSK8w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 40.67.248.234) smtp.rcpttodomain=edk2.groups.io smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=K7JAGb3PgCWYeU7aQd1dU3PtDK+DNwwH03CdFL1v79Y=; b=yRiapn22DYUEyvq4qi96uKbwueH0QpUuuBjch9UrNBMdHcvyRf68gCcGyaU2t9c3cMVBZU9Dxc684TJMG5iXE/XtclGnJutxn0D1wKFseBZqLsf5znQ9yeYqfm/1ZFwqIIt7rlwWGaqhnGcNwVfLUvE/vRA3Lp68pNuty5VZNCY= Received: from DB8PR06CA0047.eurprd06.prod.outlook.com (2603:10a6:10:120::21) by AS8PR08MB6262.eurprd08.prod.outlook.com (2603:10a6:20b:23e::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4373.21; Fri, 30 Jul 2021 08:26:53 +0000 Received: from DB5EUR03FT041.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:120:cafe::54) by DB8PR06CA0047.outlook.office365.com (2603:10a6:10:120::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4373.18 via Frontend Transport; Fri, 30 Jul 2021 08:26:53 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 40.67.248.234) smtp.mailfrom=arm.com; edk2.groups.io; dkim=none (message not signed) header.d=none;edk2.groups.io; dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 40.67.248.234 as permitted sender) receiver=protection.outlook.com; client-ip=40.67.248.234; helo=nebula.arm.com; Received: from nebula.arm.com (40.67.248.234) by DB5EUR03FT041.mail.protection.outlook.com (10.152.21.4) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.4373.18 via Frontend Transport; Fri, 30 Jul 2021 08:26:53 +0000 Received: from AZ-NEU-EX04.Arm.com (10.251.24.32) by AZ-NEU-EX03.Arm.com (10.251.24.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.14; Fri, 30 Jul 2021 08:26:51 +0000 Received: from e125153.arm.com (10.57.39.90) by mail.arm.com (10.251.24.32) with Microsoft SMTP Server id 15.1.2176.14 via Frontend Transport; Fri, 30 Jul 2021 08:26:51 +0000 From: "Chris Jones" To: CC: , , , , , , , Subject: [PATCH v1 05/13] MdePkg: Add SPA Location Cookie field to SPA Range structure Date: Fri, 30 Jul 2021 09:26:41 +0100 Message-ID: <20210730082649.15343-6-christopher.jones@arm.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210730082649.15343-1-christopher.jones@arm.com> References: <20210730082649.15343-1-christopher.jones@arm.com> MIME-Version: 1.0 X-EOPAttributedMessage: 1 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: b6d2d2d9-7d8d-4984-e4cd-08d95333cdc6 X-MS-TrafficTypeDiagnostic: AS8PR08MB6262:|DBBPR08MB4677: X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true NoDisclaimer: true X-MS-Oob-TLC-OOBClassifiers: OLM:309;OLM:309; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: 7eA27zvnZBVAH+HrY2H8C1DlWDUhH+nGO3rlHAQMUUlJdcQTYs3Pf+cQ8Bsd2YiPORz1zmHMyTTX1Zd2OpKjOLwaTtNyug3gbHSEtG7PtBq/UleHmnVJZugtauWSsTPWXnUu3s94k4CPlAZv3+8PBf+OzLiXGRSWpYYBNL6KH34Z3LV3Mu9vkJhGllPv5tJiDwarPq/1nC22L4Exatoa8Y3jr2QlwTT36SzteygbPIqV51xtsbQPkGXYOA+Hx7SPZb+Eu6+uI8s3qcwexQJrnRJsg4O9C+MZw1qlTm3UsZHxzUzucFGn8UR1KjnrDafKx+npzkHOD/B0rM0NcVfWw/F4lJ2XXWlT5rwYKNOSl97gG33nt5FjD4c7tvpKWhus3U9Vf3zuRVAgnDah2l0ouXr7Z0/UrhxzWAgayxN7Dp5n3x49P4LNAYQ08b8H9GPZgWNFSwKwiXtcpJIAsulw8xDGervzdqMlLtF0ugsSOQ80I+r5I9fHCvktgpwn3FrLoWCinBRVirbc0/0c11OC95evRCz/VOSc+brpYsDhzEBmBPRVoWokBNa+yJujf5Pf68PNyBqYsgsJffjVRlXti6sWhnpMDod5ofXETjX0rkCF/DxPo++MCKxi1k/0AcihN4OQYCDAdyIKmf25/3FdNUiqYmL5UzZLa91qD4rOw1+5vtCXF2UkBXo+zyMEjcBNLP0eOmelAzmfpaORBNDgPt/OKQJbOsoCzyR2aujo+i9ormo/1Rc7Xo5X75qqwSgxO0fwlgOMMnjwT/QbJeVm9T+LgKRGPVGfhCMPYMqzyv3BrFMvn9D/q0XQtYMOgz0F X-Forefront-Antispam-Report-Untrusted: CIP:40.67.248.234;CTRY:IE;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:nebula.arm.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(4636009)(396003)(39860400002)(136003)(346002)(376002)(36840700001)(46966006)(2906002)(8676002)(19627235002)(8936002)(4326008)(7696005)(5660300002)(478600001)(426003)(2616005)(336012)(6916009)(47076005)(1076003)(186003)(26005)(6666004)(356005)(70586007)(86362001)(36860700001)(83380400001)(70206006)(54906003)(316002)(82310400003)(16799955002)(81166007)(82740400003)(36756003)(36900700001);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR08MB6262 Return-Path: Christopher.Jones@arm.com X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT053.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: a982cb6a-5fd5-48ec-37f6-08d95333c94e X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: iaMn7Oy5Dq6+Tcd7lklwmTfz1l7S0dJy2a3U2m5HvNNbpFmw6xi1e7XVkNttmnknTpeYG1eszBVNEYrT3gQUbxQEuYove0dbg/6FcJ0V2GJ4BFGSZs4ZoPfrD4GCvYBZnykcgIrO2//Lqexvtun3lPmHpl9phw+zyI4kx6TcIY+t79fvsYkdJRiqKE6FOjd7yOIo1jaTzbZOmAS3QPO3w946PYFi8FnYeBM4xmJx9ohLlfVS/J4JaoDcuDW5eF2XcPojeM+BUojsy6UHtQtso92q1BDS2q8h3eQkfhCLj2Iwe823T07FRZXCPzVZ+Yollkov2qB7C1dbkhoyO4rsEu00H+nODQwssBWblx9F0niTpDCXkJmNuGhPdrAbKb2iU6rreU7XJ4soR4GBeK/kRgWwe/wFf7Ur5/QJOC8LfDjpOK3jab0lPSUlQHMrHB7Kb2kgkcEyT94fH3S1s9enYE5Ci6mKFuPg4RD2OFaeZtCxEHv6SaxI54LqQmf0MUETv/p5bihKU9GJ90QLtE8n+kmWN4p4tQGjirGX6+/2VtNymBvmNRLrCbcqQd3D2SiTnc6HkJi/RsYzJ1BPntowHcU6Gdl2+R7KtyXI/Mo8oVcpWMQOBv5a9nRUX6269bF7QsVK5+ZCamevE7+vlBiQgTvd+0XjDIe5MWma/PayWahAHdXbOvGW3XB1+fFbfqqtXutOLb0L10g0qyn44KEZ/ySlI/QHntktUP4q+9Cot4+lRyEXoZLfIT5cZVAhnonnw7NyLdXuU7xnWmbqj5sLQD4Bcq1GCnyeO0RAec2KeEY= X-Forefront-Antispam-Report: CIP:63.35.35.123;CTRY:IE;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:64aa7808-outbound-1.mta.getcheckrecipient.com;PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com;CAT:NONE;SFS:(4636009)(39850400004)(346002)(136003)(396003)(376002)(46966006)(36840700001)(36756003)(83380400001)(6916009)(19627235002)(82310400003)(16799955002)(316002)(5660300002)(4326008)(47076005)(6666004)(81166007)(86362001)(82740400003)(54906003)(8936002)(336012)(36860700001)(8676002)(26005)(426003)(70206006)(478600001)(7696005)(186003)(2906002)(2616005)(1076003)(70586007);DIR:OUT;SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Jul 2021 08:27:01.0372 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: b6d2d2d9-7d8d-4984-e4cd-08d95333cdc6 X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d;Ip=[63.35.35.123];Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: DB5EUR03FT053.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR08MB4677 Content-Type: text/plain Make changes to ACPI 6.4 header according to the latest specification: - ACPI 6.4 January 2021, Section 5.2.25.2 System Physical Address (SPA) Range Structure, Table 5.109 - Mantis ID 1988 (https://mantis.uefi.org/mantis/view.php?id=1988) Also added a blank line between #defines and structure definitions to improve readability. Signed-off-by: Chris Jones --- MdePkg/Include/IndustryStandard/Acpi64.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/MdePkg/Include/IndustryStandard/Acpi64.h b/MdePkg/Include/IndustryStandard/Acpi64.h index e66e1b5a7ab25daf690ef4b21d665fb88d15e8ab..1e9634cb6d377bd57be6c03b0f1cccbe4a5106f3 100644 --- a/MdePkg/Include/IndustryStandard/Acpi64.h +++ b/MdePkg/Include/IndustryStandard/Acpi64.h @@ -1476,6 +1476,8 @@ typedef struct { // #define EFI_ACPI_6_4_NFIT_SYSTEM_PHYSICAL_ADDRESS_RANGE_FLAGS_CONTROL_REGION_FOR_MANAGEMENT BIT0 #define EFI_ACPI_6_4_NFIT_SYSTEM_PHYSICAL_ADDRESS_RANGE_FLAGS_PROXIMITY_DOMAIN_VALID BIT1 +#define EFI_ACPI_6_4_NFIT_SYSTEM_PHYSICAL_ADDRESS_RANGE_FLAGS_SPA_LOCATION_COOKIE_VALID BIT2 + #define EFI_ACPI_6_4_NFIT_GUID_VOLATILE_MEMORY_REGION { 0x7305944F, 0xFDDA, 0x44E3, { 0xB1, 0x6C, 0x3F, 0x22, 0xD2, 0x52, 0xE5, 0xD0 }} #define EFI_ACPI_6_4_NFIT_GUID_BYTE_ADDRESSABLE_PERSISTENT_MEMORY_REGION { 0x66F0D379, 0xB4F3, 0x4074, { 0xAC, 0x43, 0x0D, 0x33, 0x18, 0xB7, 0x8C, 0xDB }} #define EFI_ACPI_6_4_NFIT_GUID_NVDIMM_CONTROL_REGION { 0x92F701F6, 0x13B4, 0x405D, { 0x91, 0x0B, 0x29, 0x93, 0x67, 0xE8, 0x23, 0x4C }} @@ -1484,6 +1486,7 @@ typedef struct { #define EFI_ACPI_6_4_NFIT_GUID_RAM_DISK_SUPPORTING_VIRTUAL_CD_REGION_VOLATILE { 0x3D5ABD30, 0x4175, 0x87CE, { 0x6D, 0x64, 0xD2, 0xAD, 0xE5, 0x23, 0xC4, 0xBB }} #define EFI_ACPI_6_4_NFIT_GUID_RAM_DISK_SUPPORTING_VIRTUAL_DISK_REGION_PERSISTENT { 0x5CEA02C9, 0x4D07, 0x69D3, { 0x26, 0x9F ,0x44, 0x96, 0xFB, 0xE0, 0x96, 0xF9 }} #define EFI_ACPI_6_4_NFIT_GUID_RAM_DISK_SUPPORTING_VIRTUAL_CD_REGION_PERSISTENT { 0x08018188, 0x42CD, 0xBB48, { 0x10, 0x0F, 0x53, 0x87, 0xD5, 0x3D, 0xED, 0x3D }} + typedef struct { UINT16 Type; UINT16 Length; @@ -1495,6 +1498,7 @@ typedef struct { UINT64 SystemPhysicalAddressRangeBase; UINT64 SystemPhysicalAddressRangeLength; UINT64 AddressRangeMemoryMappingAttribute; + UINT64 SPALocationCookie; } EFI_ACPI_6_4_NFIT_SYSTEM_PHYSICAL_ADDRESS_RANGE_STRUCTURE; // @@ -1516,6 +1520,7 @@ typedef struct { #define EFI_ACPI_6_4_NFIT_MEMORY_DEVICE_STATE_FLAGS_SMART_HEALTH_EVENTS_PRIOR_OSPM_HAND_OFF BIT4 #define EFI_ACPI_6_4_NFIT_MEMORY_DEVICE_STATE_FLAGS_FIRMWARE_ENABLED_TO_NOTIFY_OSPM_ON_SMART_HEALTH_EVENTS BIT5 #define EFI_ACPI_6_4_NFIT_MEMORY_DEVICE_STATE_FLAGS_FIRMWARE_NOT_MAP_NVDIMM_TO_SPA BIT6 + typedef struct { UINT16 Type; UINT16 Length; @@ -1562,6 +1567,7 @@ typedef struct { #define EFI_ACPI_6_4_NFIT_NVDIMM_CONTROL_REGION_VALID_FIELDS_MANUFACTURING BIT0 #define EFI_ACPI_6_4_NFIT_NVDIMM_CONTROL_REGION_FLAGS_BLOCK_DATA_WINDOWS_BUFFERED BIT0 + typedef struct { UINT16 Type; UINT16 Length; -- Guid("CE165669-3EF3-493F-B85D-6190EE5B9759")