From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from EUR01-DB5-obe.outbound.protection.outlook.com (EUR01-DB5-obe.outbound.protection.outlook.com [40.107.15.42]) by mx.groups.io with SMTP id smtpd.web09.11234.1628180754310162210 for ; Thu, 05 Aug 2021 09:25:54 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=MVXrC1mB; spf=pass (domain: arm.com, ip: 40.107.15.42, 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=z3pKe+1b11ifAAYgrqsyvl6cpzR0eFI9k9sRrfg/F1k=; b=MVXrC1mBR05Uh8855cj+sG4mZoQ/mAzw9VnFFSgZY5Cz1mSYl8dHDvyH4V1f5j+IeHljDZNTbl6oTxPi7R8mM8H3lub+Q3Db2eLuZ/FnA3p/NLYfy0xzQUPhMEcskaPq2/KUbyDXBU1RZaPxTc6f166BG4+EDvPL8zQhn/mOgAo= Received: from AM6P191CA0049.EURP191.PROD.OUTLOOK.COM (2603:10a6:209:7f::26) by AM0PR08MB4099.eurprd08.prod.outlook.com (2603:10a6:208:12a::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4394.15; Thu, 5 Aug 2021 16:25:51 +0000 Received: from AM5EUR03FT060.eop-EUR03.prod.protection.outlook.com (2603:10a6:209:7f:cafe::89) by AM6P191CA0049.outlook.office365.com (2603:10a6:209:7f::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4394.15 via Frontend Transport; Thu, 5 Aug 2021 16:25:51 +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 AM5EUR03FT060.mail.protection.outlook.com (10.152.16.160) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4394.16 via Frontend Transport; Thu, 5 Aug 2021 16:25:51 +0000 Received: ("Tessian outbound 79bfeeb089c1:v101"); Thu, 05 Aug 2021 16:25:51 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 0abcfdb6cd4290ac X-CR-MTA-TID: 64aa7808 Received: from d72160b333e9.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 43610617-44CC-440A-B1E5-3315B7B3A004.1; Thu, 05 Aug 2021 16:25:45 +0000 Received: from EUR04-HE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id d72160b333e9.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Thu, 05 Aug 2021 16:25:45 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dHpf69xz5VO0vxOQ/mLKfBGSHa0uiuKYdBWuZkeZNggiW3zMytmp6AJoUbk7+uKCt0u2w5hvXLyqMG79Llt1a1uuBgoBbkwFxONiBpksLsewWuPXEgFAouH94niHnjvIDlAnBb0NQeewkzlNwMfIGMq+uKsdJJzoCLdHtZtQBZt0Gqczm8CRVpk0SB/x8ffmWvTAaqw9shJghXIIrPede3l253Cqpyz3uhJUi+UmQzxCXQF6731zTEjuuH9gHblDCjFg8VDUZZFTMfGjlW4xoBkjpLAXt8+0F7bovTSjQMW39AuRaPmGyrIg40SqHrrUbbeMTpn43R/zyUDCcdYqZQ== 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=z3pKe+1b11ifAAYgrqsyvl6cpzR0eFI9k9sRrfg/F1k=; b=B2NvldW0FhVboREhYF0q8h48QrZ7p3oNTygVmOPB9824mv2SXnj6WeuUAbbA97KO+kSQUjXhS/fpwyOcf5FuNPYhMY7UMjJaAsXW2cdJrB6rqxCWSvm+0VY8uDgeOakixGTTEzqI41TSEAiOCMcxJfXAHpeqfvCi0hJ9+y5A6r0lThdauw+dhyHFJHWWOG/uOKxn9luHTEB0Ya/tYpbmj0+ofGHfyS9IrnY8fWhIar2pdVd3SrDTlXX29r9T+0K+nnGhuiqIAhiOOjoioY5+g1lMccsR88DZzh2kTLr7Paw2atC8kOePqEwTNxyeMuMUSb0K1+spswnVvsXMGtcu5Q== 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=z3pKe+1b11ifAAYgrqsyvl6cpzR0eFI9k9sRrfg/F1k=; b=MVXrC1mBR05Uh8855cj+sG4mZoQ/mAzw9VnFFSgZY5Cz1mSYl8dHDvyH4V1f5j+IeHljDZNTbl6oTxPi7R8mM8H3lub+Q3Db2eLuZ/FnA3p/NLYfy0xzQUPhMEcskaPq2/KUbyDXBU1RZaPxTc6f166BG4+EDvPL8zQhn/mOgAo= Received: from AM5PR1001CA0050.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:206:15::27) by AM7PR08MB5397.eurprd08.prod.outlook.com (2603:10a6:20b:dd::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4394.15; Thu, 5 Aug 2021 16:25:43 +0000 Received: from AM5EUR03FT039.eop-EUR03.prod.protection.outlook.com (2603:10a6:206:15:cafe::6f) by AM5PR1001CA0050.outlook.office365.com (2603:10a6:206:15::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4394.15 via Frontend Transport; Thu, 5 Aug 2021 16:25:43 +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 AM5EUR03FT039.mail.protection.outlook.com (10.152.17.185) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.4394.16 via Frontend Transport; Thu, 5 Aug 2021 16:25:43 +0000 Received: from AZ-NEU-EX01.Emea.Arm.com (10.251.26.4) by AZ-NEU-EX04.Arm.com (10.251.24.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.2308.14; Thu, 5 Aug 2021 16:25:28 +0000 Received: from AZ-NEU-EX04.Arm.com (10.251.24.32) by AZ-NEU-EX01.Emea.Arm.com (10.251.26.4) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14; Thu, 5 Aug 2021 16:25:28 +0000 Received: from e125153.arm.com (10.57.67.54) by mail.arm.com (10.251.24.32) with Microsoft SMTP Server id 15.1.2308.14 via Frontend Transport; Thu, 5 Aug 2021 16:25:27 +0000 From: "Chris Jones" To: CC: Sami Mujawar , Akanksha Jain , Ben Adderson , Michael Kinney , , , Leif Lindholm , "Matteo Carlini" , Subject: [PATCH v2 05/13] MdePkg: Add SPA Location Cookie field to SPA Range structure Date: Thu, 5 Aug 2021 17:25:14 +0100 Message-ID: <20210805162522.13201-6-christopher.jones@arm.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210805162522.13201-1-christopher.jones@arm.com> References: <20210805162522.13201-1-christopher.jones@arm.com> MIME-Version: 1.0 X-EOPAttributedMessage: 1 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 5e048613-a9d7-4bb1-81b2-08d9582db0b5 X-MS-TrafficTypeDiagnostic: AM7PR08MB5397:|AM0PR08MB4099: 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: B8ic7khPlzrqJFy8fYO1SpeDrJMZRTfCO6soxPWsitqUqJ7zyyEhH9ZjwMFHAgT8ogKxe1YpUHNH15D/elUxVIhZ4voH9Bs7ZgDV9T8pvJzLxpzntnHCa/40vIiDg0ANrMi7ilTdCHDlACie6Umsl8SN1DoEU2tVu8a2+wsoHNTQBTtwfYfwGo7MtDx/Lxxmh7uDJFKShCgEX5NgAUbqzEY6qbRklyCEJG/GtA8AfH3QJeTA1mQHz4K40IcZJjpFmFvMl9hr16GUrB+agz8+7nuj8AXph7Ic21afWBRCV7ooOBpVrLm91TeY0mtd7pg4mYfOQIwFCTdK0Ue5hr58+hBiUjBm/5dATA6vqdlk8bdJ136mSX9243B65EIzx0syEllQ8xJI/MvkrRMjcH6kuJvRprq7UEvtGd6j5bgCrKN9CoEjx6tKDxg05SQQqvEX9Ld4w6rJ3IH9QO6p+rTbnJZ2g7QjtCV64pIAzpgF5P/Ras5bgWNBeemnCnAS741I3TPZ1C8zcZi0DMGn7hnbzcVSoQtBdzESCFFCSXM7eZ5WOuMdJAJ8KZkt51u/yu4b2BImiOc0bAHKNqbF5GFLAZdkPrzDnayIRcEYSeOMqwUTUjOLfaiPn/r9Eov8RVYofutsSz8DkpqNSD4jadzL2MaxitofbbND1SsgADNiqByOwDHh1mkpMNegPJ3fphcKhCBJoMk7vfKyIW1Sk6ZVx+f3gff9a7KggzsHYwZG5rQtCIk5WN5hUCmHFWn0p1T8Mv2NBeqP7Ob2UK/jHsrqaF/z2BChOFqsXBhWygvxPaEVJvGumUqOpYPN7Va+VMhAguQfT9jVbRWKBeWtwFInHDJYUZw/jjL6bnBiZ6kRoPY= 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)(39860400002)(136003)(376002)(346002)(396003)(46966006)(36840700001)(1076003)(426003)(7696005)(316002)(2906002)(70206006)(47076005)(82310400003)(186003)(19627235002)(26005)(6916009)(70586007)(356005)(82740400003)(4326008)(6666004)(36756003)(336012)(86362001)(8936002)(8676002)(16799955002)(36860700001)(5660300002)(54906003)(81166007)(2616005)(83380400001)(478600001)(36900700001);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM7PR08MB5397 Return-Path: Christopher.Jones@arm.com X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT060.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: c34e15ce-78a0-4782-8df7-08d9582dabea X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: yr0GxhNezKv9wwA3FCylmJEos0FN7nfC1zBUeqZJyU/vb0U+/6mYdnw/0lrOdCO9pvIFej6D0UonJ/UxaShQ9corgTgTvOPDzb50v5dV61zA4NkF75JpYI2x4CHCMVEKvlOtQIscHZ9n7EXdB0wQjpd1Sft51xMjpF2LN3acrfr56atnKzNZ9OIFosczTTjtS/2G6CwgSg4GDsfOs4ytXmtHdvKo8v8i+VElT5rO+Zu43GW9qcBUSLvPirjeV7o8EX6Hkofo1Hf/mrfj8tLNaWualMi66X3XPoAIqvQgcHJC74fOncjUCyHIFfsrKxEOcbel47WQZW1aDKTvcipjLcYsRSrYlBDoCSL8vYF0/WxSh/HOFLAAVNt/fV0mJzmCjp1oVTHkHFWZCG1zRirx3saPbq90diT5xKoWNmswGUBEdZn43hhSirAVXwgna4Hm+fKZnGXKDYJ4ISJziMCPCS8EDE25gvWaTeC2fuiuiEoVsLVMApHiWT8tCnhLvstnhny81urMlUlNGcADXGzV2QeEoi+EsfdgLnpoRVKmCXbX11FTQIgFWzUUp1oUNiots5lqNEWJFpwYJLc1ruBU/eGnzhgIh9/cBbVpFREP4TaIoFr2cJLHmNzXdPnSb5/x+JTKQeNkjBK06BTBMYerCLYfUAmZHqYzDe97pq6baN37MexExQzW/ZaoEVi7SgydmbkB5FN75go5m1sKxhqfkPnIzj3ojpQmoDh8cCK0p6jS5rtNuAqK0S6V9qGt7APo5M2/VcpILqmvs7ON0zyaA2yxEk8u7XKC7qbjeKFHs5M= 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)(136003)(396003)(346002)(39860400002)(376002)(36840700001)(46966006)(336012)(36756003)(36860700001)(186003)(316002)(83380400001)(81166007)(8936002)(47076005)(82740400003)(8676002)(86362001)(82310400003)(7696005)(1076003)(5660300002)(478600001)(70586007)(26005)(16799955002)(19627235002)(2906002)(6666004)(70206006)(6916009)(54906003)(2616005)(426003)(4326008);DIR:OUT;SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Aug 2021 16:25:51.0483 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 5e048613-a9d7-4bb1-81b2-08d9582db0b5 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: AM5EUR03FT060.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR08MB4099 Content-Type: text/plain 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, 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")