From nobody Tue Apr 30 05:37:21 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+78727+1787277+3901457@groups.io; arc=fail (BodyHash is different from the expected one); dmarc=fail(p=none dis=none) header.from=arm.com Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1628180760712358.85313644077814; Thu, 5 Aug 2021 09:26:00 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id Gru3YY1788612xmWVv5botaP; Thu, 05 Aug 2021 09:26:00 -0700 X-Received: from EUR01-DB5-obe.outbound.protection.outlook.com (EUR01-DB5-obe.outbound.protection.outlook.com [40.107.15.59]) by mx.groups.io with SMTP id smtpd.web10.11272.1628180759022400845 for ; Thu, 05 Aug 2021 09:25:59 -0700 X-Received: from PR0P264CA0251.FRAP264.PROD.OUTLOOK.COM (2603:10a6:100::23) by AS8PR08MB7080.eurprd08.prod.outlook.com (2603:10a6:20b:401::19) 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:48 +0000 X-Received: from VE1EUR03FT005.eop-EUR03.prod.protection.outlook.com (2603:10a6:100:0:cafe::8e) by PR0P264CA0251.outlook.office365.com (2603:10a6:100::23) 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:48 +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 (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+78727+1787277+3901457@groups.io; helo=mail02.groups.io; 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; X-Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by VE1EUR03FT005.mail.protection.outlook.com (10.152.18.172) 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:48 +0000 X-Received: ("Tessian outbound 077ab11054bf:v101"); Thu, 05 Aug 2021 16:25:47 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 7a9b10fbd870342d X-CR-MTA-TID: 64aa7808 X-Received: from 2efbeb88e966.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 296342BA-3C7E-4005-9414-122B9872C208.1; Thu, 05 Aug 2021 16:25:39 +0000 X-Received: from EUR05-VI1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 2efbeb88e966.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Thu, 05 Aug 2021 16:25:39 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=oaQ6wq+MdT87QyQEi62wc5FUM48uy8ll0UfpVxTWGGRiWDiIOgbJ0Fw/JpcuLQ36E4fqnkqZiJjGf+TiGchQBIy7QCWh9qIWegMAxFfeP2vt/535ndp7T/pnz+bemL+2qE3ANmjpLWlI7LWvy8UQ5gZ30FfUafd+Nm98YMNziLDgrS8m7pnsX1/B9coY7UT+o85++B30H2jZaCvGslD2w7YfDjVbBVPgS2TVToUZpiOHDy6wRU/TZX3KLb8mn1hD40lajE8wwY0lWlmymUTXp+aOMCW8jwIlHhlayK2cVsWtOlNwaAx6kdNsoq4j9x4E8HDEOduBNRhIua5vY2z0bg== 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=cEtgIpTr8VElXSp9/dMNHG3ozMzHfd6jU3FC5j18Slo=; b=V1fdSlk9YUnwPMMRU6M0Z7hyP0R8w6d4ISmAFZJZdBAj1E8aDZBOjl5ehuo385M+jJQ+509UgtnreO3b6Yg6Kc7py8MHZ/auorarrv7sgvaqiJIx3ADxTv9NVgDvqqP1PMUbt82vJxXhnZJ92JlMtnaLrOUlP6vPk/ek+5hVXH8PcM4sdG/2uWly1HJ6o/QYX9WFKcgT/STHBarXLzcwEKQOUCUejGuVp/Xs199b/lki1wlV/kh06GgoHOcH86ZI4x57Y37kovALbUBvTj6iuuxgUAPiDVqpw8oCMDazlA8chcgX3LObpRbTiTM/odttpa4wVoNjYDj+KoAK5OEPtw== 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 X-Received: from AM5PR0601CA0040.eurprd06.prod.outlook.com (2603:10a6:203:68::26) by DB6PR08MB2805.eurprd08.prod.outlook.com (2603:10a6:6:20::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4373.26; Thu, 5 Aug 2021 16:25:34 +0000 X-Received: from VE1EUR03FT029.eop-EUR03.prod.protection.outlook.com (2603:10a6:203:68:cafe::69) by AM5PR0601CA0040.outlook.office365.com (2603:10a6:203:68::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:34 +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; X-Received: from nebula.arm.com (40.67.248.234) by VE1EUR03FT029.mail.protection.outlook.com (10.152.18.107) 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:34 +0000 X-Received: from AZ-NEU-EX01.Emea.Arm.com (10.251.26.4) by AZ-NEU-EX03.Arm.com (10.251.24.31) 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:24 +0000 X-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:23 +0000 X-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:22 +0000 From: "Chris Jones" To: CC: Sami Mujawar , Akanksha Jain , Ben Adderson , Michael Kinney , , , Leif Lindholm , "Matteo Carlini" , Subject: [edk2-devel] [PATCH v2 01/13] MdePkg: Add ACPI 6.4 header file Date: Thu, 5 Aug 2021 17:25:10 +0100 Message-ID: <20210805162522.13201-2-christopher.jones@arm.com> 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: 3653ef80-9482-4c78-c87a-08d9582daef1 X-MS-TrafficTypeDiagnostic: DB6PR08MB2805:|AS8PR08MB7080: X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true NoDisclaimer: true X-MS-Oob-TLC-OOBClassifiers: OLM:9508;OLM:9508; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: RR9VIuhVGlotHb6cvrzY+AmqqAKm4jyYGWjwtBfjLdvsihEPZhIYuagCCmzZIszV03yzfpBRSn55xNBWvLqCA44FXXBzYd342K4Qrczv3y9Xi1Rv+q6ZEjAuNW05S5zchfSi9A5kd8Y+eCrI0GHyVPmXnEeEZjtPovpUyNdRxcsWXIJcO2lFiyOsrgrloclndZty3Iy6QPhokqcW6RabOgUfgEYStNFBmMfQFg2RxGHTVZ3Yp3WSVnSzuBXH7M4Xo4yLkkHsBbftaEWkjDRUiegOlpgLqQZRXkKM+nn9uVsF9qDhCK39lD+lvfbqBM303qj0ls8FtHmpGS9/5vbjEVgDgJ9pTQ4MAvSODBRG/XMst9Uf+qWzK5k2Xd1c7AJvgXK8xjd7sBFYMxEoVRdGf2hkOAD4HtbGSFeVfZHTckgCw40aXs2QOj376SIfcvogBi2lcY6PqSKG/w66zUAwH+K/kR4EgW3OpoUxL+5Eeow5OPNlam9a906y4w1RrCWhytP0PtAWl9BXnU+YoszhTjKY1MdZPXvE6dZBUAJNb8EEpcSWqmjlIyVzq1mMvZcBMXCe7c7g4SJaAvs70MIJ8QLgvPR4Ci68S8nTWtQzEtl500zI0T8oG3GD0WWA2p7bZsHysUG+NUlDiBE92RB0GWiVVsTGCHcQlDLiGnbJCxFPaOeG/Snibsdj1plCsxoXLYZ+/z4q4rKY6tfSgE96di3v2wR7yY/fsvhAEL7HwIcT+hqQ07/Lkrr3wHtmD8zW+G56ieL79oggmG/jGP7xZ1zTGKfvi22gxk8mVx1dKzaWs6khoz95loX0K7+uEFrx 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)(376002)(39860400002)(346002)(136003)(396003)(36840700001)(46966006)(8936002)(186003)(2616005)(5660300002)(426003)(30864003)(4326008)(82310400003)(36756003)(19627235002)(316002)(8676002)(26005)(36860700001)(54906003)(86362001)(2906002)(6666004)(336012)(70206006)(70586007)(7696005)(6916009)(478600001)(82740400003)(83380400001)(1076003)(81166007)(47076005)(356005)(36900700001)(579004)(559001);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR08MB2805 X-MS-Exchange-Transport-CrossTenantHeadersStripped: VE1EUR03FT005.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 3c2a2ab7-022b-4ef9-cb70-08d9582da6ce X-Microsoft-Antispam-Message-Info: wppnBPQSjQZ19WGFNTWUEV20mm39G41/7HhPmZ9foTq953fsBqTQs2ch3oEE7qK8QeKYfR+Mlm1BrZ2FPTbocFETc0I6eYfIjLxzj+mUbTAxfKCyFPpybEAWGnsK25qcrD9VGm6HaiMDf51LAjvMra0HTbY/0T0Rk6WurBcHv+0cXX1UShLtSOD/7X/UwWmnleyInwVEgdIKYcw/GNcv0LLJGp6+HQXv+bb/JpUUfnDMapZqcSii1yIpCZ7Du1u9AMOZYBh/8nQEzyFS0IXc2T5MGYiEqrcBtEjO83KzelfZrGKNbzC4pgG+QLhCQ9wt0f30a1WdfFWeWfukETfTdSFt1Kow+6uYl4HURuXvwTJ2J+7fdoE50CQYt9HV9F+nohPx1g7dKTTf6N3noBnjrfP2wX5PGxHJ+2aAoZyDqi0hfCSE1VQnEFoNzvYTWFIeruHHZDsxUoutN08YonpCr9/XR/5oyAbRef7+6IbKXRqPFhjkZWMpzsOm+QVc5HGnt+INjrFtGgdXC63+E/UuMPatJrTY08hW/oQnJYjzlmkwhdvuhtbkrlyw1VnamL+87qGk7LRIYpQ2g6XMh0v0uPvvd+MW+CSe45qChZS1s94bv36Z7UdH1H1OmSxlrkoZX9v4UEjP1nS+LoOAHsMTqRcShMAy4B9LZ9to/rLdmlRP7JPh8qL607R+eyAV2vh0D/ytHMIn9xjYnFN9ECVxlpWHiV5eZg8crRkhyJfds22SoAg8pZ0BBoFdF7g8aHFEOMPPA3UXcmLAX6/IXQ7zyNK2k1POHC8kB/frV551I7E= X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Aug 2021 16:25:48.0300 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 3653ef80-9482-4c78-c87a-08d9582daef1 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: VE1EUR03FT005.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR08MB7080 Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,christopher.jones@arm.com X-Gm-Message-State: QDZJ2HYEiM24NdxJzGCLHLjJx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1628180760; bh=boHi0bwQxwBYwT1m6lDKSJDO+yjej9ZwkPMJ6vcaCZs=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=nvqWkBns76z01JoFWJwZwHI5hmC9w5CK9eh0M+3JsEJYAKA3xO5SuvGC7TSuzUhKf4a OL/i7vvY4/l60syUgqLzhfPNrIPnWw5e9doUu1xu5IsnpQJNaTOjtfXerM31t+DhAS+IF mkzzzcfVKY2Dm2xBdV/d0W2pTBsezsnLHYM= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1628180761178100030 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Bugzilla: 3516 (https://bugzilla.tianocore.org/show_bug.cgi?id=3D3516) This patch introduces a header file for the ACPI specification version 6.4. Currently it is based on the Acpi63.h header file however makes six changes: 1. Replace all occurences of "6_3"/"6.3" with "6_4/6.4". 2. Remove the trailing underscore from the header guard in accordance with the EDK2 coding standards, section 5.3.5. 3. Make Acpi64.h the latest ACPI definition included by Acpi.h. 4. Fix the BGRT Status field comment to match the ACPI 6.3A spec. 5. Fix several typos where definitions were named "PMMT" when it should be "PMTT". 6. Fix a typo: "PPTT Platform Communication Channel" should be "PDTT Platform Communication Channel". Signed-off-by: Chris Jones Reviewed-by: Sami Mujawar --- MdePkg/Include/IndustryStandard/Acpi.h | 4 +- MdePkg/Include/IndustryStandard/Acpi64.h | 2967 ++++++++++++++++++++ 2 files changed, 2969 insertions(+), 2 deletions(-) diff --git a/MdePkg/Include/IndustryStandard/Acpi.h b/MdePkg/Include/Indust= ryStandard/Acpi.h index 48f4d7176125ee33db0f103268af199c7efacdad..05969a36b18ebf95d62d857576e= effdb89fd194e 100644 --- a/MdePkg/Include/IndustryStandard/Acpi.h +++ b/MdePkg/Include/IndustryStandard/Acpi.h @@ -3,7 +3,7 @@ consumed by drivers that do not care about ACPI versions. =20 Copyright (c) 2006 - 2017, Intel Corporation. All rights reserved.
- Copyright (c) 2019, ARM Ltd. All rights reserved.
+ Copyright (c) 2019 - 2021, ARM Ltd. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent =20 **/ @@ -11,6 +11,6 @@ #ifndef _ACPI_H_ #define _ACPI_H_ =20 -#include +#include =20 #endif diff --git a/MdePkg/Include/IndustryStandard/Acpi64.h b/MdePkg/Include/Indu= stryStandard/Acpi64.h new file mode 100644 index 0000000000000000000000000000000000000000..efbfd8b7a540a130b3de45e4cdd= 02f099a79dfc3 --- /dev/null +++ b/MdePkg/Include/IndustryStandard/Acpi64.h @@ -0,0 +1,2967 @@ +/** @file + ACPI 6.4 definitions from the ACPI Specification Revision 6.4 Jan, 2021. + + Copyright (c) 2017, Intel Corporation. All rights reserved.
+ Copyright (c) 2019 - 2021, ARM Ltd. All rights reserved.
+ + SPDX-License-Identifier: BSD-2-Clause-Patent +**/ + +#ifndef ACPI_6_4_H_ +#define ACPI_6_4_H_ + +#include + +// +// Ensure proper structure formats +// +#pragma pack(1) + +/// +/// ACPI 6.4 Generic Address Space definition +/// +typedef struct { + UINT8 AddressSpaceId; + UINT8 RegisterBitWidth; + UINT8 RegisterBitOffset; + UINT8 AccessSize; + UINT64 Address; +} EFI_ACPI_6_4_GENERIC_ADDRESS_STRUCTURE; + +// +// Generic Address Space Address IDs +// +#define EFI_ACPI_6_4_SYSTEM_MEMORY 0x00 +#define EFI_ACPI_6_4_SYSTEM_IO 0x01 +#define EFI_ACPI_6_4_PCI_CONFIGURATION_SPACE 0x02 +#define EFI_ACPI_6_4_EMBEDDED_CONTROLLER 0x03 +#define EFI_ACPI_6_4_SMBUS 0x04 +#define EFI_ACPI_6_4_SYSTEM_CMOS 0x05 +#define EFI_ACPI_6_4_PCI_BAR_TARGET 0x06 +#define EFI_ACPI_6_4_IPMI 0x07 +#define EFI_ACPI_6_4_GENERAL_PURPOSE_IO 0x08 +#define EFI_ACPI_6_4_GENERIC_SERIAL_BUS 0x09 +#define EFI_ACPI_6_4_PLATFORM_COMMUNICATION_CHANNEL 0x0A +#define EFI_ACPI_6_4_FUNCTIONAL_FIXED_HARDWARE 0x7F + +// +// Generic Address Space Access Sizes +// +#define EFI_ACPI_6_4_UNDEFINED 0 +#define EFI_ACPI_6_4_BYTE 1 +#define EFI_ACPI_6_4_WORD 2 +#define EFI_ACPI_6_4_DWORD 3 +#define EFI_ACPI_6_4_QWORD 4 + +// +// ACPI 6.4 table structures +// + +/// +/// Root System Description Pointer Structure +/// +typedef struct { + UINT64 Signature; + UINT8 Checksum; + UINT8 OemId[6]; + UINT8 Revision; + UINT32 RsdtAddress; + UINT32 Length; + UINT64 XsdtAddress; + UINT8 ExtendedChecksum; + UINT8 Reserved[3]; +} EFI_ACPI_6_4_ROOT_SYSTEM_DESCRIPTION_POINTER; + +/// +/// RSD_PTR Revision (as defined in ACPI 6.4 spec.) +/// +#define EFI_ACPI_6_4_ROOT_SYSTEM_DESCRIPTION_POINTER_REVISION 0x02 ///< A= CPISpec (Revision 6.4) says current value is 2 + +/// +/// Common table header, this prefaces all ACPI tables, including FACS, but +/// excluding the RSD PTR structure +/// +typedef struct { + UINT32 Signature; + UINT32 Length; +} EFI_ACPI_6_4_COMMON_HEADER; + +// +// Root System Description Table +// No definition needed as it is a common description table header, the sa= me with +// EFI_ACPI_DESCRIPTION_HEADER, followed by a variable number of UINT32 ta= ble pointers. +// + +/// +/// RSDT Revision (as defined in ACPI 6.4 spec.) +/// +#define EFI_ACPI_6_4_ROOT_SYSTEM_DESCRIPTION_TABLE_REVISION 0x01 + +// +// Extended System Description Table +// No definition needed as it is a common description table header, the sa= me with +// EFI_ACPI_DESCRIPTION_HEADER, followed by a variable number of UINT64 ta= ble pointers. +// + +/// +/// XSDT Revision (as defined in ACPI 6.4 spec.) +/// +#define EFI_ACPI_6_4_EXTENDED_SYSTEM_DESCRIPTION_TABLE_REVISION 0x01 + +/// +/// Fixed ACPI Description Table Structure (FADT) +/// +typedef struct { + EFI_ACPI_DESCRIPTION_HEADER Header; + UINT32 FirmwareCtrl; + UINT32 Dsdt; + UINT8 Reserved0; + UINT8 PreferredPmProfile; + UINT16 SciInt; + UINT32 SmiCmd; + UINT8 AcpiEnable; + UINT8 AcpiDisable; + UINT8 S4BiosReq; + UINT8 PstateCnt; + UINT32 Pm1aEvtBlk; + UINT32 Pm1bEvtBlk; + UINT32 Pm1aCntBlk; + UINT32 Pm1bCntBlk; + UINT32 Pm2CntBlk; + UINT32 PmTmrBlk; + UINT32 Gpe0Blk; + UINT32 Gpe1Blk; + UINT8 Pm1EvtLen; + UINT8 Pm1CntLen; + UINT8 Pm2CntLen; + UINT8 PmTmrLen; + UINT8 Gpe0BlkLen; + UINT8 Gpe1BlkLen; + UINT8 Gpe1Base; + UINT8 CstCnt; + UINT16 PLvl2Lat; + UINT16 PLvl3Lat; + UINT16 FlushSize; + UINT16 FlushStride; + UINT8 DutyOffset; + UINT8 DutyWidth; + UINT8 DayAlrm; + UINT8 MonAlrm; + UINT8 Century; + UINT16 IaPcBootArch; + UINT8 Reserved1; + UINT32 Flags; + EFI_ACPI_6_4_GENERIC_ADDRESS_STRUCTURE ResetReg; + UINT8 ResetValue; + UINT16 ArmBootArch; + UINT8 MinorVersion; + UINT64 XFirmwareCtrl; + UINT64 XDsdt; + EFI_ACPI_6_4_GENERIC_ADDRESS_STRUCTURE XPm1aEvtBlk; + EFI_ACPI_6_4_GENERIC_ADDRESS_STRUCTURE XPm1bEvtBlk; + EFI_ACPI_6_4_GENERIC_ADDRESS_STRUCTURE XPm1aCntBlk; + EFI_ACPI_6_4_GENERIC_ADDRESS_STRUCTURE XPm1bCntBlk; + EFI_ACPI_6_4_GENERIC_ADDRESS_STRUCTURE XPm2CntBlk; + EFI_ACPI_6_4_GENERIC_ADDRESS_STRUCTURE XPmTmrBlk; + EFI_ACPI_6_4_GENERIC_ADDRESS_STRUCTURE XGpe0Blk; + EFI_ACPI_6_4_GENERIC_ADDRESS_STRUCTURE XGpe1Blk; + EFI_ACPI_6_4_GENERIC_ADDRESS_STRUCTURE SleepControlReg; + EFI_ACPI_6_4_GENERIC_ADDRESS_STRUCTURE SleepStatusReg; + UINT64 HypervisorVendorIdentity; +} EFI_ACPI_6_4_FIXED_ACPI_DESCRIPTION_TABLE; + +/// +/// FADT Version (as defined in ACPI 6.4 spec.) +/// +#define EFI_ACPI_6_4_FIXED_ACPI_DESCRIPTION_TABLE_REVISION 0x06 +#define EFI_ACPI_6_4_FIXED_ACPI_DESCRIPTION_TABLE_MINOR_REVISION 0x03 + +// +// Fixed ACPI Description Table Preferred Power Management Profile +// +#define EFI_ACPI_6_4_PM_PROFILE_UNSPECIFIED 0 +#define EFI_ACPI_6_4_PM_PROFILE_DESKTOP 1 +#define EFI_ACPI_6_4_PM_PROFILE_MOBILE 2 +#define EFI_ACPI_6_4_PM_PROFILE_WORKSTATION 3 +#define EFI_ACPI_6_4_PM_PROFILE_ENTERPRISE_SERVER 4 +#define EFI_ACPI_6_4_PM_PROFILE_SOHO_SERVER 5 +#define EFI_ACPI_6_4_PM_PROFILE_APPLIANCE_PC 6 +#define EFI_ACPI_6_4_PM_PROFILE_PERFORMANCE_SERVER 7 +#define EFI_ACPI_6_4_PM_PROFILE_TABLET 8 + +// +// Fixed ACPI Description Table Boot Architecture Flags +// All other bits are reserved and must be set to 0. +// +#define EFI_ACPI_6_4_LEGACY_DEVICES BIT0 +#define EFI_ACPI_6_4_8042 BIT1 +#define EFI_ACPI_6_4_VGA_NOT_PRESENT BIT2 +#define EFI_ACPI_6_4_MSI_NOT_SUPPORTED BIT3 +#define EFI_ACPI_6_4_PCIE_ASPM_CONTROLS BIT4 +#define EFI_ACPI_6_4_CMOS_RTC_NOT_PRESENT BIT5 + +// +// Fixed ACPI Description Table Arm Boot Architecture Flags +// All other bits are reserved and must be set to 0. +// +#define EFI_ACPI_6_4_ARM_PSCI_COMPLIANT BIT0 +#define EFI_ACPI_6_4_ARM_PSCI_USE_HVC BIT1 + +// +// Fixed ACPI Description Table Fixed Feature Flags +// All other bits are reserved and must be set to 0. +// +#define EFI_ACPI_6_4_WBINVD BIT0 +#define EFI_ACPI_6_4_WBINVD_FLUSH BIT1 +#define EFI_ACPI_6_4_PROC_C1 BIT2 +#define EFI_ACPI_6_4_P_LVL2_UP BIT3 +#define EFI_ACPI_6_4_PWR_BUTTON BIT4 +#define EFI_ACPI_6_4_SLP_BUTTON BIT5 +#define EFI_ACPI_6_4_FIX_RTC BIT6 +#define EFI_ACPI_6_4_RTC_S4 BIT7 +#define EFI_ACPI_6_4_TMR_VAL_EXT BIT8 +#define EFI_ACPI_6_4_DCK_CAP BIT9 +#define EFI_ACPI_6_4_RESET_REG_SUP BIT10 +#define EFI_ACPI_6_4_SEALED_CASE BIT11 +#define EFI_ACPI_6_4_HEADLESS BIT12 +#define EFI_ACPI_6_4_CPU_SW_SLP BIT13 +#define EFI_ACPI_6_4_PCI_EXP_WAK BIT14 +#define EFI_ACPI_6_4_USE_PLATFORM_CLOCK BIT15 +#define EFI_ACPI_6_4_S4_RTC_STS_VALID BIT16 +#define EFI_ACPI_6_4_REMOTE_POWER_ON_CAPABLE BIT17 +#define EFI_ACPI_6_4_FORCE_APIC_CLUSTER_MODEL BIT18 +#define EFI_ACPI_6_4_FORCE_APIC_PHYSICAL_DESTINATION_MODE BIT19 +#define EFI_ACPI_6_4_HW_REDUCED_ACPI BIT20 +#define EFI_ACPI_6_4_LOW_POWER_S0_IDLE_CAPABLE BIT21 + +/// +/// Firmware ACPI Control Structure +/// +typedef struct { + UINT32 Signature; + UINT32 Length; + UINT32 HardwareSignature; + UINT32 FirmwareWakingVector; + UINT32 GlobalLock; + UINT32 Flags; + UINT64 XFirmwareWakingVector; + UINT8 Version; + UINT8 Reserved0[3]; + UINT32 OspmFlags; + UINT8 Reserved1[24]; +} EFI_ACPI_6_4_FIRMWARE_ACPI_CONTROL_STRUCTURE; + +/// +/// FACS Version (as defined in ACPI 6.4 spec.) +/// +#define EFI_ACPI_6_4_FIRMWARE_ACPI_CONTROL_STRUCTURE_VERSION 0x02 + +/// +/// Firmware Control Structure Feature Flags +/// All other bits are reserved and must be set to 0. +/// +#define EFI_ACPI_6_4_S4BIOS_F BIT0 +#define EFI_ACPI_6_4_64BIT_WAKE_SUPPORTED_F BIT1 + +/// +/// OSPM Enabled Firmware Control Structure Flags +/// All other bits are reserved and must be set to 0. +/// +#define EFI_ACPI_6_4_OSPM_64BIT_WAKE_F BIT0 + +// +// Differentiated System Description Table, +// Secondary System Description Table +// and Persistent System Description Table, +// no definition needed as they are common description table header, the s= ame with +// EFI_ACPI_DESCRIPTION_HEADER, followed by a definition block. +// +#define EFI_ACPI_6_4_DIFFERENTIATED_SYSTEM_DESCRIPTION_TABLE_REVISION 0x= 02 +#define EFI_ACPI_6_4_SECONDARY_SYSTEM_DESCRIPTION_TABLE_REVISION 0x= 02 + +/// +/// Multiple APIC Description Table header definition. The rest of the ta= ble +/// must be defined in a platform specific manner. +/// +typedef struct { + EFI_ACPI_DESCRIPTION_HEADER Header; + UINT32 LocalApicAddress; + UINT32 Flags; +} EFI_ACPI_6_4_MULTIPLE_APIC_DESCRIPTION_TABLE_HEADER; + +/// +/// MADT Revision (as defined in ACPI 6.4 spec.) +/// +#define EFI_ACPI_6_4_MULTIPLE_APIC_DESCRIPTION_TABLE_REVISION 0x05 + +/// +/// Multiple APIC Flags +/// All other bits are reserved and must be set to 0. +/// +#define EFI_ACPI_6_4_PCAT_COMPAT BIT0 + +// +// Multiple APIC Description Table APIC structure types +// All other values between 0x0D and 0x7F are reserved and +// will be ignored by OSPM. 0x80 ~ 0xFF are reserved for OEM. +// +#define EFI_ACPI_6_4_PROCESSOR_LOCAL_APIC 0x00 +#define EFI_ACPI_6_4_IO_APIC 0x01 +#define EFI_ACPI_6_4_INTERRUPT_SOURCE_OVERRIDE 0x02 +#define EFI_ACPI_6_4_NON_MASKABLE_INTERRUPT_SOURCE 0x03 +#define EFI_ACPI_6_4_LOCAL_APIC_NMI 0x04 +#define EFI_ACPI_6_4_LOCAL_APIC_ADDRESS_OVERRIDE 0x05 +#define EFI_ACPI_6_4_IO_SAPIC 0x06 +#define EFI_ACPI_6_4_LOCAL_SAPIC 0x07 +#define EFI_ACPI_6_4_PLATFORM_INTERRUPT_SOURCES 0x08 +#define EFI_ACPI_6_4_PROCESSOR_LOCAL_X2APIC 0x09 +#define EFI_ACPI_6_4_LOCAL_X2APIC_NMI 0x0A +#define EFI_ACPI_6_4_GIC 0x0B +#define EFI_ACPI_6_4_GICD 0x0C +#define EFI_ACPI_6_4_GIC_MSI_FRAME 0x0D +#define EFI_ACPI_6_4_GICR 0x0E +#define EFI_ACPI_6_4_GIC_ITS 0x0F + +// +// APIC Structure Definitions +// + +/// +/// Processor Local APIC Structure Definition +/// +typedef struct { + UINT8 Type; + UINT8 Length; + UINT8 AcpiProcessorUid; + UINT8 ApicId; + UINT32 Flags; +} EFI_ACPI_6_4_PROCESSOR_LOCAL_APIC_STRUCTURE; + +/// +/// Local APIC Flags. All other bits are reserved and must be 0. +/// +#define EFI_ACPI_6_4_LOCAL_APIC_ENABLED BIT0 +#define EFI_ACPI_6_4_LOCAL_APIC_ONLINE_CAPABLE BIT1 + +/// +/// IO APIC Structure +/// +typedef struct { + UINT8 Type; + UINT8 Length; + UINT8 IoApicId; + UINT8 Reserved; + UINT32 IoApicAddress; + UINT32 GlobalSystemInterruptBase; +} EFI_ACPI_6_4_IO_APIC_STRUCTURE; + +/// +/// Interrupt Source Override Structure +/// +typedef struct { + UINT8 Type; + UINT8 Length; + UINT8 Bus; + UINT8 Source; + UINT32 GlobalSystemInterrupt; + UINT16 Flags; +} EFI_ACPI_6_4_INTERRUPT_SOURCE_OVERRIDE_STRUCTURE; + +/// +/// Platform Interrupt Sources Structure Definition +/// +typedef struct { + UINT8 Type; + UINT8 Length; + UINT16 Flags; + UINT8 InterruptType; + UINT8 ProcessorId; + UINT8 ProcessorEid; + UINT8 IoSapicVector; + UINT32 GlobalSystemInterrupt; + UINT32 PlatformInterruptSourceFlags; + UINT8 CpeiProcessorOverride; + UINT8 Reserved[31]; +} EFI_ACPI_6_4_PLATFORM_INTERRUPT_APIC_STRUCTURE; + +// +// MPS INTI flags. +// All other bits are reserved and must be set to 0. +// +#define EFI_ACPI_6_4_POLARITY (3 << 0) +#define EFI_ACPI_6_4_TRIGGER_MODE (3 << 2) + +/// +/// Non-Maskable Interrupt Source Structure +/// +typedef struct { + UINT8 Type; + UINT8 Length; + UINT16 Flags; + UINT32 GlobalSystemInterrupt; +} EFI_ACPI_6_4_NON_MASKABLE_INTERRUPT_SOURCE_STRUCTURE; + +/// +/// Local APIC NMI Structure +/// +typedef struct { + UINT8 Type; + UINT8 Length; + UINT8 AcpiProcessorUid; + UINT16 Flags; + UINT8 LocalApicLint; +} EFI_ACPI_6_4_LOCAL_APIC_NMI_STRUCTURE; + +/// +/// Local APIC Address Override Structure +/// +typedef struct { + UINT8 Type; + UINT8 Length; + UINT16 Reserved; + UINT64 LocalApicAddress; +} EFI_ACPI_6_4_LOCAL_APIC_ADDRESS_OVERRIDE_STRUCTURE; + +/// +/// IO SAPIC Structure +/// +typedef struct { + UINT8 Type; + UINT8 Length; + UINT8 IoApicId; + UINT8 Reserved; + UINT32 GlobalSystemInterruptBase; + UINT64 IoSapicAddress; +} EFI_ACPI_6_4_IO_SAPIC_STRUCTURE; + +/// +/// Local SAPIC Structure +/// This struct followed by a null-terminated ASCII string - ACPI Processo= r UID String +/// +typedef struct { + UINT8 Type; + UINT8 Length; + UINT8 AcpiProcessorId; + UINT8 LocalSapicId; + UINT8 LocalSapicEid; + UINT8 Reserved[3]; + UINT32 Flags; + UINT32 ACPIProcessorUIDValue; +} EFI_ACPI_6_4_PROCESSOR_LOCAL_SAPIC_STRUCTURE; + +/// +/// Platform Interrupt Sources Structure +/// +typedef struct { + UINT8 Type; + UINT8 Length; + UINT16 Flags; + UINT8 InterruptType; + UINT8 ProcessorId; + UINT8 ProcessorEid; + UINT8 IoSapicVector; + UINT32 GlobalSystemInterrupt; + UINT32 PlatformInterruptSourceFlags; +} EFI_ACPI_6_4_PLATFORM_INTERRUPT_SOURCES_STRUCTURE; + +/// +/// Platform Interrupt Source Flags. +/// All other bits are reserved and must be set to 0. +/// +#define EFI_ACPI_6_4_CPEI_PROCESSOR_OVERRIDE BIT0 + +/// +/// Processor Local x2APIC Structure Definition +/// +typedef struct { + UINT8 Type; + UINT8 Length; + UINT8 Reserved[2]; + UINT32 X2ApicId; + UINT32 Flags; + UINT32 AcpiProcessorUid; +} EFI_ACPI_6_4_PROCESSOR_LOCAL_X2APIC_STRUCTURE; + +/// +/// Local x2APIC NMI Structure +/// +typedef struct { + UINT8 Type; + UINT8 Length; + UINT16 Flags; + UINT32 AcpiProcessorUid; + UINT8 LocalX2ApicLint; + UINT8 Reserved[3]; +} EFI_ACPI_6_4_LOCAL_X2APIC_NMI_STRUCTURE; + +/// +/// GIC Structure +/// +typedef struct { + UINT8 Type; + UINT8 Length; + UINT16 Reserved; + UINT32 CPUInterfaceNumber; + UINT32 AcpiProcessorUid; + UINT32 Flags; + UINT32 ParkingProtocolVersion; + UINT32 PerformanceInterruptGsiv; + UINT64 ParkedAddress; + UINT64 PhysicalBaseAddress; + UINT64 GICV; + UINT64 GICH; + UINT32 VGICMaintenanceInterrupt; + UINT64 GICRBaseAddress; + UINT64 MPIDR; + UINT8 ProcessorPowerEfficiencyClass; + UINT8 Reserved2; + UINT16 SpeOverflowInterrupt; +} EFI_ACPI_6_4_GIC_STRUCTURE; + +/// +/// GIC Flags. All other bits are reserved and must be 0. +/// +#define EFI_ACPI_6_4_GIC_ENABLED BIT0 +#define EFI_ACPI_6_4_PERFORMANCE_INTERRUPT_MODEL BIT1 +#define EFI_ACPI_6_4_VGIC_MAINTENANCE_INTERRUPT_MODE_FLAGS BIT2 + +/// +/// GIC Distributor Structure +/// +typedef struct { + UINT8 Type; + UINT8 Length; + UINT16 Reserved1; + UINT32 GicId; + UINT64 PhysicalBaseAddress; + UINT32 SystemVectorBase; + UINT8 GicVersion; + UINT8 Reserved2[3]; +} EFI_ACPI_6_4_GIC_DISTRIBUTOR_STRUCTURE; + +/// +/// GIC Version +/// +#define EFI_ACPI_6_4_GIC_V1 0x01 +#define EFI_ACPI_6_4_GIC_V2 0x02 +#define EFI_ACPI_6_4_GIC_V3 0x03 +#define EFI_ACPI_6_4_GIC_V4 0x04 + +/// +/// GIC MSI Frame Structure +/// +typedef struct { + UINT8 Type; + UINT8 Length; + UINT16 Reserved1; + UINT32 GicMsiFrameId; + UINT64 PhysicalBaseAddress; + UINT32 Flags; + UINT16 SPICount; + UINT16 SPIBase; +} EFI_ACPI_6_4_GIC_MSI_FRAME_STRUCTURE; + +/// +/// GIC MSI Frame Flags. All other bits are reserved and must be 0. +/// +#define EFI_ACPI_6_4_SPI_COUNT_BASE_SELECT BIT0 + +/// +/// GICR Structure +/// +typedef struct { + UINT8 Type; + UINT8 Length; + UINT16 Reserved; + UINT64 DiscoveryRangeBaseAddress; + UINT32 DiscoveryRangeLength; +} EFI_ACPI_6_4_GICR_STRUCTURE; + +/// +/// GIC Interrupt Translation Service Structure +/// +typedef struct { + UINT8 Type; + UINT8 Length; + UINT16 Reserved; + UINT32 GicItsId; + UINT64 PhysicalBaseAddress; + UINT32 Reserved2; +} EFI_ACPI_6_4_GIC_ITS_STRUCTURE; + +/// +/// Smart Battery Description Table (SBST) +/// +typedef struct { + EFI_ACPI_DESCRIPTION_HEADER Header; + UINT32 WarningEnergyLevel; + UINT32 LowEnergyLevel; + UINT32 CriticalEnergyLevel; +} EFI_ACPI_6_4_SMART_BATTERY_DESCRIPTION_TABLE; + +/// +/// SBST Version (as defined in ACPI 6.4 spec.) +/// +#define EFI_ACPI_6_4_SMART_BATTERY_DESCRIPTION_TABLE_REVISION 0x01 + +/// +/// Embedded Controller Boot Resources Table (ECDT) +/// The table is followed by a null terminated ASCII string that contains +/// a fully qualified reference to the name space object. +/// +typedef struct { + EFI_ACPI_DESCRIPTION_HEADER Header; + EFI_ACPI_6_4_GENERIC_ADDRESS_STRUCTURE EcControl; + EFI_ACPI_6_4_GENERIC_ADDRESS_STRUCTURE EcData; + UINT32 Uid; + UINT8 GpeBit; +} EFI_ACPI_6_4_EMBEDDED_CONTROLLER_BOOT_RESOURCES_TABLE; + +/// +/// ECDT Version (as defined in ACPI 6.4 spec.) +/// +#define EFI_ACPI_6_4_EMBEDDED_CONTROLLER_BOOT_RESOURCES_TABLE_REVISION 0x= 01 + +/// +/// System Resource Affinity Table (SRAT). The rest of the table +/// must be defined in a platform specific manner. +/// +typedef struct { + EFI_ACPI_DESCRIPTION_HEADER Header; + UINT32 Reserved1; ///< Must be set to 1 + UINT64 Reserved2; +} EFI_ACPI_6_4_SYSTEM_RESOURCE_AFFINITY_TABLE_HEADER; + +/// +/// SRAT Version (as defined in ACPI 6.4 spec.) +/// +#define EFI_ACPI_6_4_SYSTEM_RESOURCE_AFFINITY_TABLE_REVISION 0x03 + +// +// SRAT structure types. +// All other values between 0x06 an 0xFF are reserved and +// will be ignored by OSPM. +// +#define EFI_ACPI_6_4_PROCESSOR_LOCAL_APIC_SAPIC_AFFINITY 0x00 +#define EFI_ACPI_6_4_MEMORY_AFFINITY 0x01 +#define EFI_ACPI_6_4_PROCESSOR_LOCAL_X2APIC_AFFINITY 0x02 +#define EFI_ACPI_6_4_GICC_AFFINITY 0x03 +#define EFI_ACPI_6_4_GIC_ITS_AFFINITY 0x04 +#define EFI_ACPI_6_4_GENERIC_INITIATOR_AFFINITY 0x05 + +/// +/// Processor Local APIC/SAPIC Affinity Structure Definition +/// +typedef struct { + UINT8 Type; + UINT8 Length; + UINT8 ProximityDomain7To0; + UINT8 ApicId; + UINT32 Flags; + UINT8 LocalSapicEid; + UINT8 ProximityDomain31To8[3]; + UINT32 ClockDomain; +} EFI_ACPI_6_4_PROCESSOR_LOCAL_APIC_SAPIC_AFFINITY_STRUCTURE; + +/// +/// Local APIC/SAPIC Flags. All other bits are reserved and must be 0. +/// +#define EFI_ACPI_6_4_PROCESSOR_LOCAL_APIC_SAPIC_ENABLED (1 << 0) + +/// +/// Memory Affinity Structure Definition +/// +typedef struct { + UINT8 Type; + UINT8 Length; + UINT32 ProximityDomain; + UINT16 Reserved1; + UINT32 AddressBaseLow; + UINT32 AddressBaseHigh; + UINT32 LengthLow; + UINT32 LengthHigh; + UINT32 Reserved2; + UINT32 Flags; + UINT64 Reserved3; +} EFI_ACPI_6_4_MEMORY_AFFINITY_STRUCTURE; + +// +// Memory Flags. All other bits are reserved and must be 0. +// +#define EFI_ACPI_6_4_MEMORY_ENABLED (1 << 0) +#define EFI_ACPI_6_4_MEMORY_HOT_PLUGGABLE (1 << 1) +#define EFI_ACPI_6_4_MEMORY_NONVOLATILE (1 << 2) + +/// +/// Processor Local x2APIC Affinity Structure Definition +/// +typedef struct { + UINT8 Type; + UINT8 Length; + UINT8 Reserved1[2]; + UINT32 ProximityDomain; + UINT32 X2ApicId; + UINT32 Flags; + UINT32 ClockDomain; + UINT8 Reserved2[4]; +} EFI_ACPI_6_4_PROCESSOR_LOCAL_X2APIC_AFFINITY_STRUCTURE; + +/// +/// GICC Affinity Structure Definition +/// +typedef struct { + UINT8 Type; + UINT8 Length; + UINT32 ProximityDomain; + UINT32 AcpiProcessorUid; + UINT32 Flags; + UINT32 ClockDomain; +} EFI_ACPI_6_4_GICC_AFFINITY_STRUCTURE; + +/// +/// GICC Flags. All other bits are reserved and must be 0. +/// +#define EFI_ACPI_6_4_GICC_ENABLED (1 << 0) + +/// +/// GIC Interrupt Translation Service (ITS) Affinity Structure Definition +/// +typedef struct { + UINT8 Type; + UINT8 Length; + UINT32 ProximityDomain; + UINT8 Reserved[2]; + UINT32 ItsId; +} EFI_ACPI_6_4_GIC_ITS_AFFINITY_STRUCTURE; + +// +// Generic Initiator Affinity Structure Device Handle Types +// All other values between 0x02 an 0xFF are reserved and +// will be ignored by OSPM. +// +#define EFI_ACPI_6_4_ACPI_DEVICE_HANDLE 0x00 +#define EFI_ACPI_6_4_PCI_DEVICE_HANDLE 0x01 + +/// +/// Device Handle - ACPI +/// +typedef struct { + UINT64 AcpiHid; + UINT32 AcpiUid; + UINT8 Reserved[4]; +} EFI_ACPI_6_4_DEVICE_HANDLE_ACPI; + +/// +/// Device Handle - PCI +/// +typedef struct { + UINT16 PciSegment; + UINT16 PciBdfNumber; + UINT8 Reserved[12]; +} EFI_ACPI_6_4_DEVICE_HANDLE_PCI; + +/// +/// Generic Initiator Affinity Structure +/// +typedef struct { + UINT8 Type; + UINT8 Length; + UINT8 Reserved1; + UINT8 DeviceHandleType; + UINT32 ProximityDomain; + + union { + EFI_ACPI_6_4_DEVICE_HANDLE_ACPI Acpi; + EFI_ACPI_6_4_DEVICE_HANDLE_PCI Pci; + } DeviceHandle; + + UINT32 Flags; + UINT8 Reserved2[4]; +} EFI_ACPI_6_4_GENERIC_INITIATOR_AFFINITY_STRUCTURE; + +/// +/// Generic Initiator Affinity Structure Flags. All other bits are reserved +/// and must be 0. +/// +#define EFI_ACPI_6_4_GENERIC_INITIATOR_AFFINITY_STRUCTURE_ENABLED (1 << 0) + +/// +/// System Locality Distance Information Table (SLIT). +/// The rest of the table is a matrix. +/// +typedef struct { + EFI_ACPI_DESCRIPTION_HEADER Header; + UINT64 NumberOfSystemLocalities; +} EFI_ACPI_6_4_SYSTEM_LOCALITY_DISTANCE_INFORMATION_TABLE_HEADER; + +/// +/// SLIT Version (as defined in ACPI 6.4 spec.) +/// +#define EFI_ACPI_6_4_SYSTEM_LOCALITY_DISTANCE_INFORMATION_TABLE_REVISION = 0x01 + +/// +/// Corrected Platform Error Polling Table (CPEP) +/// +typedef struct { + EFI_ACPI_DESCRIPTION_HEADER Header; + UINT8 Reserved[8]; +} EFI_ACPI_6_4_CORRECTED_PLATFORM_ERROR_POLLING_TABLE_HEADER; + +/// +/// CPEP Version (as defined in ACPI 6.4 spec.) +/// +#define EFI_ACPI_6_4_CORRECTED_PLATFORM_ERROR_POLLING_TABLE_REVISION 0x01 + +// +// CPEP processor structure types. +// +#define EFI_ACPI_6_4_CPEP_PROCESSOR_APIC_SAPIC 0x00 + +/// +/// Corrected Platform Error Polling Processor Structure Definition +/// +typedef struct { + UINT8 Type; + UINT8 Length; + UINT8 ProcessorId; + UINT8 ProcessorEid; + UINT32 PollingInterval; +} EFI_ACPI_6_4_CPEP_PROCESSOR_APIC_SAPIC_STRUCTURE; + +/// +/// Maximum System Characteristics Table (MSCT) +/// +typedef struct { + EFI_ACPI_DESCRIPTION_HEADER Header; + UINT32 OffsetProxDomInfo; + UINT32 MaximumNumberOfProximityDomains; + UINT32 MaximumNumberOfClockDomains; + UINT64 MaximumPhysicalAddress; +} EFI_ACPI_6_4_MAXIMUM_SYSTEM_CHARACTERISTICS_TABLE_HEADER; + +/// +/// MSCT Version (as defined in ACPI 6.4 spec.) +/// +#define EFI_ACPI_6_4_MAXIMUM_SYSTEM_CHARACTERISTICS_TABLE_REVISION 0x01 + +/// +/// Maximum Proximity Domain Information Structure Definition +/// +typedef struct { + UINT8 Revision; + UINT8 Length; + UINT32 ProximityDomainRangeLow; + UINT32 ProximityDomainRangeHigh; + UINT32 MaximumProcessorCapacity; + UINT64 MaximumMemoryCapacity; +} EFI_ACPI_6_4_MAXIMUM_PROXIMITY_DOMAIN_INFORMATION_STRUCTURE; + +/// +/// ACPI RAS Feature Table definition. +/// +typedef struct { + EFI_ACPI_DESCRIPTION_HEADER Header; + UINT8 PlatformCommunicationChannelIdentifier[12]; +} EFI_ACPI_6_4_RAS_FEATURE_TABLE; + +/// +/// RASF Version (as defined in ACPI 6.4 spec.) +/// +#define EFI_ACPI_6_4_RAS_FEATURE_TABLE_REVISION 0x01 + +/// +/// ACPI RASF Platform Communication Channel Shared Memory Region definiti= on. +/// +typedef struct { + UINT32 Signature; + UINT16 Command; + UINT16 Status; + UINT16 Version; + UINT8 RASCapabilities[16]; + UINT8 SetRASCapabilities[16]; + UINT16 NumberOfRASFParameterBlocks; + UINT32 SetRASCapabilitiesStatus; +} EFI_ACPI_6_4_RASF_PLATFORM_COMMUNICATION_CHANNEL_SHARED_MEMORY_REGION; + +/// +/// ACPI RASF PCC command code +/// +#define EFI_ACPI_6_4_RASF_PCC_COMMAND_CODE_EXECUTE_RASF_COMMAND 0x01 + +/// +/// ACPI RASF Platform RAS Capabilities +/// +#define EFI_ACPI_6_4_RASF_PLATFORM_RAS_CAPABILITY_HARDWARE_BASED_PATROL_SC= RUB_SUPPORTED BIT0 +#define EFI_ACPI_6_4_RASF_PLATFORM_RAS_CAPABILITY_HARDWARE_BASED_PATROL_SC= RUB_SUPPORTED_AND_EXPOSED_TO_SOFTWARE BIT1 +#define EFI_ACPI_6_4_RASF_PLATFORM_RAS_CAPABILITY_CPU_CACHE_FLUSH_TO_NVDIM= M_DURABILITY_ON_POWER_LOSS BIT2 +#define EFI_ACPI_6_4_RASF_PLATFORM_RAS_CAPABILITY_MEMORY_CONTROLLER_FLUSH_= TO_NVDIMM_DURABILITY_ON_POWER_LOSS BIT3 +#define EFI_ACPI_6_4_RASF_PLATFORM_RAS_CAPABILITY_BYTE_ADDRESSABLE_PERSIST= ENT_MEMORY_HARDWARE_MIRRORING BIT4 + +/// +/// ACPI RASF Parameter Block structure for PATROL_SCRUB +/// +typedef struct { + UINT16 Type; + UINT16 Version; + UINT16 Length; + UINT16 PatrolScrubCommand; + UINT64 RequestedAddressRange[2]; + UINT64 ActualAddressRange[2]; + UINT16 Flags; + UINT8 RequestedSpeed; +} EFI_ACPI_6_4_RASF_PATROL_SCRUB_PLATFORM_BLOCK_STRUCTURE; + +/// +/// ACPI RASF Patrol Scrub command +/// +#define EFI_ACPI_6_4_RASF_PATROL_SCRUB_COMMAND_GET_PATROL_PARAMETERS 0x01 +#define EFI_ACPI_6_4_RASF_PATROL_SCRUB_COMMAND_START_PATROL_SCRUBBER 0x02 +#define EFI_ACPI_6_4_RASF_PATROL_SCRUB_COMMAND_STOP_PATROL_SCRUBBER 0x03 + +/// +/// Memory Power State Table definition. +/// +typedef struct { + EFI_ACPI_DESCRIPTION_HEADER Header; + UINT8 PlatformCommunicationChannelIdentifier; + UINT8 Reserved[3]; +// Memory Power Node Structure +// Memory Power State Characteristics +} EFI_ACPI_6_4_MEMORY_POWER_STATUS_TABLE; + +/// +/// MPST Version (as defined in ACPI 6.4 spec.) +/// +#define EFI_ACPI_6_4_MEMORY_POWER_STATE_TABLE_REVISION 0x01 + +/// +/// MPST Platform Communication Channel Shared Memory Region definition. +/// +typedef struct { + UINT32 Signature; + UINT16 Command; + UINT16 Status; + UINT32 MemoryPowerCommandRegister; + UINT32 MemoryPowerStatusRegister; + UINT32 PowerStateId; + UINT32 MemoryPowerNodeId; + UINT64 MemoryEnergyConsumed; + UINT64 ExpectedAveragePowerComsuned; +} EFI_ACPI_6_4_MPST_PLATFORM_COMMUNICATION_CHANNEL_SHARED_MEMORY_REGION; + +/// +/// ACPI MPST PCC command code +/// +#define EFI_ACPI_6_4_MPST_PCC_COMMAND_CODE_EXECUTE_MPST_COMMAND 0x03 + +/// +/// ACPI MPST Memory Power command +/// +#define EFI_ACPI_6_4_MPST_MEMORY_POWER_COMMAND_GET_MEMORY_POWER_STATE = 0x01 +#define EFI_ACPI_6_4_MPST_MEMORY_POWER_COMMAND_SET_MEMORY_POWER_STATE = 0x02 +#define EFI_ACPI_6_4_MPST_MEMORY_POWER_COMMAND_GET_AVERAGE_POWER_CONSUMED = 0x03 +#define EFI_ACPI_6_4_MPST_MEMORY_POWER_COMMAND_GET_MEMORY_ENERGY_CONSUMED = 0x04 + +/// +/// MPST Memory Power Node Table +/// +typedef struct { + UINT8 PowerStateValue; + UINT8 PowerStateInformationI= ndex; +} EFI_ACPI_6_4_MPST_MEMORY_POWER_STATE; + +typedef struct { + UINT8 Flag; + UINT8 Reserved; + UINT16 MemoryPowerNodeId; + UINT32 Length; + UINT64 AddressBase; + UINT64 AddressLength; + UINT32 NumberOfPowerStates; + UINT32 NumberOfPhysicalCompon= ents; +//EFI_ACPI_6_4_MPST_MEMORY_POWER_STATE MemoryPowerState[Numbe= rOfPowerStates]; +//UINT16 PhysicalComponentIdent= ifier[NumberOfPhysicalComponents]; +} EFI_ACPI_6_4_MPST_MEMORY_POWER_STRUCTURE; + +#define EFI_ACPI_6_4_MPST_MEMORY_POWER_STRUCTURE_FLAG_ENABLE 0x01 +#define EFI_ACPI_6_4_MPST_MEMORY_POWER_STRUCTURE_FLAG_POWER_MANAGED 0x02 +#define EFI_ACPI_6_4_MPST_MEMORY_POWER_STRUCTURE_FLAG_HOT_PLUGGABLE 0x04 + +typedef struct { + UINT16 MemoryPowerNodeCount; + UINT8 Reserved[2]; +} EFI_ACPI_6_4_MPST_MEMORY_POWER_NODE_TABLE; + +/// +/// MPST Memory Power State Characteristics Table +/// +typedef struct { + UINT8 PowerStateStructureID; + UINT8 Flag; + UINT16 Reserved; + UINT32 AveragePowerConsumedIn= MPS0; + UINT32 RelativePowerSavingToM= PS0; + UINT64 ExitLatencyToMPS0; +} EFI_ACPI_6_4_MPST_MEMORY_POWER_STATE_CHARACTERISTICS_STRUCTURE; + +#define EFI_ACPI_6_4_MPST_MEMORY_POWER_STATE_CHARACTERISTICS_STRUCTURE_FLA= G_MEMORY_CONTENT_PRESERVED 0x01 +#define EFI_ACPI_6_4_MPST_MEMORY_POWER_STATE_CHARACTERISTICS_STRUCTURE_FLA= G_AUTONOMOUS_MEMORY_POWER_STATE_ENTRY 0x02 +#define EFI_ACPI_6_4_MPST_MEMORY_POWER_STATE_CHARACTERISTICS_STRUCTURE_FLA= G_AUTONOMOUS_MEMORY_POWER_STATE_EXIT 0x04 + +typedef struct { + UINT16 MemoryPowerStateCharacteristicsCount; + UINT8 Reserved[2]; +} EFI_ACPI_6_4_MPST_MEMORY_POWER_STATE_CHARACTERISTICS_TABLE; + +/// +/// Memory Topology Table definition. +/// +typedef struct { + EFI_ACPI_DESCRIPTION_HEADER Header; + UINT32 Reserved; +} EFI_ACPI_6_4_MEMORY_TOPOLOGY_TABLE; + +/// +/// PMTT Version (as defined in ACPI 6.4 spec.) +/// +#define EFI_ACPI_6_4_MEMORY_TOPOLOGY_TABLE_REVISION 0x01 + +/// +/// Common Memory Aggregator Device Structure. +/// +typedef struct { + UINT8 Type; + UINT8 Reserved; + UINT16 Length; + UINT16 Flags; + UINT16 Reserved1; +} EFI_ACPI_6_4_PMTT_COMMON_MEMORY_AGGREGATOR_DEVICE_STRUCTURE; + +/// +/// Memory Aggregator Device Type +/// +#define EFI_ACPI_6_4_PMTT_MEMORY_AGGREGATOR_DEVICE_TYPE_SOCKET = 0x1 +#define EFI_ACPI_6_4_PMTT_MEMORY_AGGREGATOR_DEVICE_TYPE_MEMORY_CONTROLLER = 0x2 +#define EFI_ACPI_6_4_PMTT_MEMORY_AGGREGATOR_DEVICE_TYPE_DIMM = 0x3 + +/// +/// Socket Memory Aggregator Device Structure. +/// +typedef struct { + EFI_ACPI_6_4_PMTT_COMMON_MEMORY_AGGREGATOR_DEVICE_STRUCTURE Header; + UINT16 SocketIdent= ifier; + UINT16 Reserved; +//EFI_ACPI_6_4_PMTT_MEMORY_CONTROLLER_MEMORY_AGGREGATOR_DEVICE_STRUCTURE = MemoryController[]; +} EFI_ACPI_6_4_PMTT_SOCKET_MEMORY_AGGREGATOR_DEVICE_STRUCTURE; + +/// +/// MemoryController Memory Aggregator Device Structure. +/// +typedef struct { + EFI_ACPI_6_4_PMTT_COMMON_MEMORY_AGGREGATOR_DEVICE_STRUCTURE Header; + UINT32 ReadLatency; + UINT32 WriteLatenc= y; + UINT32 ReadBandwid= th; + UINT32 WriteBandwi= dth; + UINT16 OptimalAcce= ssUnit; + UINT16 OptimalAcce= ssAlignment; + UINT16 Reserved; + UINT16 NumberOfPro= ximityDomains; +//UINT32 ProximityDo= main[NumberOfProximityDomains]; +//EFI_ACPI_6_4_PMTT_DIMM_MEMORY_AGGREGATOR_DEVICE_STRUCTURE PhysicalCom= ponent[]; +} EFI_ACPI_6_4_PMTT_MEMORY_CONTROLLER_MEMORY_AGGREGATOR_DEVICE_STRUCTURE; + +/// +/// DIMM Memory Aggregator Device Structure. +/// +typedef struct { + EFI_ACPI_6_4_PMTT_COMMON_MEMORY_AGGREGATOR_DEVICE_STRUCTURE Header; + UINT16 PhysicalCom= ponentIdentifier; + UINT16 Reserved; + UINT32 SizeOfDimm; + UINT32 SmbiosHandl= e; +} EFI_ACPI_6_4_PMTT_DIMM_MEMORY_AGGREGATOR_DEVICE_STRUCTURE; + +/// +/// Boot Graphics Resource Table definition. +/// +typedef struct { + EFI_ACPI_DESCRIPTION_HEADER Header; + /// + /// 2-bytes (16 bit) version ID. This value must be 1. + /// + UINT16 Version; + /// + /// 1-byte status field indicating current status about the table. + /// Bits[7:3] =3D Reserved (must be zero) + /// Bits[2:1] =3D Orientation Offset. These bits describe the clockw= ise + /// degree offset from the image's default orientation. + /// [00] =3D 0, no offset + /// [01] =3D 90 + /// [10] =3D 180 + /// [11] =3D 270 + /// Bit [0] =3D Displayed. A one indicates the boot image graphic is + /// displayed. + /// + UINT8 Status; + /// + /// 1-byte enumerated type field indicating format of the image. + /// 0 =3D Bitmap + /// 1 - 255 Reserved (for future use) + /// + UINT8 ImageType; + /// + /// 8-byte (64 bit) physical address pointing to the firmware's in-memor= y copy + /// of the image bitmap. + /// + UINT64 ImageAddress; + /// + /// A 4-byte (32-bit) unsigned long describing the display X-offset of t= he boot image. + /// (X, Y) display offset of the top left corner of the boot image. + /// The top left corner of the display is at offset (0, 0). + /// + UINT32 ImageOffsetX; + /// + /// A 4-byte (32-bit) unsigned long describing the display Y-offset of t= he boot image. + /// (X, Y) display offset of the top left corner of the boot image. + /// The top left corner of the display is at offset (0, 0). + /// + UINT32 ImageOffsetY; +} EFI_ACPI_6_4_BOOT_GRAPHICS_RESOURCE_TABLE; + +/// +/// BGRT Revision +/// +#define EFI_ACPI_6_4_BOOT_GRAPHICS_RESOURCE_TABLE_REVISION 1 + +/// +/// BGRT Version +/// +#define EFI_ACPI_6_4_BGRT_VERSION 0x01 + +/// +/// BGRT Status +/// +#define EFI_ACPI_6_4_BGRT_STATUS_NOT_DISPLAYED 0x00 +#define EFI_ACPI_6_4_BGRT_STATUS_DISPLAYED 0x01 + +/// +/// BGRT Image Type +/// +#define EFI_ACPI_6_4_BGRT_IMAGE_TYPE_BMP 0x00 + +/// +/// FPDT Version (as defined in ACPI 6.4 spec.) +/// +#define EFI_ACPI_6_4_FIRMWARE_PERFORMANCE_DATA_TABLE_REVISION 0x01 + +/// +/// FPDT Performance Record Types +/// +#define EFI_ACPI_6_4_FPDT_RECORD_TYPE_FIRMWARE_BASIC_BOOT_POINTER 0x0= 000 +#define EFI_ACPI_6_4_FPDT_RECORD_TYPE_S3_PERFORMANCE_TABLE_POINTER 0x0= 001 + +/// +/// FPDT Performance Record Revision +/// +#define EFI_ACPI_6_4_FPDT_RECORD_REVISION_FIRMWARE_BASIC_BOOT_POINTER 0x01 +#define EFI_ACPI_6_4_FPDT_RECORD_REVISION_S3_PERFORMANCE_TABLE_POINTER 0x01 + +/// +/// FPDT Runtime Performance Record Types +/// +#define EFI_ACPI_6_4_FPDT_RUNTIME_RECORD_TYPE_S3_RESUME 0x0= 000 +#define EFI_ACPI_6_4_FPDT_RUNTIME_RECORD_TYPE_S3_SUSPEND 0x0= 001 +#define EFI_ACPI_6_4_FPDT_RUNTIME_RECORD_TYPE_FIRMWARE_BASIC_BOOT 0x0= 002 + +/// +/// FPDT Runtime Performance Record Revision +/// +#define EFI_ACPI_6_4_FPDT_RUNTIME_RECORD_REVISION_S3_RESUME 0x01 +#define EFI_ACPI_6_4_FPDT_RUNTIME_RECORD_REVISION_S3_SUSPEND 0x01 +#define EFI_ACPI_6_4_FPDT_RUNTIME_RECORD_REVISION_FIRMWARE_BASIC_BOOT 0x02 + +/// +/// FPDT Performance Record header +/// +typedef struct { + UINT16 Type; + UINT8 Length; + UINT8 Revision; +} EFI_ACPI_6_4_FPDT_PERFORMANCE_RECORD_HEADER; + +/// +/// FPDT Performance Table header +/// +typedef struct { + UINT32 Signature; + UINT32 Length; +} EFI_ACPI_6_4_FPDT_PERFORMANCE_TABLE_HEADER; + +/// +/// FPDT Firmware Basic Boot Performance Pointer Record Structure +/// +typedef struct { + EFI_ACPI_6_4_FPDT_PERFORMANCE_RECORD_HEADER Header; + UINT32 Reserved; + /// + /// 64-bit processor-relative physical address of the Basic Boot Perform= ance Table. + /// + UINT64 BootPerformanceTablePoin= ter; +} EFI_ACPI_6_4_FPDT_BOOT_PERFORMANCE_TABLE_POINTER_RECORD; + +/// +/// FPDT S3 Performance Table Pointer Record Structure +/// +typedef struct { + EFI_ACPI_6_4_FPDT_PERFORMANCE_RECORD_HEADER Header; + UINT32 Reserved; + /// + /// 64-bit processor-relative physical address of the S3 Performance Tab= le. + /// + UINT64 S3PerformanceTablePointe= r; +} EFI_ACPI_6_4_FPDT_S3_PERFORMANCE_TABLE_POINTER_RECORD; + +/// +/// FPDT Firmware Basic Boot Performance Record Structure +/// +typedef struct { + EFI_ACPI_6_4_FPDT_PERFORMANCE_RECORD_HEADER Header; + UINT32 Reserved; + /// + /// Timer value logged at the beginning of firmware image execution. + /// This may not always be zero or near zero. + /// + UINT64 ResetEnd; + /// + /// Timer value logged just prior to loading the OS boot loader into mem= ory. + /// For non-UEFI compatible boots, this field must be zero. + /// + UINT64 OsLoaderLoadImageStart; + /// + /// Timer value logged just prior to launching the previously loaded OS = boot loader image. + /// For non-UEFI compatible boots, the timer value logged will be just p= rior + /// to the INT 19h handler invocation. + /// + UINT64 OsLoaderStartImageStart; + /// + /// Timer value logged at the point when the OS loader calls the + /// ExitBootServices function for UEFI compatible firmware. + /// For non-UEFI compatible boots, this field must be zero. + /// + UINT64 ExitBootServicesEntry; + /// + /// Timer value logged at the point just prior towhen the OS loader gain= ing + /// control back from calls the ExitBootServices function for UEFI compa= tible firmware. + /// For non-UEFI compatible boots, this field must be zero. + /// + UINT64 ExitBootServicesExit; +} EFI_ACPI_6_4_FPDT_FIRMWARE_BASIC_BOOT_RECORD; + +/// +/// FPDT Firmware Basic Boot Performance Table signature +/// +#define EFI_ACPI_6_4_FPDT_BOOT_PERFORMANCE_TABLE_SIGNATURE SIGNATURE_32('= F', 'B', 'P', 'T') + +// +// FPDT Firmware Basic Boot Performance Table +// +typedef struct { + EFI_ACPI_6_4_FPDT_PERFORMANCE_TABLE_HEADER Header; + // + // one or more Performance Records. + // +} EFI_ACPI_6_4_FPDT_FIRMWARE_BASIC_BOOT_TABLE; + +/// +/// FPDT "S3PT" S3 Performance Table +/// +#define EFI_ACPI_6_4_FPDT_S3_PERFORMANCE_TABLE_SIGNATURE SIGNATURE_32('S'= , '3', 'P', 'T') + +// +// FPDT Firmware S3 Boot Performance Table +// +typedef struct { + EFI_ACPI_6_4_FPDT_PERFORMANCE_TABLE_HEADER Header; + // + // one or more Performance Records. + // +} EFI_ACPI_6_4_FPDT_FIRMWARE_S3_BOOT_TABLE; + +/// +/// FPDT Basic S3 Resume Performance Record +/// +typedef struct { + EFI_ACPI_6_4_FPDT_PERFORMANCE_RECORD_HEADER Header; + /// + /// A count of the number of S3 resume cycles since the last full boot s= equence. + /// + UINT32 ResumeCount; + /// + /// Timer recorded at the end of BIOS S3 resume, just prior to handoff t= o the + /// OS waking vector. Only the most recent resume cycle's time is retain= ed. + /// + UINT64 FullResume; + /// + /// Average timer value of all resume cycles logged since the last full = boot + /// sequence, including the most recent resume. Note that the entire lo= g of + /// timer values does not need to be retained in order to calculate this= average. + /// + UINT64 AverageResume; +} EFI_ACPI_6_4_FPDT_S3_RESUME_RECORD; + +/// +/// FPDT Basic S3 Suspend Performance Record +/// +typedef struct { + EFI_ACPI_6_4_FPDT_PERFORMANCE_RECORD_HEADER Header; + /// + /// Timer value recorded at the OS write to SLP_TYP upon entry to S3. + /// Only the most recent suspend cycle's timer value is retained. + /// + UINT64 SuspendStart; + /// + /// Timer value recorded at the final firmware write to SLP_TYP (or other + /// mechanism) used to trigger hardware entry to S3. + /// Only the most recent suspend cycle's timer value is retained. + /// + UINT64 SuspendEnd; +} EFI_ACPI_6_4_FPDT_S3_SUSPEND_RECORD; + +/// +/// Firmware Performance Record Table definition. +/// +typedef struct { + EFI_ACPI_DESCRIPTION_HEADER Header; +} EFI_ACPI_6_4_FIRMWARE_PERFORMANCE_RECORD_TABLE; + +/// +/// Generic Timer Description Table definition. +/// +typedef struct { + EFI_ACPI_DESCRIPTION_HEADER Header; + UINT64 CntControlBasePhysicalAddress; + UINT32 Reserved; + UINT32 SecurePL1TimerGSIV; + UINT32 SecurePL1TimerFlags; + UINT32 NonSecurePL1TimerGSIV; + UINT32 NonSecurePL1TimerFlags; + UINT32 VirtualTimerGSIV; + UINT32 VirtualTimerFlags; + UINT32 NonSecurePL2TimerGSIV; + UINT32 NonSecurePL2TimerFlags; + UINT64 CntReadBasePhysicalAddress; + UINT32 PlatformTimerCount; + UINT32 PlatformTimerOffset; + UINT32 VirtualPL2TimerGSIV; + UINT32 VirtualPL2TimerFlags; +} EFI_ACPI_6_4_GENERIC_TIMER_DESCRIPTION_TABLE; + +/// +/// GTDT Version (as defined in ACPI 6.4 spec.) +/// +#define EFI_ACPI_6_4_GENERIC_TIMER_DESCRIPTION_TABLE_REVISION 0x03 + +/// +/// Timer Flags. All other bits are reserved and must be 0. +/// +#define EFI_ACPI_6_4_GTDT_TIMER_FLAG_TIMER_INTERRUPT_MODE BIT0 +#define EFI_ACPI_6_4_GTDT_TIMER_FLAG_TIMER_INTERRUPT_POLARITY BIT1 +#define EFI_ACPI_6_4_GTDT_TIMER_FLAG_ALWAYS_ON_CAPABILITY BIT2 + +/// +/// Platform Timer Type +/// +#define EFI_ACPI_6_4_GTDT_GT_BLOCK 0 +#define EFI_ACPI_6_4_GTDT_SBSA_GENERIC_WATCHDOG 1 + +/// +/// GT Block Structure +/// +typedef struct { + UINT8 Type; + UINT16 Length; + UINT8 Reserved; + UINT64 CntCtlBase; + UINT32 GTBlockTimerCount; + UINT32 GTBlockTimerOffset; +} EFI_ACPI_6_4_GTDT_GT_BLOCK_STRUCTURE; + +/// +/// GT Block Timer Structure +/// +typedef struct { + UINT8 GTFrameNumber; + UINT8 Reserved[3]; + UINT64 CntBaseX; + UINT64 CntEL0BaseX; + UINT32 GTxPhysicalTimerGSIV; + UINT32 GTxPhysicalTimerFlags; + UINT32 GTxVirtualTimerGSIV; + UINT32 GTxVirtualTimerFlags; + UINT32 GTxCommonFlags; +} EFI_ACPI_6_4_GTDT_GT_BLOCK_TIMER_STRUCTURE; + +/// +/// GT Block Physical Timers and Virtual Timers Flags. All other bits are= reserved and must be 0. +/// +#define EFI_ACPI_6_4_GTDT_GT_BLOCK_TIMER_FLAG_TIMER_INTERRUPT_MODE = BIT0 +#define EFI_ACPI_6_4_GTDT_GT_BLOCK_TIMER_FLAG_TIMER_INTERRUPT_POLARITY = BIT1 + +/// +/// Common Flags Flags. All other bits are reserved and must be 0. +/// +#define EFI_ACPI_6_4_GTDT_GT_BLOCK_COMMON_FLAG_SECURE_TIMER B= IT0 +#define EFI_ACPI_6_4_GTDT_GT_BLOCK_COMMON_FLAG_ALWAYS_ON_CAPABILITY B= IT1 + +/// +/// SBSA Generic Watchdog Structure +/// +typedef struct { + UINT8 Type; + UINT16 Length; + UINT8 Reserved; + UINT64 RefreshFramePhysicalAddress; + UINT64 WatchdogControlFramePhysicalAddress; + UINT32 WatchdogTimerGSIV; + UINT32 WatchdogTimerFlags; +} EFI_ACPI_6_4_GTDT_SBSA_GENERIC_WATCHDOG_STRUCTURE; + +/// +/// SBSA Generic Watchdog Timer Flags. All other bits are reserved and mu= st be 0. +/// +#define EFI_ACPI_6_4_GTDT_SBSA_GENERIC_WATCHDOG_FLAG_TIMER_INTERRUPT_MODE = BIT0 +#define EFI_ACPI_6_4_GTDT_SBSA_GENERIC_WATCHDOG_FLAG_TIMER_INTERRUPT_POLAR= ITY BIT1 +#define EFI_ACPI_6_4_GTDT_SBSA_GENERIC_WATCHDOG_FLAG_SECURE_TIMER = BIT2 + +// +// NVDIMM Firmware Interface Table definition. +// +typedef struct { + EFI_ACPI_DESCRIPTION_HEADER Header; + UINT32 Reserved; +} EFI_ACPI_6_4_NVDIMM_FIRMWARE_INTERFACE_TABLE; + +// +// NFIT Version (as defined in ACPI 6.4 spec.) +// +#define EFI_ACPI_6_4_NVDIMM_FIRMWARE_INTERFACE_TABLE_REVISION 0x1 + +// +// Definition for NFIT Table Structure Types +// +#define EFI_ACPI_6_4_NFIT_SYSTEM_PHYSICAL_ADDRESS_RANGE_STRUCTURE_TYPE = 0 +#define EFI_ACPI_6_4_NFIT_NVDIMM_REGION_MAPPING_STRUCTURE_TYPE = 1 +#define EFI_ACPI_6_4_NFIT_INTERLEAVE_STRUCTURE_TYPE = 2 +#define EFI_ACPI_6_4_NFIT_SMBIOS_MANAGEMENT_INFORMATION_STRUCTURE_TYPE = 3 +#define EFI_ACPI_6_4_NFIT_NVDIMM_CONTROL_REGION_STRUCTURE_TYPE = 4 +#define EFI_ACPI_6_4_NFIT_NVDIMM_BLOCK_DATA_WINDOW_REGION_STRUCTURE_TYPE = 5 +#define EFI_ACPI_6_4_NFIT_FLUSH_HINT_ADDRESS_STRUCTURE_TYPE = 6 + +// +// Definition for NFIT Structure Header +// +typedef struct { + UINT16 Type; + UINT16 Length; +} EFI_ACPI_6_4_NFIT_STRUCTURE_HEADER; + +// +// Definition for System Physical Address Range Structure +// +#define EFI_ACPI_6_4_NFIT_SYSTEM_PHYSICAL_ADDRESS_RANGE_FLAGS_CONTROL_REGI= ON_FOR_MANAGEMENT BIT0 +#define EFI_ACPI_6_4_NFIT_SYSTEM_PHYSICAL_ADDRESS_RANGE_FLAGS_PROXIMITY_DO= MAIN_VALID BIT1 +#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 }} +#define EFI_ACPI_6_4_NFIT_GUID_NVDIMM_BLOCK_DATA_WINDOW_REGION = { 0x91AF0530, 0x5D86, 0x470E, { 0xA6, 0xB0, 0x0A, 0x2D, 0xB9, 0x40,= 0x82, 0x49 }} +#define EFI_ACPI_6_4_NFIT_GUID_RAM_DISK_SUPPORTING_VIRTUAL_DISK_REGION_VOL= ATILE { 0x77AB535A, 0x45FC, 0x624B, { 0x55, 0x60, 0xF7, 0xB2, 0x81, 0xD1,= 0xF9, 0x6E }} +#define EFI_ACPI_6_4_NFIT_GUID_RAM_DISK_SUPPORTING_VIRTUAL_CD_REGION_VOLAT= ILE { 0x3D5ABD30, 0x4175, 0x87CE, { 0x6D, 0x64, 0xD2, 0xAD, 0xE5, 0x23,= 0xC4, 0xBB }} +#define EFI_ACPI_6_4_NFIT_GUID_RAM_DISK_SUPPORTING_VIRTUAL_DISK_REGION_PER= SISTENT { 0x5CEA02C9, 0x4D07, 0x69D3, { 0x26, 0x9F ,0x44, 0x96, 0xFB, 0xE0,= 0x96, 0xF9 }} +#define EFI_ACPI_6_4_NFIT_GUID_RAM_DISK_SUPPORTING_VIRTUAL_CD_REGION_PERSI= STENT { 0x08018188, 0x42CD, 0xBB48, { 0x10, 0x0F, 0x53, 0x87, 0xD5, 0x3D,= 0xED, 0x3D }} +typedef struct { + UINT16 Type; + UINT16 Length; + UINT16 SPARangeStructureIndex; + UINT16 Flags; + UINT32 Reserved_8; + UINT32 ProximityDomain; + GUID AddressRangeTypeGUID; + UINT64 SystemPhysicalAddressRangeBa= se; + UINT64 SystemPhysicalAddressRangeLe= ngth; + UINT64 AddressRangeMemoryMappingAtt= ribute; +} EFI_ACPI_6_4_NFIT_SYSTEM_PHYSICAL_ADDRESS_RANGE_STRUCTURE; + +// +// Definition for Memory Device to System Physical Address Range Mapping S= tructure +// +typedef struct { + UINT32 DIMMNumber:4; + UINT32 MemoryChannelNumber:4; + UINT32 MemoryControllerID:4; + UINT32 SocketID:4; + UINT32 NodeControllerID:12; + UINT32 Reserved_28:4; +} EFI_ACPI_6_4_NFIT_DEVICE_HANDLE; + +#define EFI_ACPI_6_4_NFIT_MEMORY_DEVICE_STATE_FLAGS_PREVIOUS_SAVE_FAIL = BIT0 +#define EFI_ACPI_6_4_NFIT_MEMORY_DEVICE_STATE_FLAGS_LAST_RESTORE_FAIL = BIT1 +#define EFI_ACPI_6_4_NFIT_MEMORY_DEVICE_STATE_FLAGS_PLATFORM_FLUSH_FAIL = BIT2 +#define EFI_ACPI_6_4_NFIT_MEMORY_DEVICE_STATE_FLAGS_NOT_ARMED_PRIOR_TO_OSP= M_HAND_OFF BIT3 +#define EFI_ACPI_6_4_NFIT_MEMORY_DEVICE_STATE_FLAGS_SMART_HEALTH_EVENTS_PR= IOR_OSPM_HAND_OFF BIT4 +#define EFI_ACPI_6_4_NFIT_MEMORY_DEVICE_STATE_FLAGS_FIRMWARE_ENABLED_TO_NO= TIFY_OSPM_ON_SMART_HEALTH_EVENTS BIT5 +#define EFI_ACPI_6_4_NFIT_MEMORY_DEVICE_STATE_FLAGS_FIRMWARE_NOT_MAP_NVDIM= M_TO_SPA BIT6 +typedef struct { + UINT16 Type; + UINT16 Length; + EFI_ACPI_6_4_NFIT_DEVICE_HANDLE NFITDeviceHandle; + UINT16 NVDIMMPhysicalID; + UINT16 NVDIMMRegionID; + UINT16 SPARangeStructureIndex ; + UINT16 NVDIMMControlRegionStructure= Index; + UINT64 NVDIMMRegionSize; + UINT64 RegionOffset; + UINT64 NVDIMMPhysicalAddressRegionB= ase; + UINT16 InterleaveStructureIndex; + UINT16 InterleaveWays; + UINT16 NVDIMMStateFlags; + UINT16 Reserved_46; +} EFI_ACPI_6_4_NFIT_NVDIMM_REGION_MAPPING_STRUCTURE; + +// +// Definition for Interleave Structure +// +typedef struct { + UINT16 Type; + UINT16 Length; + UINT16 InterleaveStructureIndex; + UINT16 Reserved_6; + UINT32 NumberOfLines; + UINT32 LineSize; +//UINT32 LineOffset[NumberOfLines]; +} EFI_ACPI_6_4_NFIT_INTERLEAVE_STRUCTURE; + +// +// Definition for SMBIOS Management Information Structure +// +typedef struct { + UINT16 Type; + UINT16 Length; + UINT32 Reserved_4; +//UINT8 Data[]; +} EFI_ACPI_6_4_NFIT_SMBIOS_MANAGEMENT_INFORMATION_STRUCTURE; + +// +// Definition for NVDIMM Control Region Structure +// +#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_B= UFFERED BIT0 +typedef struct { + UINT16 Type; + UINT16 Length; + UINT16 NVDIMMControlRegionStructure= Index; + UINT16 VendorID; + UINT16 DeviceID; + UINT16 RevisionID; + UINT16 SubsystemVendorID; + UINT16 SubsystemDeviceID; + UINT16 SubsystemRevisionID; + UINT8 ValidFields; + UINT8 ManufacturingLocation; + UINT16 ManufacturingDate; + UINT8 Reserved_22[2]; + UINT32 SerialNumber; + UINT16 RegionFormatInterfaceCode; + UINT16 NumberOfBlockControlWindows; + UINT64 SizeOfBlockControlWindow; + UINT64 CommandRegisterOffsetInBlock= ControlWindow; + UINT64 SizeOfCommandRegisterInBlock= ControlWindows; + UINT64 StatusRegisterOffsetInBlockC= ontrolWindow; + UINT64 SizeOfStatusRegisterInBlockC= ontrolWindows; + UINT16 NVDIMMControlRegionFlag; + UINT8 Reserved_74[6]; +} EFI_ACPI_6_4_NFIT_NVDIMM_CONTROL_REGION_STRUCTURE; + +// +// Definition for NVDIMM Block Data Window Region Structure +// +typedef struct { + UINT16 Type; + UINT16 Length; + UINT16 NVDIMMControlRegionStructure= Index; + UINT16 NumberOfBlockDataWindows; + UINT64 BlockDataWindowStartOffset; + UINT64 SizeOfBlockDataWindow; + UINT64 BlockAccessibleMemoryCapacit= y; + UINT64 BeginningAddressOfFirstBlock= InBlockAccessibleMemory; +} EFI_ACPI_6_4_NFIT_NVDIMM_BLOCK_DATA_WINDOW_REGION_STRUCTURE; + +// +// Definition for Flush Hint Address Structure +// +typedef struct { + UINT16 Type; + UINT16 Length; + EFI_ACPI_6_4_NFIT_DEVICE_HANDLE NFITDeviceHandle; + UINT16 NumberOfFlushHintAddresses; + UINT8 Reserved_10[6]; +//UINT64 FlushHintAddress[NumberOfFlu= shHintAddresses]; +} EFI_ACPI_6_4_NFIT_FLUSH_HINT_ADDRESS_STRUCTURE; + +/// +/// Secure DEVices Table (SDEV) +/// +typedef struct { + EFI_ACPI_DESCRIPTION_HEADER Header; +} EFI_ACPI_6_4_SECURE_DEVICES_TABLE_HEADER; + +/// +/// SDEV Revision (as defined in ACPI 6.4 spec.) +/// +#define EFI_ACPI_6_4_SECURE_DEVICES_TABLE_REVISION 0x01 + +/// +/// Secure Devcice types +/// +#define EFI_ACPI_6_4_SDEV_TYPE_PCIE_ENDPOINT_DEVICE 0x01 +#define EFI_ACPI_6_4_SDEV_TYPE_ACPI_NAMESPACE_DEVICE 0x00 + +/// +/// Secure Devcice flags +/// +#define EFI_ACPI_6_4_SDEV_FLAG_ALLOW_HANDOFF BIT0 + +/// +/// SDEV Structure Header +/// +typedef struct { + UINT8 Type; + UINT8 Flags; + UINT16 Length; +} EFI_ACPI_6_4_SDEV_STRUCTURE_HEADER; + +/// +/// PCIe Endpoint Device based Secure Device Structure +/// +typedef struct { + UINT8 Type; + UINT8 Flags; + UINT16 Length; + UINT16 PciSegmentNumber; + UINT16 StartBusNumber; + UINT16 PciPathOffset; + UINT16 PciPathLength; + UINT16 VendorSpecificDataOffset; + UINT16 VendorSpecificDataLength; +} EFI_ACPI_6_4_SDEV_STRUCTURE_PCIE_ENDPOINT_DEVICE; + +/// +/// ACPI_NAMESPACE_DEVICE based Secure Device Structure +/// +typedef struct { + UINT8 Type; + UINT8 Flags; + UINT16 Length; + UINT16 DeviceIdentifierOffset; + UINT16 DeviceIdentifierLength; + UINT16 VendorSpecificDataOffset; + UINT16 VendorSpecificDataLength; +} EFI_ACPI_6_4_SDEV_STRUCTURE_ACPI_NAMESPACE_DEVICE; + +/// +/// Boot Error Record Table (BERT) +/// +typedef struct { + EFI_ACPI_DESCRIPTION_HEADER Header; + UINT32 BootErrorRegionLength; + UINT64 BootErrorRegion; +} EFI_ACPI_6_4_BOOT_ERROR_RECORD_TABLE_HEADER; + +/// +/// BERT Version (as defined in ACPI 6.4 spec.) +/// +#define EFI_ACPI_6_4_BOOT_ERROR_RECORD_TABLE_REVISION 0x01 + +/// +/// Boot Error Region Block Status Definition +/// +typedef struct { + UINT32 UncorrectableErrorValid:1; + UINT32 CorrectableErrorValid:1; + UINT32 MultipleUncorrectableErrors:1; + UINT32 MultipleCorrectableErrors:1; + UINT32 ErrorDataEntryCount:10; + UINT32 Reserved:18; +} EFI_ACPI_6_4_ERROR_BLOCK_STATUS; + +/// +/// Boot Error Region Definition +/// +typedef struct { + EFI_ACPI_6_4_ERROR_BLOCK_STATUS BlockStatus; + UINT32 RawDataOffset; + UINT32 RawDataLength; + UINT32 DataLength; + UINT32 ErrorSeverity; +} EFI_ACPI_6_4_BOOT_ERROR_REGION_STRUCTURE; + +// +// Boot Error Severity types +// +#define EFI_ACPI_6_4_ERROR_SEVERITY_CORRECTABLE 0x00 +#define EFI_ACPI_6_4_ERROR_SEVERITY_FATAL 0x01 +#define EFI_ACPI_6_4_ERROR_SEVERITY_CORRECTED 0x02 +#define EFI_ACPI_6_4_ERROR_SEVERITY_NONE 0x03 + +/// +/// Generic Error Data Entry Definition +/// +typedef struct { + UINT8 SectionType[16]; + UINT32 ErrorSeverity; + UINT16 Revision; + UINT8 ValidationBits; + UINT8 Flags; + UINT32 ErrorDataLength; + UINT8 FruId[16]; + UINT8 FruText[20]; + UINT8 Timestamp[8]; +} EFI_ACPI_6_4_GENERIC_ERROR_DATA_ENTRY_STRUCTURE; + +/// +/// Generic Error Data Entry Version (as defined in ACPI 6.4 spec.) +/// +#define EFI_ACPI_6_4_GENERIC_ERROR_DATA_ENTRY_REVISION 0x0300 + +/// +/// HEST - Hardware Error Source Table +/// +typedef struct { + EFI_ACPI_DESCRIPTION_HEADER Header; + UINT32 ErrorSourceCount; +} EFI_ACPI_6_4_HARDWARE_ERROR_SOURCE_TABLE_HEADER; + +/// +/// HEST Version (as defined in ACPI 6.4 spec.) +/// +#define EFI_ACPI_6_4_HARDWARE_ERROR_SOURCE_TABLE_REVISION 0x01 + +// +// Error Source structure types. +// +#define EFI_ACPI_6_4_IA32_ARCHITECTURE_MACHINE_CHECK_EXCEPTION 0x00 +#define EFI_ACPI_6_4_IA32_ARCHITECTURE_CORRECTED_MACHINE_CHECK 0x01 +#define EFI_ACPI_6_4_IA32_ARCHITECTURE_NMI_ERROR 0x02 +#define EFI_ACPI_6_4_PCI_EXPRESS_ROOT_PORT_AER 0x06 +#define EFI_ACPI_6_4_PCI_EXPRESS_DEVICE_AER 0x07 +#define EFI_ACPI_6_4_PCI_EXPRESS_BRIDGE_AER 0x08 +#define EFI_ACPI_6_4_GENERIC_HARDWARE_ERROR 0x09 +#define EFI_ACPI_6_4_GENERIC_HARDWARE_ERROR_VERSION_2 0x0A +#define EFI_ACPI_6_4_IA32_ARCHITECTURE_DEFERRED_MACHINE_CHECK 0x0B + +// +// Error Source structure flags. +// +#define EFI_ACPI_6_4_ERROR_SOURCE_FLAG_FIRMWARE_FIRST (1 << 0) +#define EFI_ACPI_6_4_ERROR_SOURCE_FLAG_GLOBAL (1 << 1) +#define EFI_ACPI_6_4_ERROR_SOURCE_FLAG_GHES_ASSIST (1 << 2) + +/// +/// IA-32 Architecture Machine Check Exception Structure Definition +/// +typedef struct { + UINT16 Type; + UINT16 SourceId; + UINT8 Reserved0[2]; + UINT8 Flags; + UINT8 Enabled; + UINT32 NumberOfRecordsToPreAllocate; + UINT32 MaxSectionsPerRecord; + UINT64 GlobalCapabilityInitData; + UINT64 GlobalControlInitData; + UINT8 NumberOfHardwareBanks; + UINT8 Reserved1[7]; +} EFI_ACPI_6_4_IA32_ARCHITECTURE_MACHINE_CHECK_EXCEPTION_STRUCTURE; + +/// +/// IA-32 Architecture Machine Check Bank Structure Definition +/// +typedef struct { + UINT8 BankNumber; + UINT8 ClearStatusOnInitialization; + UINT8 StatusDataFormat; + UINT8 Reserved0; + UINT32 ControlRegisterMsrAddress; + UINT64 ControlInitData; + UINT32 StatusRegisterMsrAddress; + UINT32 AddressRegisterMsrAddress; + UINT32 MiscRegisterMsrAddress; +} EFI_ACPI_6_4_IA32_ARCHITECTURE_MACHINE_CHECK_ERROR_BANK_STRUCTURE; + +/// +/// IA-32 Architecture Machine Check Bank Structure MCA data format +/// +#define EFI_ACPI_6_4_IA32_ARCHITECTURE_MACHINE_CHECK_ERROR_DATA_FORMAT_IA3= 2 0x00 +#define EFI_ACPI_6_4_IA32_ARCHITECTURE_MACHINE_CHECK_ERROR_DATA_FORMAT_INT= EL64 0x01 +#define EFI_ACPI_6_4_IA32_ARCHITECTURE_MACHINE_CHECK_ERROR_DATA_FORMAT_AMD= 64 0x02 + +// +// Hardware Error Notification types. All other values are reserved +// +#define EFI_ACPI_6_4_HARDWARE_ERROR_NOTIFICATION_POLLED = 0x00 +#define EFI_ACPI_6_4_HARDWARE_ERROR_NOTIFICATION_EXTERNAL_INTERRUPT = 0x01 +#define EFI_ACPI_6_4_HARDWARE_ERROR_NOTIFICATION_LOCAL_INTERRUPT = 0x02 +#define EFI_ACPI_6_4_HARDWARE_ERROR_NOTIFICATION_SCI = 0x03 +#define EFI_ACPI_6_4_HARDWARE_ERROR_NOTIFICATION_NMI = 0x04 +#define EFI_ACPI_6_4_HARDWARE_ERROR_NOTIFICATION_CMCI = 0x05 +#define EFI_ACPI_6_4_HARDWARE_ERROR_NOTIFICATION_MCE = 0x06 +#define EFI_ACPI_6_4_HARDWARE_ERROR_NOTIFICATION_GPIO_SIGNAL = 0x07 +#define EFI_ACPI_6_4_HARDWARE_ERROR_NOTIFICATION_ARMV8_SEA = 0x08 +#define EFI_ACPI_6_4_HARDWARE_ERROR_NOTIFICATION_ARMV8_SEI = 0x09 +#define EFI_ACPI_6_4_HARDWARE_ERROR_NOTIFICATION_GSIV = 0x0A +#define EFI_ACPI_6_4_HARDWARE_ERROR_NOTIFICATION_SOFTWARE_DELEGATED_EXCEPT= ION 0x0B + +/// +/// Hardware Error Notification Configuration Write Enable Structure Defin= ition +/// +typedef struct { + UINT16 Type:1; + UINT16 PollInterval:1; + UINT16 SwitchToPollingThresholdValue:1; + UINT16 SwitchToPollingThresholdWindow:1; + UINT16 ErrorThresholdValue:1; + UINT16 ErrorThresholdWindow:1; + UINT16 Reserved:10; +} EFI_ACPI_6_4_HARDWARE_ERROR_NOTIFICATION_CONFIGURATION_WRITE_ENABLE_STRU= CTURE; + +/// +/// Hardware Error Notification Structure Definition +/// +typedef struct { + UINT8 = Type; + UINT8 = Length; + EFI_ACPI_6_4_HARDWARE_ERROR_NOTIFICATION_CONFIGURATION_WRITE_ENABLE_STRU= CTURE ConfigurationWriteEnable; + UINT32 = PollInterval; + UINT32 = Vector; + UINT32 = SwitchToPollingThresholdValue; + UINT32 = SwitchToPollingThresholdWindow; + UINT32 = ErrorThresholdValue; + UINT32 = ErrorThresholdWindow; +} EFI_ACPI_6_4_HARDWARE_ERROR_NOTIFICATION_STRUCTURE; + +/// +/// IA-32 Architecture Corrected Machine Check Structure Definition +/// +typedef struct { + UINT16 Type; + UINT16 SourceId; + UINT8 Reserved0[2]; + UINT8 Flags; + UINT8 Enabled; + UINT32 NumberOfRecordsTo= PreAllocate; + UINT32 MaxSectionsPerRec= ord; + EFI_ACPI_6_4_HARDWARE_ERROR_NOTIFICATION_STRUCTURE NotificationStruc= ture; + UINT8 NumberOfHardwareB= anks; + UINT8 Reserved1[3]; +} EFI_ACPI_6_4_IA32_ARCHITECTURE_CORRECTED_MACHINE_CHECK_STRUCTURE; + +/// +/// IA-32 Architecture NMI Error Structure Definition +/// +typedef struct { + UINT16 Type; + UINT16 SourceId; + UINT8 Reserved0[2]; + UINT32 NumberOfRecordsToPreAllocate; + UINT32 MaxSectionsPerRecord; + UINT32 MaxRawDataLength; +} EFI_ACPI_6_4_IA32_ARCHITECTURE_NMI_ERROR_STRUCTURE; + +/// +/// PCI Express Root Port AER Structure Definition +/// +typedef struct { + UINT16 Type; + UINT16 SourceId; + UINT8 Reserved0[2]; + UINT8 Flags; + UINT8 Enabled; + UINT32 NumberOfRecordsToPreAllocate; + UINT32 MaxSectionsPerRecord; + UINT32 Bus; + UINT16 Device; + UINT16 Function; + UINT16 DeviceControl; + UINT8 Reserved1[2]; + UINT32 UncorrectableErrorMask; + UINT32 UncorrectableErrorSeverity; + UINT32 CorrectableErrorMask; + UINT32 AdvancedErrorCapabilitiesAndControl; + UINT32 RootErrorCommand; +} EFI_ACPI_6_4_PCI_EXPRESS_ROOT_PORT_AER_STRUCTURE; + +/// +/// PCI Express Device AER Structure Definition +/// +typedef struct { + UINT16 Type; + UINT16 SourceId; + UINT8 Reserved0[2]; + UINT8 Flags; + UINT8 Enabled; + UINT32 NumberOfRecordsToPreAllocate; + UINT32 MaxSectionsPerRecord; + UINT32 Bus; + UINT16 Device; + UINT16 Function; + UINT16 DeviceControl; + UINT8 Reserved1[2]; + UINT32 UncorrectableErrorMask; + UINT32 UncorrectableErrorSeverity; + UINT32 CorrectableErrorMask; + UINT32 AdvancedErrorCapabilitiesAndControl; +} EFI_ACPI_6_4_PCI_EXPRESS_DEVICE_AER_STRUCTURE; + +/// +/// PCI Express Bridge AER Structure Definition +/// +typedef struct { + UINT16 Type; + UINT16 SourceId; + UINT8 Reserved0[2]; + UINT8 Flags; + UINT8 Enabled; + UINT32 NumberOfRecordsToPreAllocate; + UINT32 MaxSectionsPerRecord; + UINT32 Bus; + UINT16 Device; + UINT16 Function; + UINT16 DeviceControl; + UINT8 Reserved1[2]; + UINT32 UncorrectableErrorMask; + UINT32 UncorrectableErrorSeverity; + UINT32 CorrectableErrorMask; + UINT32 AdvancedErrorCapabilitiesAndControl; + UINT32 SecondaryUncorrectableErrorMask; + UINT32 SecondaryUncorrectableErrorSeverity; + UINT32 SecondaryAdvancedErrorCapabilitiesAndControl; +} EFI_ACPI_6_4_PCI_EXPRESS_BRIDGE_AER_STRUCTURE; + +/// +/// Generic Hardware Error Source Structure Definition +/// +typedef struct { + UINT16 Type; + UINT16 SourceId; + UINT16 RelatedSourceId; + UINT8 Flags; + UINT8 Enabled; + UINT32 NumberOfRecordsTo= PreAllocate; + UINT32 MaxSectionsPerRec= ord; + UINT32 MaxRawDataLength; + EFI_ACPI_6_4_GENERIC_ADDRESS_STRUCTURE ErrorStatusAddres= s; + EFI_ACPI_6_4_HARDWARE_ERROR_NOTIFICATION_STRUCTURE NotificationStruc= ture; + UINT32 ErrorStatusBlockL= ength; +} EFI_ACPI_6_4_GENERIC_HARDWARE_ERROR_SOURCE_STRUCTURE; + +/// +/// Generic Hardware Error Source Version 2 Structure Definition +/// +typedef struct { + UINT16 Type; + UINT16 SourceId; + UINT16 RelatedSourceId; + UINT8 Flags; + UINT8 Enabled; + UINT32 NumberOfRecordsTo= PreAllocate; + UINT32 MaxSectionsPerRec= ord; + UINT32 MaxRawDataLength; + EFI_ACPI_6_4_GENERIC_ADDRESS_STRUCTURE ErrorStatusAddres= s; + EFI_ACPI_6_4_HARDWARE_ERROR_NOTIFICATION_STRUCTURE NotificationStruc= ture; + UINT32 ErrorStatusBlockL= ength; + EFI_ACPI_6_4_GENERIC_ADDRESS_STRUCTURE ReadAckRegister; + UINT64 ReadAckPreserve; + UINT64 ReadAckWrite; +} EFI_ACPI_6_4_GENERIC_HARDWARE_ERROR_SOURCE_VERSION_2_STRUCTURE; + +/// +/// Generic Error Status Definition +/// +typedef struct { + EFI_ACPI_6_4_ERROR_BLOCK_STATUS BlockStatus; + UINT32 RawDataOffset; + UINT32 RawDataLength; + UINT32 DataLength; + UINT32 ErrorSeverity; +} EFI_ACPI_6_4_GENERIC_ERROR_STATUS_STRUCTURE; + +/// +/// IA-32 Architecture Deferred Machine Check Structure Definition +/// +typedef struct { + UINT16 Type; + UINT16 SourceId; + UINT8 Reserved0[2]; + UINT8 Flags; + UINT8 Enabled; + UINT32 NumberOfRecordsToP= reAllocate; + UINT32 MaxSectionsPerReco= rd; + EFI_ACPI_6_4_HARDWARE_ERROR_NOTIFICATION_STRUCTURE NotificationStruct= ure; + UINT8 NumberOfHardwareBa= nks; + UINT8 Reserved1[3]; +} EFI_ACPI_6_4_IA32_ARCHITECTURE_DEFERRED_MACHINE_CHECK_STRUCTURE;; + +/// +/// HMAT - Heterogeneous Memory Attribute Table +/// +typedef struct { + EFI_ACPI_DESCRIPTION_HEADER Header; + UINT8 Reserved[4]; +} EFI_ACPI_6_4_HETEROGENEOUS_MEMORY_ATTRIBUTE_TABLE_HEADER; + +/// +/// HMAT Revision (as defined in ACPI 6.4 spec.) +/// +#define EFI_ACPI_6_4_HETEROGENEOUS_MEMORY_ATTRIBUTE_TABLE_REVISION 0x02 + +/// +/// HMAT types +/// +#define EFI_ACPI_6_4_HMAT_TYPE_MEMORY_PROXIMITY_DOMAIN_ATTRIBUTES = 0x00 +#define EFI_ACPI_6_4_HMAT_TYPE_SYSTEM_LOCALITY_LATENCY_AND_BANDWIDTH_INFO = 0x01 +#define EFI_ACPI_6_4_HMAT_TYPE_MEMORY_SIDE_CACHE_INFO = 0x02 + +/// +/// HMAT Structure Header +/// +typedef struct { + UINT16 Type; + UINT8 Reserved[2]; + UINT32 Length; +} EFI_ACPI_6_4_HMAT_STRUCTURE_HEADER; + +/// +/// Memory Proximity Domain Attributes Structure flags +/// +typedef struct { + UINT16 InitiatorProximityDomainValid:1; + UINT16 Reserved:15; +} EFI_ACPI_6_4_HMAT_STRUCTURE_MEMORY_PROXIMITY_DOMAIN_ATTRIBUTES_FLAGS; + +/// +/// Memory Proximity Domain Attributes Structure +/// +typedef struct { + UINT16 Ty= pe; + UINT8 Re= served[2]; + UINT32 Le= ngth; + EFI_ACPI_6_4_HMAT_STRUCTURE_MEMORY_PROXIMITY_DOMAIN_ATTRIBUTES_FLAGS Fl= ags; + UINT8 Re= served1[2]; + UINT32 In= itiatorProximityDomain; + UINT32 Me= moryProximityDomain; + UINT8 Re= served2[20]; +} EFI_ACPI_6_4_HMAT_STRUCTURE_MEMORY_PROXIMITY_DOMAIN_ATTRIBUTES; + +/// +/// System Locality Latency and Bandwidth Information Structure flags +/// +typedef struct { + UINT8 MemoryHierarchy:4; + UINT8 Reserved:4; +} EFI_ACPI_6_4_HMAT_STRUCTURE_SYSTEM_LOCALITY_LATENCY_AND_BANDWIDTH_INFO_F= LAGS; + +/// +/// System Locality Latency and Bandwidth Information Structure +/// +typedef struct { + UINT16 = Type; + UINT8 = Reserved[2]; + UINT32 = Length; + EFI_ACPI_6_4_HMAT_STRUCTURE_SYSTEM_LOCALITY_LATENCY_AND_BANDWIDTH_INFO_F= LAGS Flags; + UINT8 = DataType; + UINT8 = Reserved1[2]; + UINT32 = NumberOfInitiatorProximityDomains; + UINT32 = NumberOfTargetProximityDomains; + UINT8 = Reserved2[4]; + UINT64 = EntryBaseUnit; +} EFI_ACPI_6_4_HMAT_STRUCTURE_SYSTEM_LOCALITY_LATENCY_AND_BANDWIDTH_INFO; + +/// +/// Memory Side Cache Information Structure cache attributes +/// +typedef struct { + UINT32 TotalCacheLevels:4; + UINT32 CacheLevel:4; + UINT32 CacheAssociativity:4; + UINT32 WritePolicy:4; + UINT32 CacheLineSize:16; +} EFI_ACPI_6_4_HMAT_STRUCTURE_MEMORY_SIDE_CACHE_INFO_CACHE_ATTRIBUTES; + +/// +/// Memory Side Cache Information Structure +/// +typedef struct { + UINT16 Ty= pe; + UINT8 Re= served[2]; + UINT32 Le= ngth; + UINT32 Me= moryProximityDomain; + UINT8 Re= served1[4]; + UINT64 Me= morySideCacheSize; + EFI_ACPI_6_4_HMAT_STRUCTURE_MEMORY_SIDE_CACHE_INFO_CACHE_ATTRIBUTES Ca= cheAttributes; + UINT8 Re= served2[2]; + UINT16 Nu= mberOfSmbiosHandles; +} EFI_ACPI_6_4_HMAT_STRUCTURE_MEMORY_SIDE_CACHE_INFO; + +/// +/// ERST - Error Record Serialization Table +/// +typedef struct { + EFI_ACPI_DESCRIPTION_HEADER Header; + UINT32 SerializationHeaderSize; + UINT8 Reserved0[4]; + UINT32 InstructionEntryCount; +} EFI_ACPI_6_4_ERROR_RECORD_SERIALIZATION_TABLE_HEADER; + +/// +/// ERST Version (as defined in ACPI 6.4 spec.) +/// +#define EFI_ACPI_6_4_ERROR_RECORD_SERIALIZATION_TABLE_REVISION 0x01 + +/// +/// ERST Serialization Actions +/// +#define EFI_ACPI_6_4_ERST_BEGIN_WRITE_OPERATION 0x00 +#define EFI_ACPI_6_4_ERST_BEGIN_READ_OPERATION 0x01 +#define EFI_ACPI_6_4_ERST_BEGIN_CLEAR_OPERATION 0x02 +#define EFI_ACPI_6_4_ERST_END_OPERATION 0x03 +#define EFI_ACPI_6_4_ERST_SET_RECORD_OFFSET 0x04 +#define EFI_ACPI_6_4_ERST_EXECUTE_OPERATION 0x05 +#define EFI_ACPI_6_4_ERST_CHECK_BUSY_STATUS 0x06 +#define EFI_ACPI_6_4_ERST_GET_COMMAND_STATUS 0x07 +#define EFI_ACPI_6_4_ERST_GET_RECORD_IDENTIFIER 0x08 +#define EFI_ACPI_6_4_ERST_SET_RECORD_IDENTIFIER 0x09 +#define EFI_ACPI_6_4_ERST_GET_RECORD_COUNT 0x0A +#define EFI_ACPI_6_4_ERST_BEGIN_DUMMY_WRITE_OPERATION 0x0B +#define EFI_ACPI_6_4_ERST_GET_ERROR_LOG_ADDRESS_RANGE 0x0D +#define EFI_ACPI_6_4_ERST_GET_ERROR_LOG_ADDRESS_RANGE_LENGTH 0x0E +#define EFI_ACPI_6_4_ERST_GET_ERROR_LOG_ADDRESS_RANGE_ATTRIBUTES 0x0F +#define EFI_ACPI_6_4_ERST_GET_EXECUTE_OPERATION_TIMINGS 0x10 + +/// +/// ERST Action Command Status +/// +#define EFI_ACPI_6_4_ERST_STATUS_SUCCESS 0x00 +#define EFI_ACPI_6_4_ERST_STATUS_NOT_ENOUGH_SPACE 0x01 +#define EFI_ACPI_6_4_ERST_STATUS_HARDWARE_NOT_AVAILABLE 0x02 +#define EFI_ACPI_6_4_ERST_STATUS_FAILED 0x03 +#define EFI_ACPI_6_4_ERST_STATUS_RECORD_STORE_EMPTY 0x04 +#define EFI_ACPI_6_4_ERST_STATUS_RECORD_NOT_FOUND 0x05 + +/// +/// ERST Serialization Instructions +/// +#define EFI_ACPI_6_4_ERST_READ_REGISTER 0x00 +#define EFI_ACPI_6_4_ERST_READ_REGISTER_VALUE 0x01 +#define EFI_ACPI_6_4_ERST_WRITE_REGISTER 0x02 +#define EFI_ACPI_6_4_ERST_WRITE_REGISTER_VALUE 0x03 +#define EFI_ACPI_6_4_ERST_NOOP 0x04 +#define EFI_ACPI_6_4_ERST_LOAD_VAR1 0x05 +#define EFI_ACPI_6_4_ERST_LOAD_VAR2 0x06 +#define EFI_ACPI_6_4_ERST_STORE_VAR1 0x07 +#define EFI_ACPI_6_4_ERST_ADD 0x08 +#define EFI_ACPI_6_4_ERST_SUBTRACT 0x09 +#define EFI_ACPI_6_4_ERST_ADD_VALUE 0x0A +#define EFI_ACPI_6_4_ERST_SUBTRACT_VALUE 0x0B +#define EFI_ACPI_6_4_ERST_STALL 0x0C +#define EFI_ACPI_6_4_ERST_STALL_WHILE_TRUE 0x0D +#define EFI_ACPI_6_4_ERST_SKIP_NEXT_INSTRUCTION_IF_TRUE 0x0E +#define EFI_ACPI_6_4_ERST_GOTO 0x0F +#define EFI_ACPI_6_4_ERST_SET_SRC_ADDRESS_BASE 0x10 +#define EFI_ACPI_6_4_ERST_SET_DST_ADDRESS_BASE 0x11 +#define EFI_ACPI_6_4_ERST_MOVE_DATA 0x12 + +/// +/// ERST Instruction Flags +/// +#define EFI_ACPI_6_4_ERST_PRESERVE_REGISTER 0x01 + +/// +/// ERST Serialization Instruction Entry +/// +typedef struct { + UINT8 SerializationAction; + UINT8 Instruction; + UINT8 Flags; + UINT8 Reserved0; + EFI_ACPI_6_4_GENERIC_ADDRESS_STRUCTURE RegisterRegion; + UINT64 Value; + UINT64 Mask; +} EFI_ACPI_6_4_ERST_SERIALIZATION_INSTRUCTION_ENTRY; + +/// +/// EINJ - Error Injection Table +/// +typedef struct { + EFI_ACPI_DESCRIPTION_HEADER Header; + UINT32 InjectionHeaderSize; + UINT8 InjectionFlags; + UINT8 Reserved0[3]; + UINT32 InjectionEntryCount; +} EFI_ACPI_6_4_ERROR_INJECTION_TABLE_HEADER; + +/// +/// EINJ Version (as defined in ACPI 6.4 spec.) +/// +#define EFI_ACPI_6_4_ERROR_INJECTION_TABLE_REVISION 0x01 + +/// +/// EINJ Error Injection Actions +/// +#define EFI_ACPI_6_4_EINJ_BEGIN_INJECTION_OPERATION 0x00 +#define EFI_ACPI_6_4_EINJ_GET_TRIGGER_ERROR_ACTION_TABLE 0x01 +#define EFI_ACPI_6_4_EINJ_SET_ERROR_TYPE 0x02 +#define EFI_ACPI_6_4_EINJ_GET_ERROR_TYPE 0x03 +#define EFI_ACPI_6_4_EINJ_END_OPERATION 0x04 +#define EFI_ACPI_6_4_EINJ_EXECUTE_OPERATION 0x05 +#define EFI_ACPI_6_4_EINJ_CHECK_BUSY_STATUS 0x06 +#define EFI_ACPI_6_4_EINJ_GET_COMMAND_STATUS 0x07 +#define EFI_ACPI_6_4_EINJ_TRIGGER_ERROR 0xFF + +/// +/// EINJ Action Command Status +/// +#define EFI_ACPI_6_4_EINJ_STATUS_SUCCESS 0x00 +#define EFI_ACPI_6_4_EINJ_STATUS_UNKNOWN_FAILURE 0x01 +#define EFI_ACPI_6_4_EINJ_STATUS_INVALID_ACCESS 0x02 + +/// +/// EINJ Error Type Definition +/// +#define EFI_ACPI_6_4_EINJ_ERROR_PROCESSOR_CORRECTABLE (1 <= < 0) +#define EFI_ACPI_6_4_EINJ_ERROR_PROCESSOR_UNCORRECTABLE_NONFATAL (1 <= < 1) +#define EFI_ACPI_6_4_EINJ_ERROR_PROCESSOR_UNCORRECTABLE_FATAL (1 <= < 2) +#define EFI_ACPI_6_4_EINJ_ERROR_MEMORY_CORRECTABLE (1 <= < 3) +#define EFI_ACPI_6_4_EINJ_ERROR_MEMORY_UNCORRECTABLE_NONFATAL (1 <= < 4) +#define EFI_ACPI_6_4_EINJ_ERROR_MEMORY_UNCORRECTABLE_FATAL (1 <= < 5) +#define EFI_ACPI_6_4_EINJ_ERROR_PCI_EXPRESS_CORRECTABLE (1 <= < 6) +#define EFI_ACPI_6_4_EINJ_ERROR_PCI_EXPRESS_UNCORRECTABLE_NONFATAL (1 <= < 7) +#define EFI_ACPI_6_4_EINJ_ERROR_PCI_EXPRESS_UNCORRECTABLE_FATAL (1 <= < 8) +#define EFI_ACPI_6_4_EINJ_ERROR_PLATFORM_CORRECTABLE (1 <= < 9) +#define EFI_ACPI_6_4_EINJ_ERROR_PLATFORM_UNCORRECTABLE_NONFATAL (1 <= < 10) +#define EFI_ACPI_6_4_EINJ_ERROR_PLATFORM_UNCORRECTABLE_FATAL (1 <= < 11) + +/// +/// EINJ Injection Instructions +/// +#define EFI_ACPI_6_4_EINJ_READ_REGISTER 0x00 +#define EFI_ACPI_6_4_EINJ_READ_REGISTER_VALUE 0x01 +#define EFI_ACPI_6_4_EINJ_WRITE_REGISTER 0x02 +#define EFI_ACPI_6_4_EINJ_WRITE_REGISTER_VALUE 0x03 +#define EFI_ACPI_6_4_EINJ_NOOP 0x04 + +/// +/// EINJ Instruction Flags +/// +#define EFI_ACPI_6_4_EINJ_PRESERVE_REGISTER 0x01 + +/// +/// EINJ Injection Instruction Entry +/// +typedef struct { + UINT8 InjectionAction; + UINT8 Instruction; + UINT8 Flags; + UINT8 Reserved0; + EFI_ACPI_6_4_GENERIC_ADDRESS_STRUCTURE RegisterRegion; + UINT64 Value; + UINT64 Mask; +} EFI_ACPI_6_4_EINJ_INJECTION_INSTRUCTION_ENTRY; + +/// +/// EINJ Trigger Action Table +/// +typedef struct { + UINT32 HeaderSize; + UINT32 Revision; + UINT32 TableSize; + UINT32 EntryCount; +} EFI_ACPI_6_4_EINJ_TRIGGER_ACTION_TABLE; + +/// +/// Platform Communications Channel Table (PCCT) +/// +typedef struct { + EFI_ACPI_DESCRIPTION_HEADER Header; + UINT32 Flags; + UINT64 Reserved; +} EFI_ACPI_6_4_PLATFORM_COMMUNICATION_CHANNEL_TABLE_HEADER; + +/// +/// PCCT Version (as defined in ACPI 6.4 spec.) +/// +#define EFI_ACPI_6_4_PLATFORM_COMMUNICATION_CHANNEL_TABLE_REVISION 0x02 + +/// +/// PCCT Global Flags +/// +#define EFI_ACPI_6_4_PCCT_FLAGS_PLATFORM_INTERRUPT BIT0 + +// +// PCCT Subspace type +// +#define EFI_ACPI_6_4_PCCT_SUBSPACE_TYPE_GENERIC 0x= 00 +#define EFI_ACPI_6_4_PCCT_SUBSPACE_TYPE_1_HW_REDUCED_COMMUNICATIONS 0x= 01 +#define EFI_ACPI_6_4_PCCT_SUBSPACE_TYPE_2_HW_REDUCED_COMMUNICATIONS 0x= 02 +#define EFI_ACPI_6_4_PCCT_SUBSPACE_TYPE_3_EXTENDED_PCC 0x= 03 +#define EFI_ACPI_6_4_PCCT_SUBSPACE_TYPE_4_EXTENDED_PCC 0x= 04 + +/// +/// PCC Subspace Structure Header +/// +typedef struct { + UINT8 Type; + UINT8 Length; +} EFI_ACPI_6_4_PCCT_SUBSPACE_HEADER; + +/// +/// Generic Communications Subspace Structure +/// +typedef struct { + UINT8 Type; + UINT8 Length; + UINT8 Reserved[6]; + UINT64 BaseAddress; + UINT64 AddressLength; + EFI_ACPI_6_4_GENERIC_ADDRESS_STRUCTURE DoorbellRegister; + UINT64 DoorbellPreserve; + UINT64 DoorbellWrite; + UINT32 NominalLatency; + UINT32 MaximumPeriodicAccessRate; + UINT16 MinimumRequestTurnaroundTime; +} EFI_ACPI_6_4_PCCT_SUBSPACE_GENERIC; + +/// +/// Generic Communications Channel Shared Memory Region +/// + +typedef struct { + UINT8 Command; + UINT8 Reserved:7; + UINT8 NotifyOnCompletion:1; +} EFI_ACPI_6_4_PCCT_GENERIC_SHARED_MEMORY_REGION_COMMAND; + +typedef struct { + UINT8 CommandComplete:1; + UINT8 PlatformInterrupt:1; + UINT8 Error:1; + UINT8 PlatformNotification:1; + UINT8 Reserved:4; + UINT8 Reserved1; +} EFI_ACPI_6_4_PCCT_GENERIC_SHARED_MEMORY_REGION_STATUS; + +typedef struct { + UINT32 Signature; + EFI_ACPI_6_4_PCCT_GENERIC_SHARED_MEMORY_REGION_COMMAND Command; + EFI_ACPI_6_4_PCCT_GENERIC_SHARED_MEMORY_REGION_STATUS Status; +} EFI_ACPI_6_4_PCCT_GENERIC_SHARED_MEMORY_REGION_HEADER; + +#define EFI_ACPI_6_4_PCCT_SUBSPACE_PLATFORM_INTERRUPT_FLAGS_POLARITY BI= T0 +#define EFI_ACPI_6_4_PCCT_SUBSPACE_PLATFORM_INTERRUPT_FLAGS_MODE BI= T1 + +/// +/// Type 1 HW-Reduced Communications Subspace Structure +/// +typedef struct { + UINT8 Type; + UINT8 Length; + UINT32 PlatformInterrupt; + UINT8 PlatformInterruptFlags; + UINT8 Reserved; + UINT64 BaseAddress; + UINT64 AddressLength; + EFI_ACPI_6_4_GENERIC_ADDRESS_STRUCTURE DoorbellRegister; + UINT64 DoorbellPreserve; + UINT64 DoorbellWrite; + UINT32 NominalLatency; + UINT32 MaximumPeriodicAccessRate; + UINT16 MinimumRequestTurnaroundTime; +} EFI_ACPI_6_4_PCCT_SUBSPACE_1_HW_REDUCED_COMMUNICATIONS; + +/// +/// Type 2 HW-Reduced Communications Subspace Structure +/// +typedef struct { + UINT8 Type; + UINT8 Length; + UINT32 PlatformInterrupt; + UINT8 PlatformInterruptFlags; + UINT8 Reserved; + UINT64 BaseAddress; + UINT64 AddressLength; + EFI_ACPI_6_4_GENERIC_ADDRESS_STRUCTURE DoorbellRegister; + UINT64 DoorbellPreserve; + UINT64 DoorbellWrite; + UINT32 NominalLatency; + UINT32 MaximumPeriodicAccessRate; + UINT16 MinimumRequestTurnaroundTime; + EFI_ACPI_6_4_GENERIC_ADDRESS_STRUCTURE PlatformInterruptAckRegister; + UINT64 PlatformInterruptAckPreserve; + UINT64 PlatformInterruptAckWrite; +} EFI_ACPI_6_4_PCCT_SUBSPACE_2_HW_REDUCED_COMMUNICATIONS; + +/// +/// Type 3 Extended PCC Subspace Structure +/// +typedef struct { + UINT8 Type; + UINT8 Length; + UINT32 PlatformInterrupt; + UINT8 PlatformInterruptFlags; + UINT8 Reserved; + UINT64 BaseAddress; + UINT32 AddressLength; + EFI_ACPI_6_4_GENERIC_ADDRESS_STRUCTURE DoorbellRegister; + UINT64 DoorbellPreserve; + UINT64 DoorbellWrite; + UINT32 NominalLatency; + UINT32 MaximumPeriodicAccessRate; + UINT32 MinimumRequestTurnaroundTime; + EFI_ACPI_6_4_GENERIC_ADDRESS_STRUCTURE PlatformInterruptAckRegister; + UINT64 PlatformInterruptAckPreserve; + UINT64 PlatformInterruptAckSet; + UINT8 Reserved1[8]; + EFI_ACPI_6_4_GENERIC_ADDRESS_STRUCTURE CommandCompleteCheckRegister; + UINT64 CommandCompleteCheckMask; + EFI_ACPI_6_4_GENERIC_ADDRESS_STRUCTURE CommandCompleteUpdateRegister; + UINT64 CommandCompleteUpdatePreserve; + UINT64 CommandCompleteUpdateSet; + EFI_ACPI_6_4_GENERIC_ADDRESS_STRUCTURE ErrorStatusRegister; + UINT64 ErrorStatusMask; +} EFI_ACPI_6_4_PCCT_SUBSPACE_3_EXTENDED_PCC; + +/// +/// Type 4 Extended PCC Subspace Structure +/// +typedef EFI_ACPI_6_4_PCCT_SUBSPACE_3_EXTENDED_PCC EFI_ACPI_6_4_PCCT_SUBSPA= CE_4_EXTENDED_PCC; + +#define EFI_ACPI_6_4_PCCT_MASTER_SLAVE_COMMUNICATIONS_CHANNEL_FLAGS_NOTIFY= _ON_COMPLETION BIT0 + +typedef struct { + UINT32 Signature; + UINT32 Flags; + UINT32 Length; + UINT32 Command; +} EFI_ACPI_6_4_PCCT_EXTENDED_PCC_SHARED_MEMORY_REGION_HEADER; + +/// +/// Platform Debug Trigger Table (PDTT) +/// +typedef struct { + EFI_ACPI_DESCRIPTION_HEADER Header; + UINT8 TriggerCount; + UINT8 Reserved[3]; + UINT32 TriggerIdentifierArrayOffset; +} EFI_ACPI_6_4_PLATFORM_DEBUG_TRIGGER_TABLE_HEADER; + +/// +/// PDTT Revision (as defined in ACPI 6.4 spec.) +/// +#define EFI_ACPI_6_4_PLATFORM_DEBUG_TRIGGER_TABLE_REVISION 0x00 + +/// +/// PDTT Platform Communication Channel Identifier Structure +/// +typedef struct { + UINT16 SubChannelIdentifer:8; + UINT16 Runtime:1; + UINT16 WaitForCompletion:1; + UINT16 TriggerOrder:1; + UINT16 Reserved:5; +} EFI_ACPI_6_4_PDTT_PCC_IDENTIFIER; + +/// +/// PCC Commands Codes used by Platform Debug Trigger Table +/// +#define EFI_ACPI_6_4_PDTT_PCC_COMMAND_DOORBELL_ONLY 0x00 +#define EFI_ACPI_6_4_PDTT_PCC_COMMAND_VENDOR_SPECIFIC 0x01 + +/// +/// PDTT Platform Communication Channel +/// +typedef EFI_ACPI_6_4_PCCT_GENERIC_SHARED_MEMORY_REGION_HEADER EFI_ACPI_6_4= _PDTT_PCC; + +/// +/// Processor Properties Topology Table (PPTT) +/// +typedef struct { + EFI_ACPI_DESCRIPTION_HEADER Header; +} EFI_ACPI_6_4_PROCESSOR_PROPERTIES_TOPOLOGY_TABLE_HEADER; + +/// +/// PPTT Revision (as defined in ACPI 6.4 spec.) +/// +#define EFI_ACPI_6_4_PROCESSOR_PROPERTIES_TOPOLOGY_TABLE_REVISION 0x02 + +/// +/// PPTT types +/// +#define EFI_ACPI_6_4_PPTT_TYPE_PROCESSOR 0x00 +#define EFI_ACPI_6_4_PPTT_TYPE_CACHE 0x01 +#define EFI_ACPI_6_4_PPTT_TYPE_ID 0x02 + +/// +/// PPTT Structure Header +/// +typedef struct { + UINT8 Type; + UINT8 Length; + UINT8 Reserved[2]; +} EFI_ACPI_6_4_PPTT_STRUCTURE_HEADER; + +/// +/// For PPTT struct processor flags +/// +#define EFI_ACPI_6_4_PPTT_PACKAGE_NOT_PHYSICAL 0x0 +#define EFI_ACPI_6_4_PPTT_PACKAGE_PHYSICAL 0x1 +#define EFI_ACPI_6_4_PPTT_PROCESSOR_ID_INVALID 0x0 +#define EFI_ACPI_6_4_PPTT_PROCESSOR_ID_VALID 0x1 +#define EFI_ACPI_6_4_PPTT_PROCESSOR_IS_NOT_THREAD 0x0 +#define EFI_ACPI_6_4_PPTT_PROCESSOR_IS_THREAD 0x1 +#define EFI_ACPI_6_4_PPTT_NODE_IS_NOT_LEAF 0x0 +#define EFI_ACPI_6_4_PPTT_NODE_IS_LEAF 0x1 +#define EFI_ACPI_6_4_PPTT_IMPLEMENTATION_NOT_IDENTICAL 0x0 +#define EFI_ACPI_6_4_PPTT_IMPLEMENTATION_IDENTICAL 0x1 + +/// +/// Processor hierarchy node structure flags +/// +typedef struct { + UINT32 PhysicalPackage:1; + UINT32 AcpiProcessorIdValid:1; + UINT32 ProcessorIsAThread:1; + UINT32 NodeIsALeaf:1; + UINT32 IdenticalImplementation:1; + UINT32 Reserved:27; +} EFI_ACPI_6_4_PPTT_STRUCTURE_PROCESSOR_FLAGS; + +/// +/// Processor hierarchy node structure +/// +typedef struct { + UINT8 Type; + UINT8 Length; + UINT8 Reserved[2]; + EFI_ACPI_6_4_PPTT_STRUCTURE_PROCESSOR_FLAGS Flags; + UINT32 Parent; + UINT32 AcpiProcessorId; + UINT32 NumberOfPrivateResources; +} EFI_ACPI_6_4_PPTT_STRUCTURE_PROCESSOR; + +/// +/// For PPTT struct cache flags +/// +#define EFI_ACPI_6_4_PPTT_CACHE_SIZE_INVALID 0x0 +#define EFI_ACPI_6_4_PPTT_CACHE_SIZE_VALID 0x1 +#define EFI_ACPI_6_4_PPTT_NUMBER_OF_SETS_INVALID 0x0 +#define EFI_ACPI_6_4_PPTT_NUMBER_OF_SETS_VALID 0x1 +#define EFI_ACPI_6_4_PPTT_ASSOCIATIVITY_INVALID 0x0 +#define EFI_ACPI_6_4_PPTT_ASSOCIATIVITY_VALID 0x1 +#define EFI_ACPI_6_4_PPTT_ALLOCATION_TYPE_INVALID 0x0 +#define EFI_ACPI_6_4_PPTT_ALLOCATION_TYPE_VALID 0x1 +#define EFI_ACPI_6_4_PPTT_CACHE_TYPE_INVALID 0x0 +#define EFI_ACPI_6_4_PPTT_CACHE_TYPE_VALID 0x1 +#define EFI_ACPI_6_4_PPTT_WRITE_POLICY_INVALID 0x0 +#define EFI_ACPI_6_4_PPTT_WRITE_POLICY_VALID 0x1 +#define EFI_ACPI_6_4_PPTT_LINE_SIZE_INVALID 0x0 +#define EFI_ACPI_6_4_PPTT_LINE_SIZE_VALID 0x1 + +/// +/// Cache Type Structure flags +/// +typedef struct { + UINT32 SizePropertyValid:1; + UINT32 NumberOfSetsValid:1; + UINT32 AssociativityValid:1; + UINT32 AllocationTypeValid:1; + UINT32 CacheTypeValid:1; + UINT32 WritePolicyValid:1; + UINT32 LineSizeValid:1; + UINT32 Reserved:25; +} EFI_ACPI_6_4_PPTT_STRUCTURE_CACHE_FLAGS; + +/// +/// For cache attributes +/// +#define EFI_ACPI_6_4_CACHE_ATTRIBUTES_ALLOCATION_READ 0x0 +#define EFI_ACPI_6_4_CACHE_ATTRIBUTES_ALLOCATION_WRITE 0x1 +#define EFI_ACPI_6_4_CACHE_ATTRIBUTES_ALLOCATION_READ_WRITE 0x2 +#define EFI_ACPI_6_4_CACHE_ATTRIBUTES_CACHE_TYPE_DATA 0x0 +#define EFI_ACPI_6_4_CACHE_ATTRIBUTES_CACHE_TYPE_INSTRUCTION 0x1 +#define EFI_ACPI_6_4_CACHE_ATTRIBUTES_CACHE_TYPE_UNIFIED 0x2 +#define EFI_ACPI_6_4_CACHE_ATTRIBUTES_WRITE_POLICY_WRITE_BACK 0x0 +#define EFI_ACPI_6_4_CACHE_ATTRIBUTES_WRITE_POLICY_WRITE_THROUGH 0x1 + +/// +/// Cache Type Structure cache attributes +/// +typedef struct { + UINT8 AllocationType:2; + UINT8 CacheType:2; + UINT8 WritePolicy:1; + UINT8 Reserved:3; +} EFI_ACPI_6_4_PPTT_STRUCTURE_CACHE_ATTRIBUTES; + +/// +/// Cache Type Structure +/// +typedef struct { + UINT8 Type; + UINT8 Length; + UINT8 Reserved[2]; + EFI_ACPI_6_4_PPTT_STRUCTURE_CACHE_FLAGS Flags; + UINT32 NextLevelOfCache; + UINT32 Size; + UINT32 NumberOfSets; + UINT8 Associativity; + EFI_ACPI_6_4_PPTT_STRUCTURE_CACHE_ATTRIBUTES Attributes; + UINT16 LineSize; +} EFI_ACPI_6_4_PPTT_STRUCTURE_CACHE; + +/// +/// ID structure +/// +typedef struct { + UINT8 Type; + UINT8 Length; + UINT8 Reserved[2]; + UINT32 VendorId; + UINT64 Level1Id; + UINT64 Level2Id; + UINT16 MajorRev; + UINT16 MinorRev; + UINT16 SpinRev; +} EFI_ACPI_6_4_PPTT_STRUCTURE_ID; + +// +// Known table signatures +// + +/// +/// "RSD PTR " Root System Description Pointer +/// +#define EFI_ACPI_6_4_ROOT_SYSTEM_DESCRIPTION_POINTER_SIGNATURE SIGNATURE_= 64('R', 'S', 'D', ' ', 'P', 'T', 'R', ' ') + +/// +/// "APIC" Multiple APIC Description Table +/// +#define EFI_ACPI_6_4_MULTIPLE_APIC_DESCRIPTION_TABLE_SIGNATURE SIGNATURE_= 32('A', 'P', 'I', 'C') + +/// +/// "BERT" Boot Error Record Table +/// +#define EFI_ACPI_6_4_BOOT_ERROR_RECORD_TABLE_SIGNATURE SIGNATURE_32('B', = 'E', 'R', 'T') + +/// +/// "BGRT" Boot Graphics Resource Table +/// +#define EFI_ACPI_6_4_BOOT_GRAPHICS_RESOURCE_TABLE_SIGNATURE SIGNATURE_32(= 'B', 'G', 'R', 'T') + +/// +/// "CDIT" Component Distance Information Table +/// +#define EFI_ACPI_6_4_COMPONENT_DISTANCE_INFORMATION_TABLE_SIGNATURE SIGNA= TURE_32('C', 'D', 'I', 'T') + +/// +/// "CPEP" Corrected Platform Error Polling Table +/// +#define EFI_ACPI_6_4_CORRECTED_PLATFORM_ERROR_POLLING_TABLE_SIGNATURE SIG= NATURE_32('C', 'P', 'E', 'P') + +/// +/// "CRAT" Component Resource Attribute Table +/// +#define EFI_ACPI_6_4_COMPONENT_RESOURCE_ATTRIBUTE_TABLE_SIGNATURE SIGNATU= RE_32('C', 'R', 'A', 'T') + +/// +/// "DSDT" Differentiated System Description Table +/// +#define EFI_ACPI_6_4_DIFFERENTIATED_SYSTEM_DESCRIPTION_TABLE_SIGNATURE SI= GNATURE_32('D', 'S', 'D', 'T') + +/// +/// "ECDT" Embedded Controller Boot Resources Table +/// +#define EFI_ACPI_6_4_EMBEDDED_CONTROLLER_BOOT_RESOURCES_TABLE_SIGNATURE S= IGNATURE_32('E', 'C', 'D', 'T') + +/// +/// "EINJ" Error Injection Table +/// +#define EFI_ACPI_6_4_ERROR_INJECTION_TABLE_SIGNATURE SIGNATURE_32('E', 'I= ', 'N', 'J') + +/// +/// "ERST" Error Record Serialization Table +/// +#define EFI_ACPI_6_4_ERROR_RECORD_SERIALIZATION_TABLE_SIGNATURE SIGNATURE= _32('E', 'R', 'S', 'T') + +/// +/// "FACP" Fixed ACPI Description Table +/// +#define EFI_ACPI_6_4_FIXED_ACPI_DESCRIPTION_TABLE_SIGNATURE SIGNATURE_32(= 'F', 'A', 'C', 'P') + +/// +/// "FACS" Firmware ACPI Control Structure +/// +#define EFI_ACPI_6_4_FIRMWARE_ACPI_CONTROL_STRUCTURE_SIGNATURE SIGNATURE_= 32('F', 'A', 'C', 'S') + +/// +/// "FPDT" Firmware Performance Data Table +/// +#define EFI_ACPI_6_4_FIRMWARE_PERFORMANCE_DATA_TABLE_SIGNATURE SIGNATURE_= 32('F', 'P', 'D', 'T') + +/// +/// "GTDT" Generic Timer Description Table +/// +#define EFI_ACPI_6_4_GENERIC_TIMER_DESCRIPTION_TABLE_SIGNATURE SIGNATURE_= 32('G', 'T', 'D', 'T') + +/// +/// "HEST" Hardware Error Source Table +/// +#define EFI_ACPI_6_4_HARDWARE_ERROR_SOURCE_TABLE_SIGNATURE SIGNATURE_32('= H', 'E', 'S', 'T') + +/// +/// "HMAT" Heterogeneous Memory Attribute Table +/// +#define EFI_ACPI_6_4_HETEROGENEOUS_MEMORY_ATTRIBUTE_TABLE_SIGNATURE SIGNA= TURE_32('H', 'M', 'A', 'T') + +/// +/// "MPST" Memory Power State Table +/// +#define EFI_ACPI_6_4_MEMORY_POWER_STATE_TABLE_SIGNATURE SIGNATURE_32('M',= 'P', 'S', 'T') + +/// +/// "MSCT" Maximum System Characteristics Table +/// +#define EFI_ACPI_6_4_MAXIMUM_SYSTEM_CHARACTERISTICS_TABLE_SIGNATURE SIGNA= TURE_32('M', 'S', 'C', 'T') + +/// +/// "NFIT" NVDIMM Firmware Interface Table +/// +#define EFI_ACPI_6_4_NVDIMM_FIRMWARE_INTERFACE_TABLE_STRUCTURE_SIGNATURE = SIGNATURE_32('N', 'F', 'I', 'T') + +/// +/// "PDTT" Platform Debug Trigger Table +/// +#define EFI_ACPI_6_4_PLATFORM_DEBUG_TRIGGER_TABLE_STRUCTURE_SIGNATURE SIG= NATURE_32('P', 'D', 'T', 'T') + +/// +/// "PMTT" Platform Memory Topology Table +/// +#define EFI_ACPI_6_4_PLATFORM_MEMORY_TOPOLOGY_TABLE_SIGNATURE SIGNATURE_3= 2('P', 'M', 'T', 'T') + +/// +/// "PPTT" Processor Properties Topology Table +/// +#define EFI_ACPI_6_4_PROCESSOR_PROPERTIES_TOPOLOGY_TABLE_STRUCTURE_SIGNATU= RE SIGNATURE_32('P', 'P', 'T', 'T') + +/// +/// "PSDT" Persistent System Description Table +/// +#define EFI_ACPI_6_4_PERSISTENT_SYSTEM_DESCRIPTION_TABLE_SIGNATURE SIGNAT= URE_32('P', 'S', 'D', 'T') + +/// +/// "RASF" ACPI RAS Feature Table +/// +#define EFI_ACPI_6_4_ACPI_RAS_FEATURE_TABLE_SIGNATURE SIGNATURE_32('R', '= A', 'S', 'F') + +/// +/// "RSDT" Root System Description Table +/// +#define EFI_ACPI_6_4_ROOT_SYSTEM_DESCRIPTION_TABLE_SIGNATURE SIGNATURE_32= ('R', 'S', 'D', 'T') + +/// +/// "SBST" Smart Battery Specification Table +/// +#define EFI_ACPI_6_4_SMART_BATTERY_SPECIFICATION_TABLE_SIGNATURE SIGNATUR= E_32('S', 'B', 'S', 'T') + +/// +/// "SDEV" Secure DEVices Table +/// +#define EFI_ACPI_6_4_SECURE_DEVICES_TABLE_SIGNATURE SIGNATURE_32('S', 'D'= , 'E', 'V') + +/// +/// "SLIT" System Locality Information Table +/// +#define EFI_ACPI_6_4_SYSTEM_LOCALITY_INFORMATION_TABLE_SIGNATURE SIGNATUR= E_32('S', 'L', 'I', 'T') + +/// +/// "SRAT" System Resource Affinity Table +/// +#define EFI_ACPI_6_4_SYSTEM_RESOURCE_AFFINITY_TABLE_SIGNATURE SIGNATURE_3= 2('S', 'R', 'A', 'T') + +/// +/// "SSDT" Secondary System Description Table +/// +#define EFI_ACPI_6_4_SECONDARY_SYSTEM_DESCRIPTION_TABLE_SIGNATURE SIGNATU= RE_32('S', 'S', 'D', 'T') + +/// +/// "XSDT" Extended System Description Table +/// +#define EFI_ACPI_6_4_EXTENDED_SYSTEM_DESCRIPTION_TABLE_SIGNATURE SIGNATUR= E_32('X', 'S', 'D', 'T') + +/// +/// "BOOT" MS Simple Boot Spec +/// +#define EFI_ACPI_6_4_SIMPLE_BOOT_FLAG_TABLE_SIGNATURE SIGNATURE_32('B', '= O', 'O', 'T') + +/// +/// "CSRT" MS Core System Resource Table +/// +#define EFI_ACPI_6_4_CORE_SYSTEM_RESOURCE_TABLE_SIGNATURE SIGNATURE_32('C= ', 'S', 'R', 'T') + +/// +/// "DBG2" MS Debug Port 2 Spec +/// +#define EFI_ACPI_6_4_DEBUG_PORT_2_TABLE_SIGNATURE SIGNATURE_32('D', 'B', = 'G', '2') + +/// +/// "DBGP" MS Debug Port Spec +/// +#define EFI_ACPI_6_4_DEBUG_PORT_TABLE_SIGNATURE SIGNATURE_32('D', 'B', 'G= ', 'P') + +/// +/// "DMAR" DMA Remapping Table +/// +#define EFI_ACPI_6_4_DMA_REMAPPING_TABLE_SIGNATURE SIGNATURE_32('D', 'M',= 'A', 'R') + +/// +/// "DPPT" DMA Protection Policy Table +/// +#define EFI_ACPI_6_4_DMA_PROTECTION_POLICY_TABLE_SIGNATURE SIGNATURE_32('= D', 'P', 'P', 'T') + +/// +/// "DRTM" Dynamic Root of Trust for Measurement Table +/// +#define EFI_ACPI_6_4_DYNAMIC_ROOT_OF_TRUST_FOR_MEASUREMENT_TABLE_SIGNATURE= SIGNATURE_32('D', 'R', 'T', 'M') + +/// +/// "ETDT" Event Timer Description Table +/// +#define EFI_ACPI_6_4_EVENT_TIMER_DESCRIPTION_TABLE_SIGNATURE SIGNATURE_32= ('E', 'T', 'D', 'T') + +/// +/// "HPET" IA-PC High Precision Event Timer Table +/// +#define EFI_ACPI_6_4_HIGH_PRECISION_EVENT_TIMER_TABLE_SIGNATURE SIGNATURE= _32('H', 'P', 'E', 'T') + +/// +/// "iBFT" iSCSI Boot Firmware Table +/// +#define EFI_ACPI_6_4_ISCSI_BOOT_FIRMWARE_TABLE_SIGNATURE SIGNATURE_32('i'= , 'B', 'F', 'T') + +/// +/// "IORT" I/O Remapping Table +/// +#define EFI_ACPI_6_4_IO_REMAPPING_TABLE_SIGNATURE SIGNATURE_32('I', 'O', = 'R', 'T') + +/// +/// "IVRS" I/O Virtualization Reporting Structure +/// +#define EFI_ACPI_6_4_IO_VIRTUALIZATION_REPORTING_STRUCTURE_SIGNATURE SIGN= ATURE_32('I', 'V', 'R', 'S') + +/// +/// "LPIT" Low Power Idle Table +/// +#define EFI_ACPI_6_4_LOW_POWER_IDLE_TABLE_STRUCTURE_SIGNATURE SIGNATURE_3= 2('L', 'P', 'I', 'T') + +/// +/// "MCFG" PCI Express Memory Mapped Configuration Space Base Address Desc= ription Table +/// +#define EFI_ACPI_6_4_PCI_EXPRESS_MEMORY_MAPPED_CONFIGURATION_SPACE_BASE_AD= DRESS_DESCRIPTION_TABLE_SIGNATURE SIGNATURE_32('M', 'C', 'F', 'G') + +/// +/// "MCHI" Management Controller Host Interface Table +/// +#define EFI_ACPI_6_4_MANAGEMENT_CONTROLLER_HOST_INTERFACE_TABLE_SIGNATURE = SIGNATURE_32('M', 'C', 'H', 'I') + +/// +/// "MSDM" MS Data Management Table +/// +#define EFI_ACPI_6_4_DATA_MANAGEMENT_TABLE_SIGNATURE SIGNATURE_32('M', 'S= ', 'D', 'M') + +/// +/// "PCCT" Platform Communications Channel Table +/// +#define EFI_ACPI_6_4_PLATFORM_COMMUNICATIONS_CHANNEL_TABLE_SIGNATURE SIGN= ATURE_32('P', 'C', 'C', 'T') + +/// +/// "SDEI" Software Delegated Exceptions Interface Table +/// +#define EFI_ACPI_6_4_SOFTWARE_DELEGATED_EXCEPTIONS_INTERFACE_TABLE_SIGNATU= RE SIGNATURE_32('S', 'D', 'E', 'I') + +/// +/// "SLIC" MS Software Licensing Table Specification +/// +#define EFI_ACPI_6_4_SOFTWARE_LICENSING_TABLE_SIGNATURE SIGNATURE_32('S',= 'L', 'I', 'C') + +/// +/// "SPCR" Serial Port Concole Redirection Table +/// +#define EFI_ACPI_6_4_SERIAL_PORT_CONSOLE_REDIRECTION_TABLE_SIGNATURE SIGN= ATURE_32('S', 'P', 'C', 'R') + +/// +/// "SPMI" Server Platform Management Interface Table +/// +#define EFI_ACPI_6_4_SERVER_PLATFORM_MANAGEMENT_INTERFACE_TABLE_SIGNATURE = SIGNATURE_32('S', 'P', 'M', 'I') + +/// +/// "STAO" _STA Override Table +/// +#define EFI_ACPI_6_4_STA_OVERRIDE_TABLE_SIGNATURE SIGNATURE_32('S', 'T', = 'A', 'O') + +/// +/// "TCPA" Trusted Computing Platform Alliance Capabilities Table +/// +#define EFI_ACPI_6_4_TRUSTED_COMPUTING_PLATFORM_ALLIANCE_CAPABILITIES_TABL= E_SIGNATURE SIGNATURE_32('T', 'C', 'P', 'A') + +/// +/// "TPM2" Trusted Computing Platform 1 Table +/// +#define EFI_ACPI_6_4_TRUSTED_COMPUTING_PLATFORM_2_TABLE_SIGNATURE SIGNATU= RE_32('T', 'P', 'M', '2') + +/// +/// "UEFI" UEFI ACPI Data Table +/// +#define EFI_ACPI_6_4_UEFI_ACPI_DATA_TABLE_SIGNATURE SIGNATURE_32('U', 'E'= , 'F', 'I') + +/// +/// "WAET" Windows ACPI Emulated Devices Table +/// +#define EFI_ACPI_6_4_WINDOWS_ACPI_EMULATED_DEVICES_TABLE_SIGNATURE SIGNAT= URE_32('W', 'A', 'E', 'T') + +/// +/// "WDAT" Watchdog Action Table +/// +#define EFI_ACPI_6_4_WATCHDOG_ACTION_TABLE_SIGNATURE SIGNATURE_32('W', 'D= ', 'A', 'T') + +/// +/// "WDRT" Watchdog Resource Table +/// +#define EFI_ACPI_6_4_WATCHDOG_RESOURCE_TABLE_SIGNATURE SIGNATURE_32('W', = 'D', 'R', 'T') + +/// +/// "WPBT" MS Platform Binary Table +/// +#define EFI_ACPI_6_4_PLATFORM_BINARY_TABLE_SIGNATURE SIGNATURE_32('W', 'P= ', 'B', 'T') + +/// +/// "WSMT" Windows SMM Security Mitigation Table +/// +#define EFI_ACPI_6_4_WINDOWS_SMM_SECURITY_MITIGATION_TABLE_SIGNATURE SIGN= ATURE_32('W', 'S', 'M', 'T') + +/// +/// "XENV" Xen Project Table +/// +#define EFI_ACPI_6_4_XEN_PROJECT_TABLE_SIGNATURE SIGNATURE_32('X', 'E', '= N', 'V') + +#pragma pack() + +#endif --=20 Guid("CE165669-3EF3-493F-B85D-6190EE5B9759") -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#78727): https://edk2.groups.io/g/devel/message/78727 Mute This Topic: https://groups.io/mt/84688463/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Tue Apr 30 05:37:21 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+78721+1787277+3901457@groups.io; arc=fail (BodyHash is different from the expected one); dmarc=fail(p=none dis=none) header.from=arm.com Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1628180752824790.4070283525144; Thu, 5 Aug 2021 09:25:52 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id 5mfIYY1788612xT7Tc2XJHhJ; Thu, 05 Aug 2021 09:25:52 -0700 X-Received: from EUR01-VE1-obe.outbound.protection.outlook.com (EUR01-VE1-obe.outbound.protection.outlook.com [40.107.14.82]) by mx.groups.io with SMTP id smtpd.web12.11182.1628180751605640108 for ; Thu, 05 Aug 2021 09:25:52 -0700 X-Received: from DU2PR04CA0277.eurprd04.prod.outlook.com (2603:10a6:10:28c::12) by VI1PR08MB3568.eurprd08.prod.outlook.com (2603:10a6:803:7f::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4373.26; Thu, 5 Aug 2021 16:25:40 +0000 X-Received: from DB5EUR03FT008.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:28c:cafe::fc) by DU2PR04CA0277.outlook.office365.com (2603:10a6:10:28c::12) 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:40 +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 (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+78721+1787277+3901457@groups.io; helo=mail02.groups.io; 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; X-Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by DB5EUR03FT008.mail.protection.outlook.com (10.152.20.98) 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:40 +0000 X-Received: ("Tessian outbound d9f41274f41a:v101"); Thu, 05 Aug 2021 16:25:40 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 8ce4cc69c063c102 X-CR-MTA-TID: 64aa7808 X-Received: from 9aa36f0d8341.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 860FAAF5-F48B-4C86-B709-EBADC6B02777.1; Thu, 05 Aug 2021 16:25:33 +0000 X-Received: from EUR04-DB3-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 9aa36f0d8341.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Thu, 05 Aug 2021 16:25:33 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fSj8GtViCQEznt5gYAgvcKVpu04W7He6FR9Wguda8KbZXq/anbkIDxYUIQQTpsE+eaFXSV85+zoStFN2ZTNtSPbh+JOxHrTGdg+3tOUUKRDkzTRVm2wE5dRFM/HeP7V2Ijd6WLC4kV08f2nQaUuEYk5uY4EzvwYG9uvgusfbhr1RI0H7u7HYDHCSceNx/dDqcOGC99tpeguzZY6SfggktXXvkQ9NmnBeERRBN2A6CJK6JQ7OfGb4YDyPpUBGiXJHtWYyZxyidCXezAMU7r1tnPX6hS5merDBY6rBVAgugpmOJqB+VrDS0H1fRyFFqYGbugIGH1pqgqdpkUcTC3uSZw== 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=vkpThMgyShaqcU7xmmg3UuGKodNpZ2x2NufTn9Tewjs=; b=UKgixvr6cvTlI1FCSx3hSP3IU39t+5E+9baGyZaNE2SHxD2xNRJ2qsxVjYlu6tWmNYFDD9hm6/isJ9gjN/h4lqF913dbepn5sSuW3JFK/ShQZvqlAcSlKBC0gsr/jmEO/m6Lva5tJGfw/JfvJ4klQ2Alu4ErqwByD4p/vB2OddGkq5bFIYPTiopISZOQrqGVhoOlttNMI0++3+KKvZtfDAH2DilyiFK1Y2MtQ5E45z8XS94cqnaa9+rG4VbMcJGIeUmPS6H1Xiw9NvzuP3ehGcCvnnaRCAOPUEOBCwscNu5hFCylQtn9iBqBscHKveabWkMOE2Zf739UHFNiLLMitw== 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 X-Received: from AS8P250CA0021.EURP250.PROD.OUTLOOK.COM (2603:10a6:20b:330::26) by VI1PR08MB3248.eurprd08.prod.outlook.com (2603:10a6:803:4e::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4394.16; Thu, 5 Aug 2021 16:25:31 +0000 X-Received: from AM5EUR03FT052.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:330:cafe::ad) by AS8P250CA0021.outlook.office365.com (2603:10a6:20b:330::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:31 +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; X-Received: from nebula.arm.com (40.67.248.234) by AM5EUR03FT052.mail.protection.outlook.com (10.152.17.161) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.4394.15 via Frontend Transport; Thu, 5 Aug 2021 16:25:30 +0000 X-Received: from AZ-NEU-EX04.Arm.com (10.251.24.32) by AZ-NEU-EX04.Arm.com (10.251.24.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.14; Thu, 5 Aug 2021 16:25:24 +0000 X-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:23 +0000 From: "Chris Jones" To: CC: Sami Mujawar , Akanksha Jain , Ben Adderson , Michael Kinney , , , Leif Lindholm , "Matteo Carlini" , Subject: [edk2-devel] [PATCH v2 02/13] MdePkg: Increment FADT version Date: Thu, 5 Aug 2021 17:25:11 +0100 Message-ID: <20210805162522.13201-3-christopher.jones@arm.com> 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: 1e328d8d-97ff-483d-3b17-08d9582daa55 X-MS-TrafficTypeDiagnostic: VI1PR08MB3248:|VI1PR08MB3568: X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true NoDisclaimer: true X-MS-Oob-TLC-OOBClassifiers: OLM:4125;OLM:4125; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: WjAT1K52Z70VV40K7UI2niMI3cJohC2hnl51WPkFa5DcqCQ7Hw4/sgSaS68jZjSblsNOpUeIi1Q7ro5dDpF4xkbdPqu166Nbu7y1xlrTo4AskLrcZIftx2mTab6nUB9EpC/VG0fEOdG32ObykPLRcAgcFryyCq/Bo867kjL+rYx0yjV927a+gtfj/Po1TcWQ5n+PuxC1uiMKGNZEF9qYEXUIUGKe8Qoh6Jnc/Vjz7eCqSyOMJW9wvishxjiiMmYJl/iuKzLOZFVQsuZKuDtIB1seH+XENfAnXj9GZ/mOS/GUPONlKzdEeZiUm3bG8fxDvLosNJmaP8CQh9JCbjhNfOOJw+x9nADjdGYqeUbYXFD1p1pRBDhPaTFYfbRwmhjlWI8Mt8aOFy3HFVwSlu1+mHhLqiuFYNpjcg5Rw1nfIG28vPZReOclzgDdNt5yhsrQfgkoAPdFjtSINCHWVNQmS23lnTF3GD0xzR85wFDNsQcwKYxAygFkoNQHJ5q2I6X51/3JByCaBxc9MdXTtdhlFzvv0CSQHqLvX0MPTsqyPnqU1nYDZ2ZFWKiCV7nmFnPL/ILV1tU3oxbuXfysoD9polBqs/xFijE3HO+sCiDJTASnBkqfTsUpyhmuwh8N9ozTYfsrNPXDmu75TUFfrnvE0CBO4Th3i/CbTMIeTZWU9hz1Jg5YxQa/SbskseZmxN4z7iisDLXshtLr3CMXXeh6IKO4WgDcxrZTio36HMaQJ3fddbHNuyPjYJXeOynsxOGIQx8Q9Oc0cg5c4r4ZL4g/GR8x1sepSjVGATMEaX2euTprD0RaScq2lDqUL93/ZP/eakSyzjj2/fYd9F7445EdvEUba0HoxTpOm+Gpf7Hiu4Y= 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)(39850400004)(346002)(376002)(136003)(396003)(46966006)(36840700001)(70206006)(83380400001)(54906003)(6666004)(70586007)(81166007)(1076003)(86362001)(356005)(6916009)(82310400003)(2616005)(5660300002)(478600001)(82740400003)(36756003)(19627235002)(426003)(16799955002)(8676002)(316002)(4326008)(8936002)(47076005)(26005)(7696005)(336012)(186003)(2906002)(36860700001)(36900700001);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB3248 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT008.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 35d22129-caa1-496c-466e-08d9582da482 X-Microsoft-Antispam-Message-Info: MecP8mwNjb7+OHYqBzZkeGiYaCZRuhWE5NkH+ZZS4e9dzqyY7kDNPTqM9zROi+UtdZ/cLc0ROraz35IslzHHAJOhAyIPRm72JRgaPmiio7XX1WL03zchk7C5kVc5MVP4ZBuTLYj/+sR8AeO3hcBHnyl1j/omu2YFnDA0cs2S+juq3KGJDqal0ERRw2PQOagDzDeBuvidA+tP3opS9TZSuHuNTDE843lRv+gd1zG6gFP4u8onRq2UmD6XSQqNaT4BKZg4ZqBpGoK5g9BwAX1dpKYhOOsZHizPGehREY4c82LfTGzahiIfxAbgqCymI+CJ4b8ftsMWA5SDANshyhxDhQ+g/s0el7Ytxr09Rx3zrCzJognVGY9e/SCxw1PLR2C3/4TprDM40GILUqXppn4uRI/dWa7VCmp5i6i4QHodiRd8hEiha8tLQnZ79nTdXagxCl45rFJ/6GsT66rLsOT44Bt49ddObrk3n7kk1T5uQFD6Gd4kzJS6Iu1VpDdH8TamUPuga2MdgmVzViwYbOdsT32rNtCrgfm39EhQLIcFUfkyKWrrgOqfSG65A/b5nuRnAwqheabv/poVRBdtUkr299CM4cw30igAmPY1wNfI10YjBrefGXKGQ7MlUubhEsBrG/dB+5JxWZ/fdRF4LDzZ7MqbRWEVjjv3ugh58YlSIE1D09mBfUB8F8llwIr94iKd07peaq7rL9b9yIOCAMkN9sUgXmGkWp4mod5wLNA2c9qCuz365RG494Sxb0OG/inqQvioHPlaHOwQDiXyYNY2wRLQKKYjbs+K8kP0dj30izYzY59/b0qsmBvp1Yz0NCC9 X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Aug 2021 16:25:40.4050 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 1e328d8d-97ff-483d-3b17-08d9582daa55 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: DB5EUR03FT008.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB3568 Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,christopher.jones@arm.com X-Gm-Message-State: Wi04omKuHPMtFSMEu0vqQT1Sx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1628180752; bh=mTMWkNIkXPAIwvDz1yANh6Bv9lJt/VbVtImZoqHG+gQ=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=oI82YZCTRmGiueF5MWXIqINaNNpTk3rkzcA7s4Oq19KVd0KeLLFQ+O/1kQj6dDA2Jwv JGf5zDMxF/EqSM/lwqkstEPAtP/BRQuiDM+BuOc4OBDbRy7XiPo7qslw4CrkenmrlUG1A l6JX0V3PQHtj/2qXzLPj2eMdk/1dRynEVeU= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1628180754070100001 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Bugzilla: 3516 (https://bugzilla.tianocore.org/show_bug.cgi?id=3D3516) Make changes to ACPI 6.4 header according to the latest specification: - ACPI 6.4 January 2021, Table 5-9 - Mantis ID 2105 (https://mantis.uefi.org/mantis/view.php?id=3D2105) Signed-off-by: Chris Jones Reviewed-by: Sami Mujawar --- MdePkg/Include/IndustryStandard/Acpi64.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MdePkg/Include/IndustryStandard/Acpi64.h b/MdePkg/Include/Indu= stryStandard/Acpi64.h index efbfd8b7a540a130b3de45e4cdd02f099a79dfc3..5a0e5b29c7e41cfa03ebc28e306= 719762b72b76d 100644 --- a/MdePkg/Include/IndustryStandard/Acpi64.h +++ b/MdePkg/Include/IndustryStandard/Acpi64.h @@ -174,7 +174,7 @@ typedef struct { /// FADT Version (as defined in ACPI 6.4 spec.) /// #define EFI_ACPI_6_4_FIXED_ACPI_DESCRIPTION_TABLE_REVISION 0x06 -#define EFI_ACPI_6_4_FIXED_ACPI_DESCRIPTION_TABLE_MINOR_REVISION 0x03 +#define EFI_ACPI_6_4_FIXED_ACPI_DESCRIPTION_TABLE_MINOR_REVISION 0x04 =20 // // Fixed ACPI Description Table Preferred Power Management Profile --=20 Guid("CE165669-3EF3-493F-B85D-6190EE5B9759") -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#78721): https://edk2.groups.io/g/devel/message/78721 Mute This Topic: https://groups.io/mt/84688455/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Tue Apr 30 05:37:21 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+78725+1787277+3901457@groups.io; arc=fail (BodyHash is different from the expected one); dmarc=fail(p=none dis=none) header.from=arm.com Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1628180758993474.6340731287156; Thu, 5 Aug 2021 09:25:58 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id AZKuYY1788612xqpuGeSu22V; Thu, 05 Aug 2021 09:25:58 -0700 X-Received: from EUR03-DB5-obe.outbound.protection.outlook.com (EUR03-DB5-obe.outbound.protection.outlook.com [40.107.4.60]) by mx.groups.io with SMTP id smtpd.web11.11201.1628180757616254912 for ; Thu, 05 Aug 2021 09:25:57 -0700 X-Received: from AM6P192CA0071.EURP192.PROD.OUTLOOK.COM (2603:10a6:209:82::48) by DB7PR08MB3402.eurprd08.prod.outlook.com (2603:10a6:10:4f::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4373.26; Thu, 5 Aug 2021 16:25:48 +0000 X-Received: from AM5EUR03FT047.eop-EUR03.prod.protection.outlook.com (2603:10a6:209:82:cafe::b5) by AM6P192CA0071.outlook.office365.com (2603:10a6:209:82::48) 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:48 +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 (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+78725+1787277+3901457@groups.io; helo=mail02.groups.io; 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; X-Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by AM5EUR03FT047.mail.protection.outlook.com (10.152.16.197) 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:47 +0000 X-Received: ("Tessian outbound 79bfeeb089c1:v101"); Thu, 05 Aug 2021 16:25:46 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 428a90bbcef24475 X-CR-MTA-TID: 64aa7808 X-Received: from 8d4c9ca86d1b.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id CBCF2B11-F1CB-48CE-B454-1454C104AE5D.1; Thu, 05 Aug 2021 16:25:40 +0000 X-Received: from EUR03-DB5-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 8d4c9ca86d1b.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Thu, 05 Aug 2021 16:25:40 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jTfah/DujQLV6lBllXLplOa1mQXB7wje0RE9RNn/vDjhVUJZxHULnY1N4Z7o99bNq5FGNNmsx+oxVPIBCTZ9+eFXK/y7CC0pYtaIa/nFqMDH+G+nx99dHUsczThhU/h3oDv5O5VI40YULdBfGm+qjS2iD72B/1XufUSqeg6Iq/7379nYQZeFutpLm4K8vO+oBBeTgL5HjBquVyk055h9VkHWVJ5Xb6pv/eIVFRDpoL/uKHtVWNXH72l2OY29ipPFISXsgnVbjkLYwju00k49fAfA6Iw6kO+iyVEJJTLkdyFrWUGzTebFKK0ic9TZFHEFhVUWVzhlK7Kd29bWkwIalg== 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=icIMa0qn84/ap72PhkmGsb6rOgGn3SVAQD7RntmzIpQ=; b=hdZPg8F+xpgPEgCt3hBvdOGjutYJMlmr5pLXOqVTwB8/qvWWnk1tGZON13sRxxKmyzxB/77Fqhiurl+EO9cFM+aZy0fZrz3bfTGQJFJJRUNvHJI0LM9q2yz0O2SA2xFhhu3hlXF9SwSgIWjUpfMmuFOina3+SRPJuTwEzq6vhTRTLt9Unyi0SM0jBJISPOx3owy6u+fEtRt/DFtZfTCP/PHWGOK+YDURwQrnmi5Sp0CWuNK+HQnM7wei+oRIaqmmqAMGRNHjHbXPDF2dkfCisnPADhJIDn8XeSskRhyhzrVhp0RyS++lub/f5bgyEOwf/f9sePnNgv2reZVy4klSPQ== 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 X-Received: from AM5PR0601CA0044.eurprd06.prod.outlook.com (2603:10a6:203:68::30) by AM0PR08MB3857.eurprd08.prod.outlook.com (2603:10a6:208:104::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4373.17; Thu, 5 Aug 2021 16:25:39 +0000 X-Received: from VE1EUR03FT029.eop-EUR03.prod.protection.outlook.com (2603:10a6:203:68:cafe::df) by AM5PR0601CA0044.outlook.office365.com (2603:10a6:203:68::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4394.17 via Frontend Transport; Thu, 5 Aug 2021 16:25:39 +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; X-Received: from nebula.arm.com (40.67.248.234) by VE1EUR03FT029.mail.protection.outlook.com (10.152.18.107) 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:38 +0000 X-Received: from AZ-NEU-EX01.Emea.Arm.com (10.251.26.4) by AZ-NEU-EX03.Arm.com (10.251.24.31) 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:26 +0000 X-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:26 +0000 X-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:25 +0000 From: "Chris Jones" To: CC: Sami Mujawar , Akanksha Jain , Ben Adderson , Michael Kinney , , , Leif Lindholm , "Matteo Carlini" , Subject: [edk2-devel] [PATCH v2 03/13] MdePkg: Rename SBSA Generic Watchdog to Arm Generic Watchdog Date: Thu, 5 Aug 2021 17:25:12 +0100 Message-ID: <20210805162522.13201-4-christopher.jones@arm.com> 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: 41aa7ba7-aa4d-405a-a1a9-08d9582daea6 X-MS-TrafficTypeDiagnostic: AM0PR08MB3857:|DB7PR08MB3402: X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true NoDisclaimer: true X-MS-Oob-TLC-OOBClassifiers: OLM:854;OLM:854; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: jUQ0lrbazf2iBmQJ5O/WD96cr2AGCm/2gg7VVlsHRbC+V4FxXNcjFA6ovcUu1jv6sd0jfETTF5QHw7c2yea39nSJFF+V5DN12I8uQjUDws1YYuZhnjyy/t4FEnmj6Fx1L8fpIYneTdeVTNSyuQI2mxkKBXTCsmopfQo8DPHdFhzLxDgbwR4DXhrMEoQ4iznMUG9cx+ovtxgaXoJ1+FLxcBra/05W06gnVaEt3Bb7yW7XndeMou7KgXV7H0gpuYzZjup2ccXe7p88VZV2cX5QMNbaGu3uK4zr9LFFPP2tOkm2HPD/ljyKN0NZI5owdm+lI2eca1d9sf6ZaOEi3pag/ebvJDWGU4NQdUENR6iDSfYeZzegVqm55uGiso3lX6S79mKpLgL4n1R5yStuyi4MyBqra/8WQQ+6Gjm+aA3p7fMwWl7mOLFZFAVLuN0CWyarine7UKzpLJXgIHkjUXm7h+5y12h1aCcx/P4C7j2tckxWGo29gCaVRRmswgYSTcXRIl8uVE9XEig/izyw7apqhEfzJNwTFDSDYovSflZFnw9mQsXDVDMRklR/IWJpvd8D0Aj+Nkwbnb/97XMJFMP2M8bQzND38T+B6SXtCNlT7jZopL0FdoCUCUbXPB8N22GmW7L+lFOYpWrTxYpkI0HqJaSH5WtmkWvNnbyXoJmwPLVs+S9EC0wzDIcAtor07ejZYK7akHYdHlYdutATlGuplcP+Lv2sNCCR21lctcrhetIgDpvJ6Tv/cy3JI0p83EnZgAk8zahSJtJYAdDhBGYqsCf82+rBnBw+JAZW1EdHYp4/PubS10qMyQ++upp2gVLf+ZmBscHD2tqwj5u4elj4SQ== 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)(39850400004)(346002)(376002)(136003)(396003)(36840700001)(46966006)(1076003)(47076005)(19627235002)(426003)(478600001)(336012)(86362001)(6666004)(36756003)(16799955002)(2906002)(356005)(186003)(81166007)(6916009)(316002)(70206006)(70586007)(7696005)(2616005)(54906003)(26005)(8676002)(83380400001)(5660300002)(82740400003)(4326008)(8936002)(36860700001)(82310400003)(41533002)(36900700001);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR08MB3857 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT047.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 93d467b2-df42-4f22-2559-08d9582da974 X-Microsoft-Antispam-Message-Info: PzLIFn6GmrAvrkyppE2+barqA0XxRioW2fDdg4/pR0vpX1BxPKMCZPROl+P67ER6SZpR/JN1q/8Vpb1teDubinPx5OI3v5HI17HuM+LLZCE0IgIANTfOpNgAYZhdETv6mztM1/+SkV/2PnT8VI4XVHFItnMPH8LVr2D/iG85Z1dYHB6prWq7HIZ19fqhZwZFXIiOnmFT65PcRs0RNKdpMBePTTWUXI69g92SuEUup7n08T/XZ2oh+mIVq47kHk8g6EhJJWK2N8dUQlHYYSNPTzpdbFy8X+svwsCKnZjLftaU4BIMCCDT5Ai7G3LWw0pKeiQh5rZO/agCauzrBpCYEOyQHiejQ+DbPUoMsAR6eszJNzAwl5BUitlyRmzPXKln2V2R7jRLr5u/O7HiOkFlVEq7kn1ZIuLF+EdhZV2//tGXo3eo8Tq/pP4ZvICj3v2vCcCntfhVecgvPhOLcChgnC9ba3T/NSBtFaYWx8bzpR1YGh+mKkGs9+EKWypE6oAQme6LNt9Pg8J6hwjYplFDN4inuz47gU7t3jI76u7K9XYS1xls0lQ75V06008XZXIx+WBZ0T1AQGDBlkoBvvwWBEMbpDTOyc4TfPS19jAuuDku5haijkCAS28uAAhJlg3EWQKiT5yexSkmPHTURCI2c6Kr9/JSAtSJMTRO/bb6eNj3JZcy+fCtb9fpDydP4C9ZeF10XVal1+tRzUWyf6rAPm8n9Bx33DEZSxsPsKtk/IOSL6m7ocK+dnO06cUYfoUKt+ErhZHndOCiYex4LjdBmW9zgLvYlT9AV3Aka+4UU7YHsOLho318xjXxdeCAw3ojW5rtgA5fhgNush1z3LJKReRW9cu9CmxUXBCi71uAPkg= X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Aug 2021 16:25:47.3445 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 41aa7ba7-aa4d-405a-a1a9-08d9582daea6 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: AM5EUR03FT047.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR08MB3402 Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,christopher.jones@arm.com X-Gm-Message-State: MqMJ2soJk4U5OXvPW6xG8ayux1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1628180758; bh=PyIhEohlb/+7GZ9xTro4JgTSH8EXYs5ga39Ubs65nC8=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=UEMde79LUMJml2riIHT54trCkxev7fjAM2vZjySTkjdC2I/VijW3KN964BWZdqD7kUw b8qPcqPrHYzJeGb8KSaqAO87IFTyqFVkfPOvNd5kF1BUwDlbBlkLbaI5NeqaEZB5Okmfl RPxAMqq3UJMNy+rk8mdZ04kH7Z4KGg6b2xQ= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1628180760752100022 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Bugzilla: 3516 (https://bugzilla.tianocore.org/show_bug.cgi?id=3D3516) Make changes to ACPI 6.4 header according to the latest specification: - ACPI 6.4 January 2021, Section 5.2.24, Table 5.100 & Section 5.2.24.2 - Mantis ID 2126 (https://mantis.uefi.org/mantis/view.php?id=3D2126) Signed-off-by: Chris Jones Reviewed-by: Sami Mujawar --- MdePkg/Include/IndustryStandard/Acpi64.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/MdePkg/Include/IndustryStandard/Acpi64.h b/MdePkg/Include/Indu= stryStandard/Acpi64.h index 5a0e5b29c7e41cfa03ebc28e306719762b72b76d..9a1339c78e915d451847190ec70= 00e4961b6cac5 100644 --- a/MdePkg/Include/IndustryStandard/Acpi64.h +++ b/MdePkg/Include/IndustryStandard/Acpi64.h @@ -1373,7 +1373,7 @@ typedef struct { /// Platform Timer Type /// #define EFI_ACPI_6_4_GTDT_GT_BLOCK 0 -#define EFI_ACPI_6_4_GTDT_SBSA_GENERIC_WATCHDOG 1 +#define EFI_ACPI_6_4_GTDT_ARM_GENERIC_WATCHDOG 1 =20 /// /// GT Block Structure @@ -1415,7 +1415,7 @@ typedef struct { #define EFI_ACPI_6_4_GTDT_GT_BLOCK_COMMON_FLAG_ALWAYS_ON_CAPABILITY B= IT1 =20 /// -/// SBSA Generic Watchdog Structure +/// Arm Generic Watchdog Structure /// typedef struct { UINT8 Type; @@ -1425,14 +1425,14 @@ typedef struct { UINT64 WatchdogControlFramePhysicalAddress; UINT32 WatchdogTimerGSIV; UINT32 WatchdogTimerFlags; -} EFI_ACPI_6_4_GTDT_SBSA_GENERIC_WATCHDOG_STRUCTURE; +} EFI_ACPI_6_4_GTDT_ARM_GENERIC_WATCHDOG_STRUCTURE; =20 /// -/// SBSA Generic Watchdog Timer Flags. All other bits are reserved and mu= st be 0. +/// Arm Generic Watchdog Timer Flags. All other bits are reserved and mus= t be 0. /// -#define EFI_ACPI_6_4_GTDT_SBSA_GENERIC_WATCHDOG_FLAG_TIMER_INTERRUPT_MODE = BIT0 -#define EFI_ACPI_6_4_GTDT_SBSA_GENERIC_WATCHDOG_FLAG_TIMER_INTERRUPT_POLAR= ITY BIT1 -#define EFI_ACPI_6_4_GTDT_SBSA_GENERIC_WATCHDOG_FLAG_SECURE_TIMER = BIT2 +#define EFI_ACPI_6_4_GTDT_ARM_GENERIC_WATCHDOG_FLAG_TIMER_INTERRUPT_MODE = BIT0 +#define EFI_ACPI_6_4_GTDT_ARM_GENERIC_WATCHDOG_FLAG_TIMER_INTERRUPT_POLARI= TY BIT1 +#define EFI_ACPI_6_4_GTDT_ARM_GENERIC_WATCHDOG_FLAG_SECURE_TIMER = BIT2 =20 // // NVDIMM Firmware Interface Table definition. --=20 Guid("CE165669-3EF3-493F-B85D-6190EE5B9759") -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#78725): https://edk2.groups.io/g/devel/message/78725 Mute This Topic: https://groups.io/mt/84688461/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Tue Apr 30 05:37:21 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+78724+1787277+3901457@groups.io; arc=fail (BodyHash is different from the expected one); dmarc=fail(p=none dis=none) header.from=arm.com Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 16281807568051013.5353611000523; Thu, 5 Aug 2021 09:25:56 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id b5PPYY1788612xSY5WGadBlW; Thu, 05 Aug 2021 09:25:56 -0700 X-Received: from EUR03-DB5-obe.outbound.protection.outlook.com (EUR03-DB5-obe.outbound.protection.outlook.com [40.107.4.47]) by mx.groups.io with SMTP id smtpd.web09.11236.1628180755546353130 for ; Thu, 05 Aug 2021 09:25:56 -0700 X-Received: from AM6P192CA0066.EURP192.PROD.OUTLOOK.COM (2603:10a6:209:82::43) by AM6PR08MB4721.eurprd08.prod.outlook.com (2603:10a6:20b:c7::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4394.17; Thu, 5 Aug 2021 16:25:51 +0000 X-Received: from AM5EUR03FT028.eop-EUR03.prod.protection.outlook.com (2603:10a6:209:82:cafe::c9) by AM6P192CA0066.outlook.office365.com (2603:10a6:209:82::43) 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 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 (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+78724+1787277+3901457@groups.io; helo=mail02.groups.io; 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; X-Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by AM5EUR03FT028.mail.protection.outlook.com (10.152.16.118) 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-Received: ("Tessian outbound 79bfeeb089c1:v101"); Thu, 05 Aug 2021 16:25:51 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 2e82249d5239ad7b X-CR-MTA-TID: 64aa7808 X-Received: from c6c768a9da33.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id A76F322A-1BC6-4813-8929-5FD58B5BC34A.1; Thu, 05 Aug 2021 16:25:45 +0000 X-Received: from EUR01-HE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id c6c768a9da33.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=W/qEpbei1F1lTrSfzn5WVLT0vUj/qtPSH3I5f64h/ALp98XgJfQ3ahgkK0LDlm0kduxj57FMQa+q/OEa04LM4Jxf4IVUtAWRe6DjkUuCae0JQipdfuXyTiJQKs3XkcWJ5qH/GNtOQ/3IDo/L1gSio2yV7/ypCCBl7n84nYkUVK6H8u+2yNiXNbgzekEH0PW7f5vn8qqHYd1neSA5pbiOGV07RIlucAsJggJZpVKQk6zAxcBHvUhr6jMPU3Cvv9QleDexRgiVHESsnkWTyz+LKBvL35Pk1Aq6QZx8XqQqN3RR40kXfD/TugdRdDFALkMUCMBIUGFPkqqMiAG1cCYg3w== 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=fPZZ7VoWGM5OmgXOcAF+TUjVwQzd2CXIhospvRkdN40=; b=FHCZ4r08AxHbefyoLBA0K6VlUrYWgUB9I2mumoYAw+1firigplIWo4dFn+MnasiNI3lCx7DglfVPyIa88M1GgrNg77vc+71LIM7sLKacqzYWhtieuTpPxiEZb0YJFgg+OhIixZtaxTw43DpsJnEN6McRFpz+lvr8p5VanuBLjqHZBZIMwnm3gQUfETD3MEXdF1KLXBpigL6zMnbeGyK2UjxCuOHU753CeE+L53i9cG+fvdGuKKBwsKAgff45A5ylYgrB53sc7pSjZFEALC1tVmwJ7LJofx+1ygaLyKopUxJLfsfdmFhwVwVnR7vKKMQWpRy1GSPuPbEGAXPuvtAwSw== 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 X-Received: from AM5PR1001CA0059.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:206:15::36) by AM0PR08MB3444.eurprd08.prod.outlook.com (2603:10a6:208:e2::13) 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:39 +0000 X-Received: from AM5EUR03FT039.eop-EUR03.prod.protection.outlook.com (2603:10a6:206:15:cafe::c3) by AM5PR1001CA0059.outlook.office365.com (2603:10a6:206:15::36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4394.17 via Frontend Transport; Thu, 5 Aug 2021 16:25:39 +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; X-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:39 +0000 X-Received: from AZ-NEU-EX04.Arm.com (10.251.24.32) by AZ-NEU-EX04.Arm.com (10.251.24.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.14; Thu, 5 Aug 2021 16:25:26 +0000 X-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:26 +0000 From: "Chris Jones" To: CC: Sami Mujawar , Akanksha Jain , Ben Adderson , Michael Kinney , , , Leif Lindholm , "Matteo Carlini" , Subject: [edk2-devel] [PATCH v2 04/13] MdePkg: Update PMTT to ACPI 6.4 Date: Thu, 5 Aug 2021 17:25:13 +0100 Message-ID: <20210805162522.13201-5-christopher.jones@arm.com> 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: 5383407e-39ff-40f2-e99e-08d9582db0b9 X-MS-TrafficTypeDiagnostic: AM0PR08MB3444:|AM6PR08MB4721: X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true NoDisclaimer: true X-MS-Oob-TLC-OOBClassifiers: OLM:4125;OLM:4125; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: D8JWGQElKgzsKQYjJFYA++eOjhfxswCxSp6JmaIpUQ/2Lm+0UPKplNoBPBhzzd3IXxsY8PgJq0NHPy4UA5MmNGV7V+OEBVLs/OqUrJ9jQmwGn5qnZROpf8KDZqgrUYBIWxGq8aYq2ltTcWiuq2hMfGHeS19RkTGtvtza9Bn2OaIphk9VwzTcpJGqWY2LHVaWS/qp4yY7EEFXys44b4AcRODrZCmOfnjn2g/Vbj4z3m0rgU5hIH8n1E1UHHXe3MnD9b7B+rdjZBrXOfLVGX0sSOCFRsYE+kTulnSVNf+fsgz9iOMwca/4bKFilwAh/a45/Gx+TCplAu0GeQi2xFSU/6R5MTbkkSYINXKOA6h822AvHnWuGRGL/LAM4dg/S+LrgM3kW/VM9Y3UU1vtG16mx+9QmqO7dF9gOVn8hcacYnIlsy4LjI0hnn5XI0u+ylPYpC7WkWQGyFuLQ7do2qyzzsTCDEUG/FesOQj11jGXIE9xmYiuyjCu7Pj8bLUPn5OrCx8igsTB/SKpMA4osN8d8HHWj2Qa11GNdFuiQm7xmaUhGN9YTxfJhe8QPd5rcx3J63MOqiPwmgI1Ikv2f7XNVU1UBRJR55Ew3UjDYlhdAh0n5g/LRiUOjn1SPzN8DswGQSb1V/eSmpZNbKGUUAE3VB4L3Mysd0vnv5DoO/t5egqh4D6wmR9zcCoU+AVjroU4ggBzPNM8S+NqNPXlWZbKcUcP7cVJKpCHjLHK2jpA6diDq8qF4LOszWF2WdAdokgvqlQzlceJ2AcjdvjEbKw2caN08weMU0KYtkSQVitSmo6MymS89LwHeeVacG0cm6Rl 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)(46966006)(36840700001)(36756003)(8936002)(8676002)(6666004)(36860700001)(5660300002)(47076005)(26005)(186003)(82310400003)(16799955002)(508600001)(1076003)(86362001)(70206006)(316002)(6916009)(81166007)(19627235002)(54906003)(426003)(2906002)(7696005)(70586007)(83380400001)(336012)(2616005)(356005)(4326008)(36900700001);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR08MB3444 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT028.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: a97a1b97-53f2-4623-1bff-08d9582da985 X-Microsoft-Antispam-Message-Info: 3c7+G/wawLCXO596a+vyQmQ3G38Xb+xdblFqyHlGdszRTLK9t0slhWKOwFHnCQ/PwWiaSlMLrtbV3k/p7x3vch5o4bIHChK5MIJtieDuKUx/YPqNRzmobnVFPa+Jzuj8aO068Ux5Nat/ucQ7cNoKBCwlX/JaCePqycbQN1CEx85uxAjTgQseagKhRgVLBtCxsj7sG1401RoLbVdK+7Ycn55fHUozEv07mf9OiVPhsYUphsF/VWj76D6uzNvR34slX5Tffy1HX0kimN5j1ZIt+bYt+hEZ662MXks6Wzn8BURSRDkrc9blLsISI+2y+78nhKEZGfHdN+sVspyBtBuYijmCmRqlDnkMZRRvPMPUFJJWuyRjlAPK9iwSatGdHsK13jYA13wDwcZRs2gTW3RiVyj+Vru5Iao1o7nyEk9bvNmu635Dn25MTaEUBH0kToK6L+XcXpoF4R//Df9QUFx8JUrMR9VzA+HULmDyz9M+Qz+1ON1mn8GDnjqKYGEQZu5BN4iLwCyToHy6lyt/vV/koyJbN17/fxJAAX6fKjx0u04AOGc/6e7ASXLmOLdjkFA+6k9xHXdfNo23RXSJ7tsxhSUPlB14hMwpswPtMJQUAIJmgH/a+ehjqm3+ow8/DwiwJ3JMJ4M5zHqwk8JOujjmaSEdnrggOC/onlAUup3/+ksstYNRofW++2PTB7hhzq2WDLuCA+pIekmWPMdWionW2K94nmDKuDJ0OawjoAArbWZdFtIj7+XripM/Rjb3nqQBX5H4KRVPo5FPoy9ae5KSkTg3wftMi7fn/3oIy1jGBbM= X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Aug 2021 16:25:51.0512 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 5383407e-39ff-40f2-e99e-08d9582db0b9 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: AM5EUR03FT028.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR08MB4721 Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,christopher.jones@arm.com X-Gm-Message-State: RP2ybbw26ZVqeNVUNdeW2cUqx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1628180756; bh=ugoXdW7Blpr9xZMD6bxCyJTb0Y0OX0k5aZCCc3DG8VA=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=ozS5lpHbz77zbnMwKUvcjIVuU/0RMB6HA4gdilXbJV24bPvJ8Hxt0+dmGykCfD2vKLt MezqCvllLfD0ZVtNzl/7EFQrUJtSz85aem2m9oDCLd4011HW/Hv1TxdTbRjBWX5RQpJWn HJfkoRLOOprheYTIl2IbZex/5q74PebDk1s= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1628180758501100016 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Bugzilla: 3516 (https://bugzilla.tianocore.org/show_bug.cgi?id=3D3516) Make changes to ACPI 6.4 header according to the latest specification: - ACPI 6.4 January 2021, Section 5.2.21.12 - Mantis ID 1975 (https://mantis.uefi.org/mantis/view.php?id=3D1975) Signed-off-by: Chris Jones Reviewed-by: Sami Mujawar --- MdePkg/Include/IndustryStandard/Acpi64.h | 89 +++++++++++--------- 1 file changed, 47 insertions(+), 42 deletions(-) diff --git a/MdePkg/Include/IndustryStandard/Acpi64.h b/MdePkg/Include/Indu= stryStandard/Acpi64.h index 9a1339c78e915d451847190ec7000e4961b6cac5..e66e1b5a7ab25daf690ef4b21d6= 65fb88d15e8ab 100644 --- a/MdePkg/Include/IndustryStandard/Acpi64.h +++ b/MdePkg/Include/IndustryStandard/Acpi64.h @@ -1014,73 +1014,78 @@ typedef struct { } EFI_ACPI_6_4_MPST_MEMORY_POWER_STATE_CHARACTERISTICS_TABLE; =20 /// -/// Memory Topology Table definition. +/// Platform Memory Topology Table definition. /// typedef struct { - EFI_ACPI_DESCRIPTION_HEADER Header; - UINT32 Reserved; -} EFI_ACPI_6_4_MEMORY_TOPOLOGY_TABLE; + EFI_ACPI_DESCRIPTION_HEADER Header; + UINT32 NumberOfMemoryDevices; +//EFI_ACPI_6_4_PMTT_COMMON_MEMORY_DEVICE MemoryDeviceStructure[NumberOfMe= moryDevices]; +} EFI_ACPI_6_4_PLATFORM_MEMORY_TOPOLOGY_TABLE; =20 /// /// PMTT Version (as defined in ACPI 6.4 spec.) /// -#define EFI_ACPI_6_4_MEMORY_TOPOLOGY_TABLE_REVISION 0x01 +#define EFI_ACPI_6_4_MEMORY_TOPOLOGY_TABLE_REVISION 0x02 =20 /// -/// Common Memory Aggregator Device Structure. +/// Common Memory Device. /// typedef struct { - UINT8 Type; - UINT8 Reserved; - UINT16 Length; - UINT16 Flags; - UINT16 Reserved1; -} EFI_ACPI_6_4_PMTT_COMMON_MEMORY_AGGREGATOR_DEVICE_STRUCTURE; + UINT8 Type; + UINT8 Reserved; + UINT16 Length; + UINT16 Flags; + UINT16 Reserved1; + UINT32 NumberOfMemoryDevices; +//UINT8 TypeSpecificData[]; +//EFI_ACPI_6_4_PMTT_COMMON_MEMORY_DEVICE MemoryDeviceStructure[NumberOfMe= moryDevices]; +} EFI_ACPI_6_4_PMTT_COMMON_MEMORY_DEVICE; =20 /// -/// Memory Aggregator Device Type +/// Memory Device Type. /// -#define EFI_ACPI_6_4_PMTT_MEMORY_AGGREGATOR_DEVICE_TYPE_SOCKET = 0x1 -#define EFI_ACPI_6_4_PMTT_MEMORY_AGGREGATOR_DEVICE_TYPE_MEMORY_CONTROLLER = 0x2 -#define EFI_ACPI_6_4_PMTT_MEMORY_AGGREGATOR_DEVICE_TYPE_DIMM = 0x3 +#define EFI_ACPI_6_4_PMTT_MEMORY_DEVICE_TYPE_SOCKET 0x1 +#define EFI_ACPI_6_4_PMTT_MEMORY_DEVICE_TYPE_MEMORY_CONTROLLER 0x2 +#define EFI_ACPI_6_4_PMTT_MEMORY_DEVICE_TYPE_DIMM 0x3 +#define EFI_ACPI_6_4_PMTT_MEMORY_DEVICE_TYPE_VENDOR_SPECIFIC_TYPE 0xFF =20 /// -/// Socket Memory Aggregator Device Structure. +/// Socket Type Data. /// typedef struct { - EFI_ACPI_6_4_PMTT_COMMON_MEMORY_AGGREGATOR_DEVICE_STRUCTURE Header; - UINT16 SocketIdent= ifier; - UINT16 Reserved; -//EFI_ACPI_6_4_PMTT_MEMORY_CONTROLLER_MEMORY_AGGREGATOR_DEVICE_STRUCTURE = MemoryController[]; -} EFI_ACPI_6_4_PMTT_SOCKET_MEMORY_AGGREGATOR_DEVICE_STRUCTURE; + EFI_ACPI_6_4_PMTT_COMMON_MEMORY_DEVICE CommonMemoryDeviceHeader; + UINT16 SocketIdentifier; + UINT16 Reserved; +//EFI_ACPI_6_4_PMTT_COMMON_MEMORY_DEVICE MemoryDeviceStructure[]; +} EFI_ACPI_6_4_PMTT_SOCKET_TYPE_DATA; =20 /// -/// MemoryController Memory Aggregator Device Structure. +/// Memory Controller Type Data. /// typedef struct { - EFI_ACPI_6_4_PMTT_COMMON_MEMORY_AGGREGATOR_DEVICE_STRUCTURE Header; - UINT32 ReadLatency; - UINT32 WriteLatenc= y; - UINT32 ReadBandwid= th; - UINT32 WriteBandwi= dth; - UINT16 OptimalAcce= ssUnit; - UINT16 OptimalAcce= ssAlignment; - UINT16 Reserved; - UINT16 NumberOfPro= ximityDomains; -//UINT32 ProximityDo= main[NumberOfProximityDomains]; -//EFI_ACPI_6_4_PMTT_DIMM_MEMORY_AGGREGATOR_DEVICE_STRUCTURE PhysicalCom= ponent[]; -} EFI_ACPI_6_4_PMTT_MEMORY_CONTROLLER_MEMORY_AGGREGATOR_DEVICE_STRUCTURE; + EFI_ACPI_6_4_PMTT_COMMON_MEMORY_DEVICE CommonMemoryDeviceHeader; + UINT16 MemoryControllerIdentifier; + UINT16 Reserved; +//EFI_ACPI_6_4_PMTT_COMMON_MEMORY_DEVICE MemoryDeviceStructure[]; +} EFI_ACPI_6_4_PMTT_MEMORY_CONTROLLER_TYPE_DATA; =20 /// -/// DIMM Memory Aggregator Device Structure. +/// DIMM Type Specific Data. /// typedef struct { - EFI_ACPI_6_4_PMTT_COMMON_MEMORY_AGGREGATOR_DEVICE_STRUCTURE Header; - UINT16 PhysicalCom= ponentIdentifier; - UINT16 Reserved; - UINT32 SizeOfDimm; - UINT32 SmbiosHandl= e; -} EFI_ACPI_6_4_PMTT_DIMM_MEMORY_AGGREGATOR_DEVICE_STRUCTURE; + EFI_ACPI_6_4_PMTT_COMMON_MEMORY_DEVICE CommonMemoryDeviceHeader; + UINT32 SmbiosHandle; +} EFI_ACPI_6_4_PMTT_DIMM_TYPE_SPECIFIC_DATA; + +/// +/// Vendor Specific Type Data. +/// +typedef struct { + EFI_ACPI_6_4_PMTT_COMMON_MEMORY_DEVICE CommonMemoryDeviceHeader; + UINT8 TypeUuid[16]; +//EFI_ACPI_6_4_PMTT_VENDOR_SPECIFIC_TYPE_DATA VendorSpecificData[]; +//EFI_ACPI_6_4_PMTT_COMMON_MEMORY_DEVICE MemoryDeviceStructure[]; +} EFI_ACPI_6_4_PMTT_VENDOR_SPECIFIC_TYPE_DATA; =20 /// /// Boot Graphics Resource Table definition. --=20 Guid("CE165669-3EF3-493F-B85D-6190EE5B9759") -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#78724): https://edk2.groups.io/g/devel/message/78724 Mute This Topic: https://groups.io/mt/84688459/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Tue Apr 30 05:37:21 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+78723+1787277+3901457@groups.io; arc=fail (BodyHash is different from the expected one); dmarc=fail(p=none dis=none) header.from=arm.com Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1628180755864327.6628496180547; Thu, 5 Aug 2021 09:25:55 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id ism9YY1788612xrQJ7LpUUim; Thu, 05 Aug 2021 09:25:55 -0700 X-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 X-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 X-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 (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+78723+1787277+3901457@groups.io; helo=mail02.groups.io; 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; X-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 X-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 X-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 X-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 X-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 X-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; X-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 X-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 X-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 X-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: [edk2-devel] [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> 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 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-Message-Info: yr0GxhNezKv9wwA3FCylmJEos0FN7nfC1zBUeqZJyU/vb0U+/6mYdnw/0lrOdCO9pvIFej6D0UonJ/UxaShQ9corgTgTvOPDzb50v5dV61zA4NkF75JpYI2x4CHCMVEKvlOtQIscHZ9n7EXdB0wQjpd1Sft51xMjpF2LN3acrfr56atnKzNZ9OIFosczTTjtS/2G6CwgSg4GDsfOs4ytXmtHdvKo8v8i+VElT5rO+Zu43GW9qcBUSLvPirjeV7o8EX6Hkofo1Hf/mrfj8tLNaWualMi66X3XPoAIqvQgcHJC74fOncjUCyHIFfsrKxEOcbel47WQZW1aDKTvcipjLcYsRSrYlBDoCSL8vYF0/WxSh/HOFLAAVNt/fV0mJzmCjp1oVTHkHFWZCG1zRirx3saPbq90diT5xKoWNmswGUBEdZn43hhSirAVXwgna4Hm+fKZnGXKDYJ4ISJziMCPCS8EDE25gvWaTeC2fuiuiEoVsLVMApHiWT8tCnhLvstnhny81urMlUlNGcADXGzV2QeEoi+EsfdgLnpoRVKmCXbX11FTQIgFWzUUp1oUNiots5lqNEWJFpwYJLc1ruBU/eGnzhgIh9/cBbVpFREP4TaIoFr2cJLHmNzXdPnSb5/x+JTKQeNkjBK06BTBMYerCLYfUAmZHqYzDe97pq6baN37MexExQzW/ZaoEVi7SgydmbkB5FN75go5m1sKxhqfkPnIzj3ojpQmoDh8cCK0p6jS5rtNuAqK0S6V9qGt7APo5M2/VcpILqmvs7ON0zyaA2yxEk8u7XKC7qbjeKFHs5M= 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 Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,christopher.jones@arm.com X-Gm-Message-State: F1bztmgZJ4Bn5RpagnlHpRd4x1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1628180755; bh=D7Itu/+b9avWHwzA0DOBn1ciBhFq3z3trcj7K6W4swc=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=MCpB0qzuvMMYxjYCkmNfgG8eFMp9a6JYzsd7EKDcHpiE0K1SaW+fELl6RHozbmagg34 rIwedVIB/1rPF+JALoydtJKdUf0L3tT4LZ7yW6h7wOXz1VIJ85MfW2Wl39oKfthHJg2j6 oKar4EhFSHanTsoYzdqzVXcvgfArpjH6+CQ= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1628180756481100009 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Bugzilla: 3516 (https://bugzilla.tianocore.org/show_bug.cgi?id=3D3516) 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=3D1988) Also added a blank line between #defines and structure definitions to improve readability. Signed-off-by: Chris Jones Reviewed-by: Sami Mujawar --- MdePkg/Include/IndustryStandard/Acpi64.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/MdePkg/Include/IndustryStandard/Acpi64.h b/MdePkg/Include/Indu= stryStandard/Acpi64.h index e66e1b5a7ab25daf690ef4b21d665fb88d15e8ab..1e9634cb6d377bd57be6c03b0f1= cccbe4a5106f3 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_REGI= ON_FOR_MANAGEMENT BIT0 #define EFI_ACPI_6_4_NFIT_SYSTEM_PHYSICAL_ADDRESS_RANGE_FLAGS_PROXIMITY_DO= MAIN_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_VOLAT= ILE { 0x3D5ABD30, 0x4175, 0x87CE, { 0x6D, 0x64, 0xD2, 0xAD, 0xE5, 0x23,= 0xC4, 0xBB }} #define EFI_ACPI_6_4_NFIT_GUID_RAM_DISK_SUPPORTING_VIRTUAL_DISK_REGION_PER= SISTENT { 0x5CEA02C9, 0x4D07, 0x69D3, { 0x26, 0x9F ,0x44, 0x96, 0xFB, 0xE0,= 0x96, 0xF9 }} #define EFI_ACPI_6_4_NFIT_GUID_RAM_DISK_SUPPORTING_VIRTUAL_CD_REGION_PERSI= STENT { 0x08018188, 0x42CD, 0xBB48, { 0x10, 0x0F, 0x53, 0x87, 0xD5, 0x3D,= 0xED, 0x3D }} + typedef struct { UINT16 Type; UINT16 Length; @@ -1495,6 +1498,7 @@ typedef struct { UINT64 SystemPhysicalAddressRangeBa= se; UINT64 SystemPhysicalAddressRangeLe= ngth; UINT64 AddressRangeMemoryMappingAtt= ribute; + UINT64 SPALocationCookie; } EFI_ACPI_6_4_NFIT_SYSTEM_PHYSICAL_ADDRESS_RANGE_STRUCTURE; =20 // @@ -1516,6 +1520,7 @@ typedef struct { #define EFI_ACPI_6_4_NFIT_MEMORY_DEVICE_STATE_FLAGS_SMART_HEALTH_EVENTS_PR= IOR_OSPM_HAND_OFF BIT4 #define EFI_ACPI_6_4_NFIT_MEMORY_DEVICE_STATE_FLAGS_FIRMWARE_ENABLED_TO_NO= TIFY_OSPM_ON_SMART_HEALTH_EVENTS BIT5 #define EFI_ACPI_6_4_NFIT_MEMORY_DEVICE_STATE_FLAGS_FIRMWARE_NOT_MAP_NVDIM= M_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 =20 #define EFI_ACPI_6_4_NFIT_NVDIMM_CONTROL_REGION_FLAGS_BLOCK_DATA_WINDOWS_B= UFFERED BIT0 + typedef struct { UINT16 Type; UINT16 Length; --=20 Guid("CE165669-3EF3-493F-B85D-6190EE5B9759") -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#78723): https://edk2.groups.io/g/devel/message/78723 Mute This Topic: https://groups.io/mt/84688458/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Tue Apr 30 05:37:21 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+78722+1787277+3901457@groups.io; arc=fail (BodyHash is different from the expected one); dmarc=fail(p=none dis=none) header.from=arm.com Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1628180755389180.19547288573176; Thu, 5 Aug 2021 09:25:55 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id tFAUYY1788612xKxzBG4JG0m; Thu, 05 Aug 2021 09:25:55 -0700 X-Received: from EUR04-VI1-obe.outbound.protection.outlook.com (EUR04-VI1-obe.outbound.protection.outlook.com [40.107.8.85]) by mx.groups.io with SMTP id smtpd.web09.11233.1628180753917836176 for ; Thu, 05 Aug 2021 09:25:54 -0700 X-Received: from AM6P192CA0043.EURP192.PROD.OUTLOOK.COM (2603:10a6:209:82::20) 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; Thu, 5 Aug 2021 16:25:50 +0000 X-Received: from AM5EUR03FT047.eop-EUR03.prod.protection.outlook.com (2603:10a6:209:82:cafe::6e) by AM6P192CA0043.outlook.office365.com (2603:10a6:209:82::20) 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:49 +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 (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+78722+1787277+3901457@groups.io; helo=mail02.groups.io; 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; X-Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by AM5EUR03FT047.mail.protection.outlook.com (10.152.16.197) 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:48 +0000 X-Received: ("Tessian outbound 79bfeeb089c1:v101"); Thu, 05 Aug 2021 16:25:48 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 0abf9e25c45f0f13 X-CR-MTA-TID: 64aa7808 X-Received: from c1955c1e6eca.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 9B5B8D36-94CC-452E-8E8D-197C442BE32C.1; Thu, 05 Aug 2021 16:25:42 +0000 X-Received: from EUR04-HE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id c1955c1e6eca.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Thu, 05 Aug 2021 16:25:42 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JTvyffCwKqJYlCyfvY6w5QJ9EPhtuMHxik5WfjrnhGIyRwNTjQHg0eYFINtcVqLlzXmjIXEk4LHgSuiDn9APEp/x4K/GXZZ7eV0+kqbNmF3eGbHsQTSGIxEKXbuBzt99o3LQkbikWbrbsDBCbmist06wlyDw8uhJ19hzwAlAs0kWTl09eKkae4t8k5iHq+GZSucAExa/jiFupvzAGlLwTXq8WHlV5feQwTWRQFVemaAfLRpC6lwzhSihkg9kgaZWcO4OU6KrKG3k4o0rP2EEcHnPNWI2TWSLzzU/Sjq/JnP6CkptcIlA3h1FO9AtZ6cYrwEO5dRntbK/pJYet5oe3A== 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=YScM38jZLC1HuXuh1KUmR0n6Jca6tz1jxzmC1/4Gz0U=; b=SLk6go9wVVgJA6BbbOa7OMMPCsIttQ4oNpAdxTCyoVZE5JhSO6SCZhvd3k79ZjaOHY2PugMyvF9qymPeMg7m+EQ2UUWt+K4iehe8On86PYNpN2pLauaeLUi22F+zWn3duLozPpiSPnwfxNyMMAgTlmw7xIY4H2DFysdItkCW+enzifR9FafFv3joMaygYUZBB5Dq009kC7wSwFc+I4JsGxQynSm68KOWyQ3eL6dkXrgDk+tJsRuYL3N80Ww/V7f29d1yJsjht0vgzutJJNuzyFC4iPUAUTo4FBu8gFMLWQ14ij9nkDBn8hd98SBMWo9bj3rExOCjlI51sDwZoFeChw== 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 X-Received: from AM5PR0601CA0027.eurprd06.prod.outlook.com (2603:10a6:203:68::13) by VE1PR08MB5101.eurprd08.prod.outlook.com (2603:10a6:803:106::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4394.16; Thu, 5 Aug 2021 16:25:40 +0000 X-Received: from VE1EUR03FT029.eop-EUR03.prod.protection.outlook.com (2603:10a6:203:68:cafe::3) by AM5PR0601CA0027.outlook.office365.com (2603:10a6:203:68::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4394.17 via Frontend Transport; Thu, 5 Aug 2021 16:25:39 +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; X-Received: from nebula.arm.com (40.67.248.234) by VE1EUR03FT029.mail.protection.outlook.com (10.152.18.107) 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:39 +0000 X-Received: from AZ-NEU-EX01.Emea.Arm.com (10.251.26.4) by AZ-NEU-EX03.Arm.com (10.251.24.31) 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:29 +0000 X-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:29 +0000 X-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:28 +0000 From: "Chris Jones" To: CC: Sami Mujawar , Akanksha Jain , Ben Adderson , Michael Kinney , , , Leif Lindholm , "Matteo Carlini" , Subject: [edk2-devel] [PATCH v2 06/13] MdePkg: Remove DPPT table Date: Thu, 5 Aug 2021 17:25:15 +0100 Message-ID: <20210805162522.13201-7-christopher.jones@arm.com> 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: d6ccd735-59cc-409e-393f-08d9582daf74 X-MS-TrafficTypeDiagnostic: VE1PR08MB5101:|DBBPR08MB4677: X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true NoDisclaimer: true X-MS-Oob-TLC-OOBClassifiers: OLM:3826;OLM:3826; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: Ln2JyHzSHrhIkfqMC1WPSMUF/TcufJ8C+aBB/iaQX264+Ksuya1LNZxIIpbKDjEUQDoyRGTuJQbYpyEUXbbpoUtHAUN3NkXYgqTVZhz8olcpfOMcwI/iO9228UYUHqiYlnuZssdL5ng25GoqrDPvDuWnhP4YHHywXiT11FUMVx4st8lEqFiYtaHuZWLjxoBKQnz0x2DPpfUonS+h3mhnmc8aJmytM5+j0r54nfp855QNBt1fXqUKdtgUmuabGZGCh7W6++M4VcuutXZ62zdJ+UGv8xO+tNbZaqj1eXEYLwAc0bX/0kA61gn3LkpoPHYdo2ozs7sg/JQKP09dxHkMMH68pNSKce88ME3sZYPIXEEIgIlsKcXcINiVk3LPQEK4bTZEQtKr8BfctlhNPNqNAT3WcklksNAztD9aNwWkRYVEsHPaFTbH+2UYutTrroT0BuZdVOxXov/Deg2rQSTgxS/SH593U0Xs0qcu3rDQOmgf/iPUz09w07JRYlejLU7x5w/XfYm+AoRj4MeUiJo1iHHMQms02aIaSAgutyUVvvYqJGMQot7pIuheXgaAPsVEFap/tiZznErZKkUul7q3kHfIFJYDVgeMK2BCKVVMtcowVNC//rpAaN2sDYj5spJbF3Tz1ownVxjw7pTsgQ35tHOhOuYNHXqlN0ub7DYDd8fta8lw1GrC5ugAVs/EOTAtISmtFPn2kATDyJ8KlOniWBr8lOB8tb2aRcaTlE2yJR5rLqQnE7qpwaFS5BWWcoBhW1fbXCXKmVrlNr/G7G1EIr6p61MYpwvayPyOh/npwt09rrdP1VQt1ulk7GHj6FdAJuIXaS0nAMCjtzkqgptQPNxxq5Bjz4ia3x4Vcjn8UDA= 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)(376002)(346002)(39860400002)(136003)(46966006)(36840700001)(2616005)(6666004)(4326008)(86362001)(5660300002)(54906003)(426003)(19627235002)(36756003)(1076003)(316002)(7696005)(6916009)(82740400003)(70206006)(26005)(36860700001)(186003)(336012)(70586007)(82310400003)(2906002)(47076005)(356005)(8676002)(81166007)(16799955002)(83380400001)(8936002)(478600001)(36900700001);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR08MB5101 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT047.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 0dfa7bf4-a203-491b-fded-08d9582daa01 X-Microsoft-Antispam-Message-Info: GiJB5QiKqsAP4Is65iko4uGzUqrpkpPuG5S/bfWHDDE+NF88n/s70iDA/mx8Znwgq7W2C9jCGSfeuwZkR09NsobzmL3fM25LtP2SZVFHHgMEMZ5sSDouDSJ/r4QZ3oABABqoA8zOEobRkqMGC96d43I6e6fbiQud4qsVx6QjC4ekd7P72QqNW6hVyifU6lRQ/n2GU3Hes+hppdh9k02FP4yuKGQPaxIGtKwfQvMbyMwRilGwWBaC2v6IHsJkOpQ/OaWgtodmCI3h0F5EofM6bx8+CkHMBZ8V9ii6PXcH+SHbjlvAyxFzq/6YEyKweaeJs5k/E2L7wZa8k2OMb9WDNB4fa1Y4nwxfw2awBesUzNUGWKOPE3LAIj/gAny/QefYAqG2dL8N1XHgJ9BhXnNbzXVDrcA/na3ykac+KdtB4bwaCWVS14T/EjusbSPRprt96JAkv1CCqPdXN5RuEczW+voPZQkSLv5c/k5VmElIivvsVT/NMEoK7pmBkMuyuEBy/3jbf1H16SPW3P9A/oUoGIuJoFgw0oEQ4WgWCsfOnuoiTcTjrYlx+uc3qMhQ92C2PoJvb/3E52zYlxlCwU9IjXheaMT8e9OicCclOMeA/v2XMoqVjhcAFrLjSKRAKJLA2wMmMzDW9MlMLPNih4Qe32kGEceG48tdW0duwZY2f6JmgUxFRP8pCCoM0FMIvRUDI+h235zYhmQDGFR9XhZs4dzZnCCFttBXmqSjWXJFvQkxcNG9aOqCRRo3j94t6EAUEJiO29l57B7a4d+xEFhdt/cu7HEqLcHO8iaFXzJFTA8= X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Aug 2021 16:25:48.9448 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: d6ccd735-59cc-409e-393f-08d9582daf74 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: AM5EUR03FT047.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR08MB4677 Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,christopher.jones@arm.com X-Gm-Message-State: AT27T6GI9fDIPw8UZ7OT4kxFx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1628180755; bh=3ndqeeXjP1R/DSn93IgDHAOywYlj1gm6u1Y4NtltAd4=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=xTXJkGRwJ09HujdUDvOOGUD1QTbDiMNO+5uDvJ85aLl5PjWOlDN6aIDWa/gljyWI3dZ ZMiHHMYS7ENGRj2VbL6QKKkrzO8O+DRIfedl9FZg57XLuuebsrxqPsJiZWLjI6l/HSwba R/pt1rL10YZErwOrl8MLSozVyqZic89a1zM= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1628180756318100008 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Bugzilla: 3516 (https://bugzilla.tianocore.org/show_bug.cgi?id=3D3516) Make changes to ACPI 6.4 header according to the latest specification: - ACPI 6.4 January 2021, Table 5.5 - Mantis ID 2133 (https://mantis.uefi.org/mantis/view.php?id=3D2133) Signed-off-by: Chris Jones Reviewed-by: Sami Mujawar --- MdePkg/Include/IndustryStandard/Acpi64.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/MdePkg/Include/IndustryStandard/Acpi64.h b/MdePkg/Include/Indu= stryStandard/Acpi64.h index 1e9634cb6d377bd57be6c03b0f1cccbe4a5106f3..b8be65c5e1c861b2a85b81f585f= fdb40a178e368 100644 --- a/MdePkg/Include/IndustryStandard/Acpi64.h +++ b/MdePkg/Include/IndustryStandard/Acpi64.h @@ -2843,11 +2843,6 @@ typedef struct { /// #define EFI_ACPI_6_4_DMA_REMAPPING_TABLE_SIGNATURE SIGNATURE_32('D', 'M',= 'A', 'R') =20 -/// -/// "DPPT" DMA Protection Policy Table -/// -#define EFI_ACPI_6_4_DMA_PROTECTION_POLICY_TABLE_SIGNATURE SIGNATURE_32('= D', 'P', 'P', 'T') - /// /// "DRTM" Dynamic Root of Trust for Measurement Table /// --=20 Guid("CE165669-3EF3-493F-B85D-6190EE5B9759") -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#78722): https://edk2.groups.io/g/devel/message/78722 Mute This Topic: https://groups.io/mt/84688457/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Tue Apr 30 05:37:21 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+78732+1787277+3901457@groups.io; arc=fail (BodyHash is different from the expected one); dmarc=fail(p=none dis=none) header.from=arm.com Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1628180773446935.9610760939798; Thu, 5 Aug 2021 09:26:13 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id MGL2YY1788612x2s4LYR7q6u; Thu, 05 Aug 2021 09:26:13 -0700 X-Received: from EUR01-VE1-obe.outbound.protection.outlook.com (EUR01-VE1-obe.outbound.protection.outlook.com [40.107.14.40]) by mx.groups.io with SMTP id smtpd.web09.11241.1628180771713944910 for ; Thu, 05 Aug 2021 09:26:12 -0700 X-Received: from AS8PR04CA0006.eurprd04.prod.outlook.com (2603:10a6:20b:310::11) by AM6PR08MB4568.eurprd08.prod.outlook.com (2603:10a6:20b:ac::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4373.25; Thu, 5 Aug 2021 16:25:57 +0000 X-Received: from VE1EUR03FT041.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:310:cafe::10) by AS8PR04CA0006.outlook.office365.com (2603:10a6:20b:310::11) 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:57 +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 (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+78732+1787277+3901457@groups.io; helo=mail02.groups.io; 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; X-Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by VE1EUR03FT041.mail.protection.outlook.com (10.152.19.163) 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:56 +0000 X-Received: ("Tessian outbound 8529ae990a93:v101"); Thu, 05 Aug 2021 16:25:56 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: d935d8af2b29941d X-CR-MTA-TID: 64aa7808 X-Received: from eaa34d63d43a.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 2A73814B-A0B2-4E74-812A-49E1EE48A61A.1; Thu, 05 Aug 2021 16:25:47 +0000 X-Received: from EUR04-VI1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id eaa34d63d43a.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Thu, 05 Aug 2021 16:25:47 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=V56DSeBHKiaHJ3bY93iks3NDW8aO8UKkkA4X/mPmsE0wY5jl/6pAPDAOzuIgp5pcpaZGw78/nW4OnSQUZEatuJUPE0NsYaQzyjZ36tvPYcW1VIlr7OmQImKYl2C/wtEVtZBa0lFZZuR6SpKmJMCiRlL792USsEgmWkQz4GER/NTadXT3Hd5rSAd/6EX1aGzQh0/vlyyDZ6lxZG0s2/65XYCd88/4cXEsLFws8YhWQ0ou/EP1Xje548odSWTnuqdIWuuffUWc3KvsCA+/w1Tnlaq43PSJB0bj51w5Vn2YKmnNKrZ6YW0BDfm/hA/fh7UWRXMe9fud8lsdVYnKQc73UA== 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=Ie2IcH+JHK3iOHDLlj4XMBvYRXsHSwgy9ihhpiKxFms=; b=BYo9Jb3nqpvFfbleuSNIqo/GmISD7YmzvrTpVGEU9IGYnJYPvk78nz90NijOxYKKdYEL4/mi8ggGWYqP8msqv1qn5KBhNtuLLu18WZeys2f+7ZQUOyGoV+mjMSCMujj9cKX8MZKKlSwk81Xm5RZhq5MPg/dqNOcHmamdydPFI8axVOl59qAlL7tvxsfPt/Jg8ROcsm59SqTH6Un5bAMVElNYtp/PMUe0ly+8PiuKok8RLa94cFYkqSnKi8SFn+1z7xBNPmXXv6KEz4tNo7I1kBJY8fh3uD1IE2sNQTsu3zDmY8I/iudL7KYWf358/1bx4ahSdikPMAtbapxMqhAKYg== 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 X-Received: from AM5PR1001CA0066.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:206:15::43) by VE1PR08MB5246.eurprd08.prod.outlook.com (2603:10a6:803:111::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4394.16; Thu, 5 Aug 2021 16:25:44 +0000 X-Received: from AM5EUR03FT039.eop-EUR03.prod.protection.outlook.com (2603:10a6:206:15:cafe::5d) by AM5PR1001CA0066.outlook.office365.com (2603:10a6:206:15::43) 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:44 +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; X-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:44 +0000 X-Received: from AZ-NEU-EX04.Arm.com (10.251.24.32) by AZ-NEU-EX04.Arm.com (10.251.24.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.14; Thu, 5 Aug 2021 16:25:29 +0000 X-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:29 +0000 From: "Chris Jones" To: CC: Sami Mujawar , Akanksha Jain , Ben Adderson , Michael Kinney , , , Leif Lindholm , "Matteo Carlini" , Subject: [edk2-devel] [PATCH v2 07/13] MdePkg: Add flags and MinTransferSize to Generic Initiator Date: Thu, 5 Aug 2021 17:25:16 +0100 Message-ID: <20210805162522.13201-8-christopher.jones@arm.com> 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: 86b72e21-a18e-40e0-5e5e-08d9582db446 X-MS-TrafficTypeDiagnostic: VE1PR08MB5246:|AM6PR08MB4568: X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true NoDisclaimer: true X-MS-Oob-TLC-OOBClassifiers: OLM:3383;OLM:3383; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: /OL2wZLndV4cQ/V12RE+vrUZL8dabiTPMnLKu/zp5RmuczpggOXBjuRyVDzfgebKqSsSdLgY4mPhDZF5R9Ct8X6GxxpA8A5npG89Iea6nsYEdnYPNVs+4M0JifhvIdrYbv+uDgsjvocBSvar1YPrsN+3T1tK6qLf2nzBhFPglIfNdZbb0XIno15Eng7deQc0IEE8Ooz4+B7yuQdz+VXguGRSkjDauGLKg8EvMbyCsyGT7NkPfU97FuO2sH/ipu+tX3O7Ob+4lbTFszgPsnTxuq4iBn13KFwF001cNHRutkLnQOqFhlSswpFfycYAqDkg39L/ajdVdjWzjOII1g3qrT8DRD/lh9DBlbSAWx/06J9h2B45EGH6iE+43APE3Cp+fQEOMPTcwArnYRihwXJfkai+goXL7LqTpPAKzSG8ZNeQcpkLykyL20l3cn1nPROyOz5Ehehm3tpwhM2Mdc38LpCrkONGLFRUuK2EeDM+rxggfiWGMh3kOxTey5peRkrvfqAGR72Pup37xf3Lc1YsH7JETXOvvvq2cZpjYTptsQPa6N9l6srz+jdXI9pLKjlFgTkWyS/BZseOfzJhphUMavoCEPZpjPzg+CHrxO75ERdqLjupumyViYQCA58lFmQy13mCN4wpm1gkXiaJdK4N8feBjTiMQQwDC9bPi7zts+sfd9p5dCmjEt7JaythWIQVB+qNMEfzDSU9recGUeBz6m6R3t8KEoq9x0/6pa9TOP6Ux0KaXuuKdFLDNSCtPeppXLUKxerM1DM9nbKdb5pW0AlCbd+JJkDxJFqqKXGyJubar9F4Qpy2UQ9mCJmJErzPtNO6+VTJf8wNgTZcb2njhgjhzC/V5NhPJupERGe1uDt65PunvWSZJECApYytSeZc 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)(136003)(346002)(376002)(396003)(39860400002)(46966006)(36840700001)(5660300002)(8676002)(86362001)(8936002)(6916009)(336012)(19627235002)(316002)(2906002)(70586007)(426003)(26005)(7696005)(1076003)(186003)(54906003)(6666004)(70206006)(478600001)(4326008)(82740400003)(81166007)(356005)(2616005)(82310400003)(36756003)(36860700001)(16799955002)(47076005)(83380400001)(41533002)(36900700001);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR08MB5246 X-MS-Exchange-Transport-CrossTenantHeadersStripped: VE1EUR03FT041.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 58c2be11-9a97-4860-5936-08d9582dac8d X-Microsoft-Antispam-Message-Info: Zk6hg0jsDEsGRlOa2BmzAK1DAdKqbiP/UfPqVrrkA7W9USZ0jNupw4nkVxrTIFc+bxh3cgq2exlU3faDz8gwsTXpr1ncx8SBPAL27mKbE4ivTdE/WrEsEfRjaitlvXmR75wwHG2ACJOfpS9+RsABH8dIHqtL+KDVaL38WK5dGscG/YNc0cIuL16hzkH+7aq76tArFW92SekqbnpL+oJQjQmPOTimZx0clbG1L9DrN2b6/ybBkD7G/UCFnC0yXThkDDk4L0Rup4G65dwI7zGJw5Ia+MURw18sp5ccV6hiPMmjv3HT71O0QpTbOp78Wp+hVhZ6ZKHGR4T+HLPxo3oXeEmOuQbjHalGE4ZprqGMSxS4z4jzuv1ERiAp4aqHTRdvKd36YsRRQBiFuv4CFXqvsPawty3ug29XvCbvewR6cCFVRGYZ9mLBPJ9tlI+x/U7NzbMAqW8s/d02l+ofGAKXKU78ra7IU93YbY7GPlXPGE68uHqV0Jct3LVpWw7naVreY9IekWN0C+jF7kiX/GEduGcE8Y9vyDjFh3DLltRFrliEii4V+b7/t3z0lgPGg9Z7CilmQAFrLZLWGDJNPsaQYLUo98tDOwoJz0hRnelBib+48eKx51nt2b8kVWpKZDQRTmpjmPG0fyhCg5/oZgpfKRa58JaXaJM+P+j4U1oR0QMHAdw46kO1VRJh2TUNBO2lwNiojytCWlwbDW69hgYspilzI5bRFT+Xs4Au9+70xPlu7tMb/CYeWfCDimwiAir5mMPd7wyRyqZCYOI3rBhC0cQ7g2J/oMc8zK7gS1LDTQTfC4OjWxJ0rVLiICrR6TyL X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Aug 2021 16:25:56.9739 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 86b72e21-a18e-40e0-5e5e-08d9582db446 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: VE1EUR03FT041.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR08MB4568 Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,christopher.jones@arm.com X-Gm-Message-State: N6Vo1C0B2j0nFb7KirDvq07Rx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1628180773; bh=9iyy6KJ4Kp6zdwU8MxBLZs4qPBVOhi5i/KX6H95Ujuw=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=QqmGVkh6nIIcJ2QtdOI6eyNdCHtw1Cix2ZoBl1p+qj8s8EQnfqLiM1Z49pKHeLneHwz b8AIpk7aruSMh0XRsNht2gsoOLhFN9CNEcGAqpqXpxBcpGdXawA1lH5B64wF0kyfl9Qb+ Za9Oa/ghC+/a0X/GlMkJK1HnjoGDrM9K9xc= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1628180774601100005 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Bugzilla: 3516 (https://bugzilla.tianocore.org/show_bug.cgi?id=3D3516) Make changes to ACPI 6.4 header according to the latest specification: - ACPI 6.4 January 2021, Table 5.59, Section 5.2.27.1 & Section 5.2.27.4 - Mantis ID 1991 (https://mantis.uefi.org/mantis/view.php?id=3D1991) Signed-off-by: Chris Jones Reviewed-by: Sami Mujawar --- MdePkg/Include/IndustryStandard/Acpi64.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/MdePkg/Include/IndustryStandard/Acpi64.h b/MdePkg/Include/Indu= stryStandard/Acpi64.h index b8be65c5e1c861b2a85b81f585ffdb40a178e368..ffa819d83a95ba55784a639b309= b8bac8263be6a 100644 --- a/MdePkg/Include/IndustryStandard/Acpi64.h +++ b/MdePkg/Include/IndustryStandard/Acpi64.h @@ -783,7 +783,8 @@ typedef struct { /// Generic Initiator Affinity Structure Flags. All other bits are reserved /// and must be 0. /// -#define EFI_ACPI_6_4_GENERIC_INITIATOR_AFFINITY_STRUCTURE_ENABLED (1 << 0) +#define EFI_ACPI_6_4_GENERIC_INITIATOR_AFFINITY_STRUCTURE_ENABLED = BIT0 +#define EFI_ACPI_6_4_GENERIC_INITIATOR_AFFINITY_STRUCTURE_ARCHITECTURAL_TR= ANSACTIONS BIT1 =20 /// /// System Locality Distance Information Table (SLIT). @@ -2079,7 +2080,8 @@ typedef struct { /// typedef struct { UINT8 MemoryHierarchy:4; - UINT8 Reserved:4; + UINT8 AccessAttributes:2; + UINT8 Reserved:2; } EFI_ACPI_6_4_HMAT_STRUCTURE_SYSTEM_LOCALITY_LATENCY_AND_BANDWIDTH_INFO_F= LAGS; =20 /// @@ -2091,7 +2093,8 @@ typedef struct { UINT32 = Length; EFI_ACPI_6_4_HMAT_STRUCTURE_SYSTEM_LOCALITY_LATENCY_AND_BANDWIDTH_INFO_F= LAGS Flags; UINT8 = DataType; - UINT8 = Reserved1[2]; + UINT8 = MinTransferSize; + UINT8 = Reserved1; UINT32 = NumberOfInitiatorProximityDomains; UINT32 = NumberOfTargetProximityDomains; UINT8 = Reserved2[4]; --=20 Guid("CE165669-3EF3-493F-B85D-6190EE5B9759") -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#78732): https://edk2.groups.io/g/devel/message/78732 Mute This Topic: https://groups.io/mt/84688472/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Tue Apr 30 05:37:21 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+78726+1787277+3901457@groups.io; arc=fail (BodyHash is different from the expected one); dmarc=fail(p=none dis=none) header.from=arm.com Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 16281807600433.5176272359942686; Thu, 5 Aug 2021 09:26:00 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id cd5vYY1788612xs2e2oW7Kpy; Thu, 05 Aug 2021 09:25:59 -0700 X-Received: from EUR05-AM6-obe.outbound.protection.outlook.com (EUR05-AM6-obe.outbound.protection.outlook.com [40.107.22.52]) by mx.groups.io with SMTP id smtpd.web08.11237.1628180758963838942 for ; Thu, 05 Aug 2021 09:25:59 -0700 X-Received: from AM6P192CA0051.EURP192.PROD.OUTLOOK.COM (2603:10a6:209:82::28) by AS8PR08MB6980.eurprd08.prod.outlook.com (2603:10a6:20b:34b::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4373.18; Thu, 5 Aug 2021 16:25:55 +0000 X-Received: from AM5EUR03FT006.eop-EUR03.prod.protection.outlook.com (2603:10a6:209:82:cafe::ae) by AM6P192CA0051.outlook.office365.com (2603:10a6:209:82::28) 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:55 +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 (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+78726+1787277+3901457@groups.io; helo=mail02.groups.io; 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; X-Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by AM5EUR03FT006.mail.protection.outlook.com (10.152.16.122) 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:55 +0000 X-Received: ("Tessian outbound 312d863716bf:v101"); Thu, 05 Aug 2021 16:25:55 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: abb1bc2d422f053e X-CR-MTA-TID: 64aa7808 X-Received: from c04936a2949c.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 7D9024AA-4B9F-4310-ACB5-4702A6F99B5C.1; Thu, 05 Aug 2021 16:25:47 +0000 X-Received: from EUR04-VI1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id c04936a2949c.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Thu, 05 Aug 2021 16:25:47 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AR3qU8nPcZyoyYMr1G+Zqi6PgJjHE5LrwOmH6A+gEQKxXWNUJN0Z02YAgee/VI2D6HroB92V/y4PYbbUDu8lag1VEA/hhc9GPMaW54prWNVxSj2i+JydFi1HN1dIh0Y1T+U3hClaZfBlh9ghcigvUuCaqc3XvpqKvy0k41OtSOFtngS4iQoabqce4PWLCN9hXgW9FOyE3ugRbWNUvZnhnX8gkvA5IYWWMERoSHPjEVPhjaG6VOaTOcfU7cEPLftiTYYu/gzcUpkYxkMV2vqkupcIInY3BfXn4Df5CyxsqgOKeCFaJsCi4+QNjv9NxxxttwUgvUCXnFmGaV3r7tqUkQ== 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=uAaJfBwJtp+DuCHq80VwUj24QIvlbMqHab+h5fw/LOo=; b=EUKSpG8hsDimvWcIwp19CmbhdaEwEURGcjt/rkPJYHlP+OllZ+l1ZCug7++LRMw8v0Yy301ZGIMfrSpeNflCVpdnGxM189/TMdUGVT5N7DCcLPh2QKDI7mJd04/8ylPuc9a+887Z+7R1aLi3usFakAzEUU4EgWJkjj79AismQ1cCQX52UkAw7clZWcWxe1Qg2c/r+g+1LvZ2+UJsGit9yB7VcVa3glW2IHqOWQsH7NiKQfmXSJejciDnu/30WVyLVZ9ERuxTtlcJB7Iz+2KlhfDjXhft12sNjla6v6zIZ8ZqDNEy1mi0Kub/aNGc8idIxP4EmH3ggFQG/alFvOXMbA== 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 X-Received: from AM5PR0601CA0033.eurprd06.prod.outlook.com (2603:10a6:203:68::19) by DB6PR0801MB2005.eurprd08.prod.outlook.com (2603:10a6:4:76::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4373.26; Thu, 5 Aug 2021 16:25:41 +0000 X-Received: from VE1EUR03FT029.eop-EUR03.prod.protection.outlook.com (2603:10a6:203:68:cafe::5f) by AM5PR0601CA0033.outlook.office365.com (2603:10a6:203:68::19) 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:41 +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; X-Received: from nebula.arm.com (40.67.248.234) by VE1EUR03FT029.mail.protection.outlook.com (10.152.18.107) 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:40 +0000 X-Received: from AZ-NEU-EX01.Emea.Arm.com (10.251.26.4) by AZ-NEU-EX03.Arm.com (10.251.24.31) 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:30 +0000 X-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:31 +0000 X-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:30 +0000 From: "Chris Jones" To: CC: Sami Mujawar , Akanksha Jain , Ben Adderson , Michael Kinney , , , Leif Lindholm , "Matteo Carlini" , Subject: [edk2-devel] [PATCH v2 08/13] MdePkg: Add 'Type 5' PCC structure Date: Thu, 5 Aug 2021 17:25:17 +0100 Message-ID: <20210805162522.13201-9-christopher.jones@arm.com> 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: 089ced4c-0554-4e2f-3b57-08d9582db375 X-MS-TrafficTypeDiagnostic: DB6PR0801MB2005:|AS8PR08MB6980: X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true NoDisclaimer: true X-MS-Oob-TLC-OOBClassifiers: OLM:989;OLM:989; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: KTBj/fMTFGerKU4c07ExevbXOzQfQRe8O/aa2JaWE2fBaKeMNDWgRSJLOXhdZvjkTnVvZSQBk4eNPGWVM/K6aytzObKf16x8w1vCtipnBJt5RIQRYhBe9KKxnXCLl8bkOvo/ccQFZxQ4k1MHgNd5UsZIUbHrCRzfAXQm+voCfntF/YJHcmLToeEv3AKcKEwPOAYhACaPSFqFdPtNPTsH2ugyIKFGJW10LTb8yzGajFcY4+ZvLkZC3JMtJ8oN3ue4+qQrWbqXVFJ9MWWvcAsRxwgXcAFMh2AnkO8aLQs/21OdWlaJmH5jd4y/BTO1gWGA7G7Dz1flzyrGKKgY21XJ+jfHlN0tfZRlkVqAWxjzIK6dlPIYlRbRpxljohK8KRIHBS7zx/mUmikL24bFuC3aCX9dL6d4LjrUSEPioZkyXq9+VHGQiqpOM2o8e201dQPXWbQoV++RqKGD4yxh3Z2fkDvPBUijFzrWTL+reoXIgRlNCn7sr+h/ux+rKcBCnnxXznlryDwHNGxF/G9OhvcOHGvBnftPDIC8U9+gkcRQu1VkeisLZ8i/irq+kFrn7v9dMVRvlCe4Ho+knFppvZdF01SilNsFxM/oiv0A6EwO6EZXCGSulSYVVVeTwa9/etnSMbQwv4EKaPAWWeH/uSQbSrPBRubORBRzpyOGderk3deY2b/LXRtEf+CAZ6FaDjo9NBrf+ec6rc55cIqYU7D1htSf3y+dzl4iCu9iIGl/rgGCEtVBAwPD83GWF2jxFkvlkzaMFLQBxZVBY3FYfhxgb221+iEZQzIoMgcSX04SiD1tPIkREbfFwvn5TfaWpMFUOlgGw76JXWnVJC8jOpHqSqSFr0JIt/FgJM7nVDQP6xg= 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)(46966006)(36840700001)(316002)(47076005)(36860700001)(508600001)(81166007)(86362001)(6666004)(8936002)(1076003)(336012)(5660300002)(8676002)(7696005)(70586007)(16799955002)(26005)(4326008)(70206006)(186003)(2616005)(19627235002)(2906002)(36756003)(83380400001)(82310400003)(426003)(6916009)(54906003)(356005)(36900700001);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0801MB2005 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT006.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: cfbe654d-ac71-4d21-8724-08d9582daab3 X-Microsoft-Antispam-Message-Info: ap9Io/xl8uAdPoSCmHG/Y5L2xDYct1qdXK60qGRu6UfuBRnDKddUqLB04pOioqpz2EFg4hjlKlSOWZ4AMKBCbPqiC2seUXFfl063UAunjZzWPU5WchVVPUhCZVOCVAjeWBi4fiR4s+c5L6dJ5vIdKFefM707Qq5BOW7LV1IYQ2a/1ECVqrEhYcaoPQdeIkVHuvjH/+wqNgUecbSydyjW5Qu8+pWuKwPoWOwanIoCOAP2cLYb+BHQpYlw+SUpRbNb4rL2WrguDB2wnw1oPCE4J+O0cRYoy3Yzr1SEhrej3YOVeDR5RlzI5qlMwkNN3/mCGuQpzIwPshPsq6z7vyud2s/nlJvTHZRIeDxvAIMLHOPCMqP2pBWtHHjazMILH9hOJvyeYW1giXbCCDP+n2W+wACt+fuA6vt67GL0ZcrCKlTmsNzk2lX/fd00gq0uFzzxKVZn04StjOlDZWbTv9N8EZ6fglcmfRSK3qjCXWYC5l8GpVtWL7auU3R7DwI5eNrQrCVYm+netQioltcL3QH4jtw8cXhnvkujt++SvdCk3MAyX1GZiveat3Z2nuYlb2+egoBrfTw8TtxGznES6+R3kT4mNRUsLzLbx4e7BCLoEevEzG6iQU2f1cXGA5Sl45YGZF8+eVfxR3cKjZ8LbMnk4Ngccy91SbXLuNmngCg+VQpMFuGelHFMVKMAoWT/A86GQD9pLcoF+XzaM3Xmt87l+SO4Wn5aZzYQLj/i4Xz+rnGbKfIYs/vObQ+eEHPMk4/3vLNtWubUf9D1MCrdBj8vNQ== X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Aug 2021 16:25:55.6683 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 089ced4c-0554-4e2f-3b57-08d9582db375 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: AM5EUR03FT006.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR08MB6980 Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,christopher.jones@arm.com X-Gm-Message-State: Fp5DFUsuOX11ZsMGGB2K7OO1x1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1628180759; bh=pZ6qchcTWyAybTO6RpyVa0PpEWamjCTjZ4TPlWh3R1s=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=uskuW76sbMBm1i3mpU4sCXG4CPLCFpM8qkSdoZ22/zgYUhFWAy+J9QLDUtXIKIWKo4F OB0R3zB8Poy4Sgfm49iI6Wq7fkXPD+jswx+MlOFsb6Ncg2ey/vh9ynuxs1/kZT1UlJB+j zxYzokKp8oLhIz8At3fgXp/KkJ3QTXQ5y2E= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1628180760860100024 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Bugzilla: 3516 (https://bugzilla.tianocore.org/show_bug.cgi?id=3D3516) Make changes to ACPI 6.4 header according to the latest specification: - ACPI 6.4 January 2021, Section 14.1.7, Section 14.4 - Mantis ID 2010 (https://mantis.uefi.org/mantis/view.php?id=3D2010) Signed-off-by: Chris Jones Reviewed-by: Sami Mujawar --- MdePkg/Include/IndustryStandard/Acpi64.h | 29 ++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/MdePkg/Include/IndustryStandard/Acpi64.h b/MdePkg/Include/Indu= stryStandard/Acpi64.h index ffa819d83a95ba55784a639b309b8bac8263be6a..995426ae817561819e4de095535= 70c2735a5b268 100644 --- a/MdePkg/Include/IndustryStandard/Acpi64.h +++ b/MdePkg/Include/IndustryStandard/Acpi64.h @@ -2329,6 +2329,7 @@ typedef struct { #define EFI_ACPI_6_4_PCCT_SUBSPACE_TYPE_2_HW_REDUCED_COMMUNICATIONS 0x= 02 #define EFI_ACPI_6_4_PCCT_SUBSPACE_TYPE_3_EXTENDED_PCC 0x= 03 #define EFI_ACPI_6_4_PCCT_SUBSPACE_TYPE_4_EXTENDED_PCC 0x= 04 +#define EFI_ACPI_6_4_PCCT_SUBSPACE_TYPE_5_HW_REGISTERS_COMMUNICATIONS 0x= 05 =20 /// /// PCC Subspace Structure Header @@ -2468,6 +2469,34 @@ typedef struct { UINT32 Command; } EFI_ACPI_6_4_PCCT_EXTENDED_PCC_SHARED_MEMORY_REGION_HEADER; =20 +/// +/// Type 5 HW Registers based Communications Subspace Structure +/// +typedef struct { + UINT8 Type; + UINT8 Length; + UINT16 Version; + UINT64 BaseAddress; + UINT64 SharedMemoryRangeLength; + EFI_ACPI_6_4_GENERIC_ADDRESS_STRUCTURE DoorbellRegister; + UINT64 DoorbellPreserve; + UINT64 DoorbellWrite; + EFI_ACPI_6_4_GENERIC_ADDRESS_STRUCTURE CommandCompleteCheckRegister; + UINT64 CommandCompleteCheckMask; + EFI_ACPI_6_4_GENERIC_ADDRESS_STRUCTURE ErrorStatusRegister; + UINT64 ErrorStatusMask; + UINT32 NominalLatency; + UINT32 MinimumRequestTurnaroundTime; +} EFI_ACPI_6_4_PCCT_SUBSPACE_5_HW_REGISTERS_COMMUNICATIONS; + +/// +/// Reduced PCC Subspace Shared Memory Region +/// +typedef struct { + UINT32 Signature; +//UINT8 CommunicationSubspace[]; +} EFI_6_4_PCCT_REDUCED_PCC_SUBSPACE_SHARED_MEMORY_REGION; + /// /// Platform Debug Trigger Table (PDTT) /// --=20 Guid("CE165669-3EF3-493F-B85D-6190EE5B9759") -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#78726): https://edk2.groups.io/g/devel/message/78726 Mute This Topic: https://groups.io/mt/84688462/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Tue Apr 30 05:37:21 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+78729+1787277+3901457@groups.io; arc=fail (BodyHash is different from the expected one); dmarc=fail(p=none dis=none) header.from=arm.com Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1628180768072585.966621329027; Thu, 5 Aug 2021 09:26:08 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id 55w7YY1788612xcXjC5Eyy7a; Thu, 05 Aug 2021 09:26:07 -0700 X-Received: from EUR05-VI1-obe.outbound.protection.outlook.com (EUR05-VI1-obe.outbound.protection.outlook.com [40.107.21.50]) by mx.groups.io with SMTP id smtpd.web12.11184.1628180766764461544 for ; Thu, 05 Aug 2021 09:26:07 -0700 X-Received: from PR2P264CA0017.FRAP264.PROD.OUTLOOK.COM (2603:10a6:101::29) by PAXPR08MB6813.eurprd08.prod.outlook.com (2603:10a6:102:15f::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4394.16; Thu, 5 Aug 2021 16:26:02 +0000 X-Received: from VE1EUR03FT017.eop-EUR03.prod.protection.outlook.com (2603:10a6:101:0:cafe::cc) by PR2P264CA0017.outlook.office365.com (2603:10a6:101::29) 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:26:02 +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 (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+78729+1787277+3901457@groups.io; helo=mail02.groups.io; 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; X-Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by VE1EUR03FT017.mail.protection.outlook.com (10.152.18.90) 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:26:01 +0000 X-Received: ("Tessian outbound 8529ae990a93:v101"); Thu, 05 Aug 2021 16:26:01 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: b4f235b379fb5953 X-CR-MTA-TID: 64aa7808 X-Received: from 13caeace6603.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id A65E94EA-40D3-4A22-AB2A-39D63190BC60.1; Thu, 05 Aug 2021 16:25:47 +0000 X-Received: from EUR05-DB8-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 13caeace6603.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Thu, 05 Aug 2021 16:25:47 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RbJ10I0pNfYSCSKb/7xhzVIvaeU4HS1UQb6nS5joIURV/2XZfrIw9AwOp71w8bc7dE6wO/9vmw5xjkC11HX4200RB64RZS4uQhQU0y2f7Ozuw1ayAHnpOhsrW/N3DYQp7mzzb+jD64OuQw2+DghMuTC2M3EbpUPqJ8lvfTZ+8J56sMUPXvGJ/f9xiKCfjtPpgAfYBIvzrNxKQpiCdftSqLhRNX26inxZaShD4vHQdUz4hcRoefJe3xGSHA/gGQ8Ib0KvZAJprwaKPoTZwsIHAqJOVAry9H32o/YdPFBFQeMFbImRQof4tQ0PyANSTnNG0MR+CaDEyko3lcdUyIfbig== 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=YMykhU7/mZOaMg89QOxQBMvlztH67ZuZmOLwguQssy8=; b=EDXMY13KzeMPchVtkMClHHXAPLnOxV9D4r6fjvad96m8HLb++FX492/8RmMF4pYdzIF82A0LVxGW4sNNc4m62wTgePcrIsTYfWMs23EPNGsUqELmiEGUtLQOjpTgsBgQrCMwmwwbkvTgwzbmbwy65Hg1gwB5wy7SFPFEjG+vBc9khmos3WPIKqq1kfWNIeHEcK8oLYTGhzNLlPT5NTmUJgxBOHr2lsV/lRzLOoNezZ8m9ERS2+V68Ovaas2IOK08AdHEjYDDOqe0dVvUzyE3K4yJpDgHwlgpGTbwsm3o1IMLbcDcT8zYUO30UeCirn1dfQpMuEHrhnm1f+3doniNIg== 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 X-Received: from AM5PR1001CA0067.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:206:15::44) by VI1PR08MB5343.eurprd08.prod.outlook.com (2603:10a6:803:12d::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4373.25; Thu, 5 Aug 2021 16:25:46 +0000 X-Received: from AM5EUR03FT039.eop-EUR03.prod.protection.outlook.com (2603:10a6:206:15:cafe::f1) by AM5PR1001CA0067.outlook.office365.com (2603:10a6:206:15::44) 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:46 +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; X-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:45 +0000 X-Received: from AZ-NEU-EX04.Arm.com (10.251.24.32) by AZ-NEU-EX04.Arm.com (10.251.24.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.14; Thu, 5 Aug 2021 16:25:31 +0000 X-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:30 +0000 From: "Chris Jones" To: CC: Sami Mujawar , Akanksha Jain , Ben Adderson , Michael Kinney , , , Leif Lindholm , "Matteo Carlini" , Subject: [edk2-devel] [PATCH v2 09/13] MdePkg: Add Multiprocessor Wakeup structure Date: Thu, 5 Aug 2021 17:25:18 +0100 Message-ID: <20210805162522.13201-10-christopher.jones@arm.com> 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: bff04e17-fb76-418c-e727-08d9582db71f X-MS-TrafficTypeDiagnostic: VI1PR08MB5343:|PAXPR08MB6813: X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true NoDisclaimer: true X-MS-Oob-TLC-OOBClassifiers: OLM:3044;OLM:3044; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: XY0S0L2rZpzKhyWXDw70+5lgbLh4RPs0P0Ucg5JXp9SqS8Sdik9Qd/xb22wCaKFvfFDcwWlK3nQVdxHwOZH24xfFA7Z72np7Jn57yZMuuVIc+sNVdyM/HbA6tcaslZ0SNC4w4Q9s+5Efpe7Or0FjPnhBZ4LO2ye/5Uhb8seYXk1U2y1tfAytXH0nhaAtcVKPF5I7HILhP3aUpwbsfY8b8aBR2Gwppn3VYbQKB8dtfObVy4GT41C4p1hOHOf9f5/e/gC9SMOMlLcNqDJB3W+u/ZXsnIwRchTMIJ66849CiYFRDGAsn+Hg1OHUnmDyTEi6Bw8B5nNWWowppSif+RLeA9DfgNmaazIK21AcpnfcCaN7z2tOIqsoWjW7smmEVYRZ5YdeScfkOGwvGkFdh4aegK9Mi6aXDYmA3GW1SU69bFxAsMwg1LjrdbztqE4eoa3BDPi1TqwlTf+SmvtPyQ3tArWqGyeQg7WvtqhQyWOvfqVWedqp2Y1MArNYMIvmZ8F1XOvhJYcohwEr+bheUyYduBHSU1+fVhXBttf+mXZWa85w0yq9bQeDw9V6gPVI5NhMerCE3+K5HkwoYlVb2BRYQzlFo9PaDWM0FcyYUU/Hgunm+tq6oJB4auGQpviMTtxSMO4u3XjpJX85vo7NUakFrtbRWmRHG3+gFq1/GxVwz8z9Vrm3CceNtOaoT8ot75gPKeUA1cL06l19wcZ8hYOXrGxmF1kHLBapgY4aH1D1AI//1giyROd5QXHIJedv5hle1UPgnE0iGbTPRKd2gFua0N63PFTz7hEENL8aDN+ZJlml4KMGTseJ+hb4TSLM2LaxQHWunvf1/Dz2r5rqeVryycmIZQpe/4Ryne30Q9gYjNc= 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)(346002)(136003)(376002)(39850400004)(396003)(46966006)(36840700001)(356005)(1076003)(47076005)(8936002)(4326008)(7696005)(426003)(36860700001)(6666004)(86362001)(36756003)(5660300002)(16799955002)(82310400003)(336012)(8676002)(6916009)(81166007)(2616005)(82740400003)(26005)(186003)(70206006)(54906003)(478600001)(2906002)(83380400001)(19627235002)(70586007)(316002)(36900700001);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB5343 X-MS-Exchange-Transport-CrossTenantHeadersStripped: VE1EUR03FT017.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: dc54205c-4222-4119-f37e-08d9582dad7a X-Microsoft-Antispam-Message-Info: /s0V6mwAcQ3YWSLgaRAFlQ786Q+/250RGsLMm01YzzfOhvfbYfD7MA8biCViaSFgUz6XSTUrGk+8OoRtjevFpNaEynyOEwjlA73+GbY5gbfQJWlfCSubNt2C7zvB4xcNcjHwjJaXu4Nc0vlQMjOFmf9llPbG+NTQG5W2URwI3zRM3g/LymWNe7UwySUcaU0Hs0ag8FbDWX3dmp3muBbIFwSqPDOyY/3/Ufu8kf7/n1Q2c8xjHe8jAuiHZLFW48yOrYBenFlpccOCWRV4x59zmUg3otxVVyiWcR/FTApvo9oDPRFAM66eB4WTq46U8XPN4NRS3JOfRVGrJmZvoSKJdl0Ui/V8OCSbOzaHpgJF1t9QxfvpwSvnkDpvpTBBrVpx2FQoJiPelfUnO+5dfhy1yTY4RO5sds+wfJrmBaBk4VjCDgFf3sfJr+Sc9GuppL4lEj5Ld4xRyj2gybpVE/7A+97TdpyYZ+EDm1zLdqI+UmvMubV6Q9CjagupDJDlQGJjRRqJmoBgYlION1y0vw7yH0nA4XmB/KBza/LbyJgWcktIqRIDrMaQWlK01pGqSyPkNfbk9j0Fxi+yL96nqmwM9+tMuDIBxzvHhNs3U1SB+iDr7VEYijZ36d86EdwZCvxakhtoFFq39hS+tEJz6yqvHCa4EVekb3iXZv4bXPAasAvLmWEBTTLIofGCH2jALON068gKXjYPTi+obaeYEoOJFjaq+Xxg1FktylOwllXKpcRIE6su0X+y5sY6yCpNn5CNu2Jsrw3oFcqDiQZ+oN4zTXkitjRMsk4v0LR15Xla1EM= X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Aug 2021 16:26:01.7540 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: bff04e17-fb76-418c-e727-08d9582db71f 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: VE1EUR03FT017.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR08MB6813 Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,christopher.jones@arm.com X-Gm-Message-State: vn8qBffwIxrGDKFArODrKaTYx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1628180767; bh=Wn0SsnUeYla0A4z1GQu+4HZC2Ib5sWC7x81mOnVAcC8=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=jIj77YXC9wbt3U5inP0S62e95ENks/lzdmmbeHroYPklaTDhXu1pl6thYor/pG3r8sj N3wYdNqs7nf+K0qqu5oXB//TiKpk2YCgWyv41PQoKHirHoPeKOfhlbeS6AoC//YcfmdB1 xsyX/lXJEunlU6BfBLu6r3v0+sZhMaKBH+U= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1628180769943100002 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Bugzilla: 3516 (https://bugzilla.tianocore.org/show_bug.cgi?id=3D3516) Make changes to ACPI 6.4 header according to the latest specification: - ACPI 6.4 January 2021, Table 5.21, Section 5.2.12.19 - Mantis ID 2087 (https://mantis.uefi.org/mantis/view.php?id=3D2087) Signed-off-by: Chris Jones Reviewed-by: Sami Mujawar --- MdePkg/Include/IndustryStandard/Acpi64.h | 29 +++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/MdePkg/Include/IndustryStandard/Acpi64.h b/MdePkg/Include/Indu= stryStandard/Acpi64.h index 995426ae817561819e4de09553570c2735a5b268..5864870e2ba60eca0e8b04b7b2a= b1217895b4994 100644 --- a/MdePkg/Include/IndustryStandard/Acpi64.h +++ b/MdePkg/Include/IndustryStandard/Acpi64.h @@ -302,7 +302,7 @@ typedef struct { =20 // // Multiple APIC Description Table APIC structure types -// All other values between 0x0D and 0x7F are reserved and +// All other values between 0x10 and 0x7F are reserved and // will be ignored by OSPM. 0x80 ~ 0xFF are reserved for OEM. // #define EFI_ACPI_6_4_PROCESSOR_LOCAL_APIC 0x00 @@ -321,6 +321,7 @@ typedef struct { #define EFI_ACPI_6_4_GIC_MSI_FRAME 0x0D #define EFI_ACPI_6_4_GICR 0x0E #define EFI_ACPI_6_4_GIC_ITS 0x0F +#define EFI_ACPI_6_4_MULTIPROCESSOR_WAKEUP 0x10 =20 // // APIC Structure Definitions @@ -589,6 +590,32 @@ typedef struct { UINT32 Reserved2; } EFI_ACPI_6_4_GIC_ITS_STRUCTURE; =20 +/// +/// Multiprocessor Wakeup Structure +/// +typedef struct { + UINT8 Type; + UINT8 Length; + UINT16 MailBoxVersion; + UINT32 Reserved; + UINT64 MailBoxAddress; +} EFI_ACPI_6_4_MULTIPROCESSOR_WAKEUP_STRUCTURE; + +/// +/// Multiprocessor Wakeup Mailbox Structure +/// +typedef struct { + UINT16 Command; + UINT16 Reserved; + UINT32 AcpiId; + UINT64 WakeupVector; + UINT8 ReservedForOs[2032]; + UINT8 ReservedForFirmware[2048]; +} EFI_ACPI_6_4_MULTIPROCESSOR_WAKEUP_MAILBOX_STRUCTURE; + +#define EFI_ACPI_6_4_MULTIPROCESSOR_WAKEUP_MAILBOX_COMMAND_NOOP 0x0000 +#define EFI_ACPI_6_4_MULTIPROCESSOR_WAKEUP_MAILBOX_COMMAND_WAKEUP 0x0001 + /// /// Smart Battery Description Table (SBST) /// --=20 Guid("CE165669-3EF3-493F-B85D-6190EE5B9759") -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#78729): https://edk2.groups.io/g/devel/message/78729 Mute This Topic: https://groups.io/mt/84688467/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Tue Apr 30 05:37:21 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+78728+1787277+3901457@groups.io; arc=fail (BodyHash is different from the expected one); dmarc=fail(p=none dis=none) header.from=arm.com Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1628180763118769.7900445226591; Thu, 5 Aug 2021 09:26:03 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id LRDAYY1788612xKYz9Bg8sEi; Thu, 05 Aug 2021 09:26:02 -0700 X-Received: from EUR05-DB8-obe.outbound.protection.outlook.com (EUR05-DB8-obe.outbound.protection.outlook.com [40.107.20.89]) by mx.groups.io with SMTP id smtpd.web08.11239.1628180761232703480 for ; Thu, 05 Aug 2021 09:26:01 -0700 X-Received: from AS8PR04CA0169.eurprd04.prod.outlook.com (2603:10a6:20b:331::24) by VI1PR08MB3952.eurprd08.prod.outlook.com (2603:10a6:803:de::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4394.16; Thu, 5 Aug 2021 16:25:58 +0000 X-Received: from VE1EUR03FT009.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:331:cafe::7d) by AS8PR04CA0169.outlook.office365.com (2603:10a6:20b:331::24) 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:58 +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 (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+78728+1787277+3901457@groups.io; helo=mail02.groups.io; 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; X-Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by VE1EUR03FT009.mail.protection.outlook.com (10.152.18.92) 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:58 +0000 X-Received: ("Tessian outbound d9f41274f41a:v101"); Thu, 05 Aug 2021 16:25:57 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: ff1e853a06f4d990 X-CR-MTA-TID: 64aa7808 X-Received: from 2b1fa21cb5ab.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 3628BC6E-0906-42EA-B3FB-E392984A72BF.1; Thu, 05 Aug 2021 16:25:49 +0000 X-Received: from EUR04-HE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 2b1fa21cb5ab.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Thu, 05 Aug 2021 16:25:49 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=I/DZRtLok5D/Y97MdmdDcedJSaSCptLxDmv7hwTuBerwxVJc/YABsv+xWha1Q+IwaFM6YG0tDg4pOaoFUlWjClfNygo70qIq33nbH1SRkhp8vR/peUBLZg8MCmtrU2ILJ4g48xKAprRCBK0buSFIQ225G4wXusPtbCGzGrwFNepc3kuREzDQbNrssyiCvKpAwyg0TLLtxHr3lgI2dVHWyQZUSMDmAc8lIOdt4hASiFLWvhx+CvPJ+Jqyk2McLVS0n4dZyLIsqNO0iyAiMnGKhvOxH027+p+w9YSGD40/CqZeVoigh+o9CTicVZ/RDD1nl1JGhwiyCoxpgCQ1QwGlWw== 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=qhuyAdoJ7pR041V2vLKVCrO5oWky57H5koJGDZi/634=; b=iFfldYNmmN50j/xa0QEcJb2orRF89SRr6cFDW360S0gGHweveCA/3mG022J/yShFhCh1vf/HfUef9IPB+HjwLdcXdhHdi6Me780N2LIRbTuSXLeTSsfvLoBX2NhHyN72BUxXKSBKIQQKKH4pbAZ5ER5gOGC5JiogpR0SWrzDsxPacN6GGPUQM6ShP8q1pz6GeP45+DlVAFFEdqpo3HtsNM/NX8+lvAH3WokMAqusCK1T67p79acTxFyDh+BpzXl0H/S3dWEa/sEhm31YV61/TQIZfN8VibYQhJ0Wi87qviXDr9T7Q0hraPKCGcGP4LIw5TUF6Y/8IhL6DbIZgUAdFQ== 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 X-Received: from AM5PR1001CA0055.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:206:15::32) by DB6PR0801MB1623.eurprd08.prod.outlook.com (2603:10a6:4:3b::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4373.23; Thu, 5 Aug 2021 16:25:47 +0000 X-Received: from AM5EUR03FT039.eop-EUR03.prod.protection.outlook.com (2603:10a6:206:15:cafe::71) by AM5PR1001CA0055.outlook.office365.com (2603:10a6:206:15::32) 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:47 +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; X-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:46 +0000 X-Received: from AZ-NEU-EX04.Arm.com (10.251.24.32) by AZ-NEU-EX04.Arm.com (10.251.24.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.14; Thu, 5 Aug 2021 16:25:31 +0000 X-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:31 +0000 From: "Chris Jones" To: CC: Sami Mujawar , Akanksha Jain , Ben Adderson , Michael Kinney , , , Leif Lindholm , "Matteo Carlini" , Subject: [edk2-devel] [PATCH v2 10/13] MdePkg: Add the Platform Health Assessment Table (PHAT) Date: Thu, 5 Aug 2021 17:25:19 +0100 Message-ID: <20210805162522.13201-11-christopher.jones@arm.com> 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: e9ad2df2-0321-4f6f-ff1d-08d9582db500 X-MS-TrafficTypeDiagnostic: DB6PR0801MB1623:|VI1PR08MB3952: X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true NoDisclaimer: true X-MS-Oob-TLC-OOBClassifiers: OLM:989;OLM:989; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: 3DEf5GL+bKETlGAYbDgzKBgg9x2pizZRHabG59mRcGaXtsKCWWX3Sm4KlS3iUiUyEjQQYgL/tUpxmatkvU6X0bUuGAZSWHrv1QnWVCezdq44hdwFGVQJzBSNxi4gOD8LCb1lDBOlkSNrhKP8JQMZcrheIW1VlBWRsiFAPp78BqDzYVMUYn1rQ9MDZ5AVw82IusnJQTPQeN1QUKghtpVMgT5/orO3pLejcuzPptCl5Vmqmld6eHWB86obJg2gm9r8sf4lquVJqvCOR9jdagmnmopnqEWba9Y62bJVBDH0CguAgdNRnQWLwcFfEdhgE3UKaXKbV0JBQT8NQAbCigbHWxu4hs3HXDaEgYHb+28a3gbqUV6iA/Ga8VztfXdyGUJTpjs2S6ZwvZOnJb/uSrE/saF4JAKGSKx6B524vZTr0/LAUNJLeTD28z22knWASGzN/fzBshaWn8Lg8FV28J6SliE+SmrDE1WEPkN56dtbidvU27KkHXmAlGkjeS6kZIQZkH36ubHxSx6nzNcsUHRMjc77TsFrIvS2MJgD61UPHFK3Q7raU8A5jXv83PaMR8BiHWrebmCvCP1UOHcaIeZTH5csHWAxoKIMYrrxz8SwPJeN2RHfNLTE9dZS2fWUFJC4pTj/hQYXdM8U13fVvhDqNPAynV+S2sQ3DHDwxA64PT+e9ywGHeGYjoJ7X0G9S8dsV2Z59fnJagLeA89uW9Hfs0cChRbEAjDnwk64n3HHg0voMlAIlvatvNXnnHxvGoZcBHa2B2z12ZAOqlgloj5mLcUlZZc1ipCz2SZwZhKHChUxVRPdARxnjE6WqVykvbIQEIeYk3uT8FA6MgvIftDfsnZprRvIk11b4NrBrISeNcg= 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)(36840700001)(46966006)(8936002)(70206006)(6666004)(316002)(5660300002)(81166007)(7696005)(19627235002)(8676002)(6916009)(86362001)(70586007)(336012)(36860700001)(2616005)(1076003)(26005)(36756003)(82310400003)(4326008)(186003)(54906003)(356005)(16799955002)(47076005)(508600001)(426003)(2906002)(36900700001);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0801MB1623 X-MS-Exchange-Transport-CrossTenantHeadersStripped: VE1EUR03FT009.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 6d5061bc-b4a4-43ca-a959-08d9582dae47 X-Microsoft-Antispam-Message-Info: XCTigKPMYQcGRHDOaBeUT+BrKbSErjuyCna0qk1IGITrdLZ/2PU0GrupVS5OkijSixbazCh6rnAnvdz/JpNajGPJExka2LN6bLNq+qCe3uuzR18i6WMHzQxtAl39DZpamMr1Mm80Sz6bUDGx0XH6rUhWBC5bjlnDotvoSmavH9UC7X694QuBv9Ax0AxahCNbWuSxlf82bmjKyBUvdQoZ1tKfBFdbvbwBh5YFtJuzEop3FF7ZYFJgI1c8YElog7xEWupKyhlji8fwclUV0bgh8waVzmJMSqIXpy4mJ44Scr2h02Z4SLSSViC9B4vooMuIYy1NxuC+a0ilDp0lck6/ukWRPLC+ASgMmBo17X9IpUmnu0e0/R9Vb72/oHB57epAZlVemQwFZqHcgxeDN4+fLk8rkI1bxNuvo8NkmxB91Yyhe6tW/YM0EHZphff2UqTD9W+0MY5IfztIr4K7TXSXznLSdine34y/JXIJhDwa7SPpRIhxDvpX9DdB2A0+B9PNkelpEQTiMT+TM5UJmX5zG8+VlJtQqZVzPn0h5kGef2vltnlY83phTgoXZ2l5IhbXjpXj+zvD4Ima7yh7nkaKx7mLTNWPNiyLQGbOI7uUCUwguy2l1ebJQypc6pLqYlS7QM8BjSgNNJZIjQ51TmvCuvG2SKFzU5fPrX70mwBtsNFLPv4VMzUUweZW6yRSG6Bzrx5d7bdzRGjL+cn45CGJ2umWN5hpVJxsoGnX8NPb3cmnzYgvtqoAvKTkv8zrnJ5x3RydPiQqfMAOecvQ40+RUdaEP+OvEyaW3az1e10qBwxCMQjY69V47kiMjDn9YL02 X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Aug 2021 16:25:58.1980 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e9ad2df2-0321-4f6f-ff1d-08d9582db500 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: VE1EUR03FT009.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB3952 Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,christopher.jones@arm.com X-Gm-Message-State: C0LNMi63LPejXbRXB8l89SbKx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1628180762; bh=svUMK3Mf2fjvR/G2c6yNhhhjZZiGsVWi64KlRWRzJzo=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=RxHi4Hj9x2VOr1z2lguv1evIWeCzXTBmY59qIggYA1etiUdVZWlMDO6PonPcIz3qEO6 FvC/LbWcWsKpHsf62xgC0b1mzUfLnh4LWXiR/JnbDWvOjxKyPSnYchkKnV/cjhIUIXNFh nic9UxRY8v8GNUvODJhSSsooC5eWt5g0xOE= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1628180765238100002 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Bugzilla: 3516 (https://bugzilla.tianocore.org/show_bug.cgi?id=3D3516) Make changes to ACPI 6.4 header according to the latest specification: - ACPI 6.4 January 2021, Table 5.5, Section 5.2.30 - Mantis ID 2094 (https://mantis.uefi.org/mantis/view.php?id=3D2094) Signed-off-by: Chris Jones Reviewed-by: Sami Mujawar --- MdePkg/Include/IndustryStandard/Acpi64.h | 79 ++++++++++++++++++++ 1 file changed, 79 insertions(+) diff --git a/MdePkg/Include/IndustryStandard/Acpi64.h b/MdePkg/Include/Indu= stryStandard/Acpi64.h index 5864870e2ba60eca0e8b04b7b2ab1217895b4994..cd093003805799541696516e809= d0c800137510e 100644 --- a/MdePkg/Include/IndustryStandard/Acpi64.h +++ b/MdePkg/Include/IndustryStandard/Acpi64.h @@ -2713,6 +2713,80 @@ typedef struct { UINT16 SpinRev; } EFI_ACPI_6_4_PPTT_STRUCTURE_ID; =20 +/// +/// Platform Health Assessment Table (PHAT) Format +/// +typedef struct { + EFI_ACPI_DESCRIPTION_HEADER Header; +//UINT8 PlatformTelemetryRecords[]; +} EFI_ACPI_6_4_PLATFORM_HEALTH_ASSESSMENT_TABLE; + +#define EFI_ACPI_6_4_PLATFORM_HEALTH_ASSESSMENT_TABLE_REVISION 0x01 + +/// +/// PHAT Record Format +/// +typedef struct { + UINT16 PlatformHealthAssessmentRecordType; + UINT16 RecordLength; + UINT8 Revision; +//UINT8 Data[]; +} EFI_ACPI_6_4_PHAT_RECORD; + +/// +/// PHAT Record Type Format +/// +#define EFI_ACPI_6_4_PHAT_RECORD_TYPE_FIRMWARE_VERSION_DATA_RECORD 0x0000 +#define EFI_ACPI_6_4_PHAT_RECORD_TYPE_FIRMWARE_HEALTH_DATA_RECORD 0x0001 + +/// +/// PHAT Version Element +/// +typedef struct { + GUID ComponentId; + UINT64 VersionValue; + UINT32 ProducerId; +} EFI_ACPI_6_4_PHAT_VERSION_ELEMENT; + +/// +/// PHAT Firmware Version Data Record +/// +typedef struct { + UINT16 PlatformRecordType; + UINT16 RecordLength; + UINT8 Revision; + UINT8 Reserved[3]; + UINT32 RecordCount; +//UINT8 PhatVersionElement[]; +} EFI_ACPI_6_4_PHAT_FIRMWARE_VERISON_DATA_RECORD; + +#define EFI_ACPI_6_4_PHAT_FIRMWARE_VERSION_DATA_RECORD_REVISION 0x01 + +/// +/// Firmware Health Data Record Structure +/// +typedef struct { + UINT16 PlatformRecordType; + UINT16 RecordLength; + UINT8 Revision; + UINT16 Reserved; + UINT8 AmHealthy; + GUID DeviceSignature; + UINT32 DeviceSpecificDataOffset; +//UINT8 DevicePath[]; +//UINT8 DeviceSpecificData[]; +} EFI_ACPI_6_4_PHAT_FIRMWARE_HEALTH_DATA_RECORD_STRUCTURE; + +#define EFI_ACPI_6_4_PHAT_FIRMWARE_HEALTH_DATA_RECORD_REVISION 0x01 + +/// +/// Firmware Health Data Record device health state +/// +#define EFI_ACPI_6_4_PHAT_FIRMWARE_HEALTH_DATA_RECORD_ERRORS_FOUND 0x= 00 +#define EFI_ACPI_6_4_PHAT_FIRMWARE_HEALTH_DATA_RECORD_NO_ERRORS_FOUND 0x= 01 +#define EFI_ACPI_6_4_PHAT_FIRMWARE_HEALTH_DATA_RECORD_UNKNOWN 0x= 02 +#define EFI_ACPI_6_4_PHAT_FIRMWARE_HEALTH_DATA_RECORD_ADVISORY 0x= 03 + // // Known table signatures // @@ -2957,6 +3031,11 @@ typedef struct { /// #define EFI_ACPI_6_4_PLATFORM_COMMUNICATIONS_CHANNEL_TABLE_SIGNATURE SIGN= ATURE_32('P', 'C', 'C', 'T') =20 +/// +/// "PHAT" Platform Health Assessment Table +/// +#define EFI_ACPI_6_4_PLATFORM_HEALTH_ASSESSMENT_TABLE_SIGNATURE SIGNATURE_= 32('P', 'H', 'A', 'T') + /// /// "SDEI" Software Delegated Exceptions Interface Table /// --=20 Guid("CE165669-3EF3-493F-B85D-6190EE5B9759") -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#78728): https://edk2.groups.io/g/devel/message/78728 Mute This Topic: https://groups.io/mt/84688465/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Tue Apr 30 05:37:21 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+78730+1787277+3901457@groups.io; arc=fail (BodyHash is different from the expected one); dmarc=fail(p=none dis=none) header.from=arm.com Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1628180769571630.7439670913438; Thu, 5 Aug 2021 09:26:09 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id 5wGpYY1788612xsSG73Jviwj; Thu, 05 Aug 2021 09:26:09 -0700 X-Received: from EUR03-AM5-obe.outbound.protection.outlook.com (EUR03-AM5-obe.outbound.protection.outlook.com [40.107.3.61]) by mx.groups.io with SMTP id smtpd.web09.11240.1628180768227345595 for ; Thu, 05 Aug 2021 09:26:08 -0700 X-Received: from AM6PR02CA0024.eurprd02.prod.outlook.com (2603:10a6:20b:6e::37) by DBAPR08MB5816.eurprd08.prod.outlook.com (2603:10a6:10:1b3::16) 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:26:05 +0000 X-Received: from VE1EUR03FT022.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:6e:cafe::19) by AM6PR02CA0024.outlook.office365.com (2603:10a6:20b:6e::37) 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:26:05 +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 (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+78730+1787277+3901457@groups.io; helo=mail02.groups.io; 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; X-Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by VE1EUR03FT022.mail.protection.outlook.com (10.152.18.64) 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:26:05 +0000 X-Received: ("Tessian outbound ab45ca2b67bc:v101"); Thu, 05 Aug 2021 16:26:04 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 1712a2f58efaea00 X-CR-MTA-TID: 64aa7808 X-Received: from e01384fefc61.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id DDB5EBCB-D94D-40F9-8A84-DD2413AC8143.1; Thu, 05 Aug 2021 16:25:59 +0000 X-Received: from EUR01-HE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id e01384fefc61.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Thu, 05 Aug 2021 16:25:59 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bS+6DfSCt/EldWPe16msuiFnEs552Lzc7DghRw3pvbbu7illXduoA8XoZtTLktHqsH4GQw3qNLxAmVjioSpCBMTy2y4uTVVLR3nHU6HwjTsHJZeXIpiaIW8Lq8QrUYLKKgPd9iaJP4bgXPFibeTZ05KoQfBQFeDeL2+AtOUELGPJJvoGvDj2IyIdRmouXZGeYMiyNpcvvk7NpYZsHSqHn9DZqZrvxE+2VvY6UmIlLfcfXSyAj1MA7ipfOaKmJS+OFuP9ZeztV5Q0pCktALhvMwr04W6KdeHCGtLSlY15FJbOLb/yXUm4ENh2hORBvzC+nPAvJ0jTR5Uz7kXDCQDfdA== 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=sMbOPxqHyuVe/sTqOYrm81J3OdBibPGBgQiQO1IApG8=; b=Ui9vdLDSlY9ejLa99qxXSewoEHBEuoyhN4rDxsp13S/HIkVs8LedbUxnobcBZPFaZmzEXUVybZM/d2QrUUYnpjTuQY3XPnaGkxatTfTpDKMq8eSh/zeTMDzPlB4pOs6AialkQ3hBzbuuwRTw8e46TfwDxiHvxJ4NNpPEz6/Uz6K+wc2B+hC2TifminrvY0h5XkA5UPJSi+z9YkaHTP/CSf2KHk2ALFvCBc7i4JiSLXAg8Nzent2qZIRg9N+MGCBoIP6OCYYaZmaXMEnSOzGTf5n8zePcIFiGuvetFZfrgWVSi947i4ttvB8e17lPCVh2CnLHDTFIe4mQDptYmztx2w== 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 X-Received: from AM5PR0602CA0005.eurprd06.prod.outlook.com (2603:10a6:203:a3::15) by AM4PR08MB2897.eurprd08.prod.outlook.com (2603:10a6:205:a::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4373.26; Thu, 5 Aug 2021 16:25:57 +0000 X-Received: from AM5EUR03FT005.eop-EUR03.prod.protection.outlook.com (2603:10a6:203:a3:cafe::56) by AM5PR0602CA0005.outlook.office365.com (2603:10a6:203:a3::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4394.17 via Frontend Transport; Thu, 5 Aug 2021 16:25:57 +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; X-Received: from nebula.arm.com (40.67.248.234) by AM5EUR03FT005.mail.protection.outlook.com (10.152.16.146) 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:55 +0000 X-Received: from AZ-NEU-EX04.Arm.com (10.251.24.32) by AZ-NEU-EX04.Arm.com (10.251.24.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.14; Thu, 5 Aug 2021 16:25:32 +0000 X-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:32 +0000 From: "Chris Jones" To: CC: Sami Mujawar , Akanksha Jain , Ben Adderson , Michael Kinney , , , Leif Lindholm , "Matteo Carlini" , Subject: [edk2-devel] [PATCH v2 11/13] MdePkg: Add Secure Access Components in the SDEV table Date: Thu, 5 Aug 2021 17:25:20 +0100 Message-ID: <20210805162522.13201-12-christopher.jones@arm.com> 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: 554781fa-04e7-4997-cc94-08d9582db916 X-MS-TrafficTypeDiagnostic: AM4PR08MB2897:|DBAPR08MB5816: X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true NoDisclaimer: true X-MS-Oob-TLC-OOBClassifiers: OLM:989;OLM:989; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: w+odyY/vfeKDXJQYvuS8OkNxG/GKuGcbLgfszF5ZOUTaMlhkTmSY2nGedzmTOs7DBPRwPJLekHkxZlolvwPKaug+XDrFMhHE0AiC+vI/NxAqiRR4JenE0cx2orOSV76v02XiTLo10lSNQ8RQz2DL4HgRaOqU5j7rHPdJz/Yox7yy53HkxKmIICsKSewDLncRyaxYO+TPJgADbpbYeJhKZMguG6kh3GQGAMp36JhgwYYVZ0QwtyvCDLr+/9nh5+wjFaIRoaURiI2Ql3iUk0Eu6XHj8S4QGj+cfZYnInCSxWVlemJZbQXDFjuza64jQaN0X3Vbi/X0nwiEPjEYe2tvVVlGCDyVfYKR270hPR23+cMyFBMeW5u4ChEiPX7I7q19v1CAhxvBxyeFROLBlCMyBT7EwZgV1zoQzn3uE8Bk27Gc0++0Ta7BFkTA4L66+BEdxkQnV3CUsVO55LBJrSdUjvyfsBBTKdfJt1mEoZNrt7OreCW5toMOnUEz7SFE1tU48lS8AqZ3WTIPTQBhiGVbVajVeynXIFNR/gq6VOV4gnzK+w/fds8zwWph6WBvMtJaTi/kuaVsjxaT+/t6W5QK164mS02bmzgXqStskzdCOMPC/IpGupfYkrLu8cqziIF8erPMVItFG1gO46kN2wXyRoYkuMWIIBQ/t8Rsr3kfWA3hv+NVhLh6eMinmXUjWsCsGy+XInamLbS8uZDh6hufecW0pjDruxROUtbkmUxA81ePQ4fwiSZYb55FYRGxqX6XWB4WNQVakUK9ayHthc89RL0LWFAm3JfhJNjliPqyqsz+qPa5SU83d2A5gsTZiSSX 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)(376002)(136003)(396003)(346002)(36840700001)(46966006)(36756003)(82310400003)(47076005)(2616005)(426003)(6666004)(478600001)(8676002)(1076003)(8936002)(81166007)(5660300002)(7696005)(83380400001)(16799955002)(2906002)(86362001)(6916009)(316002)(26005)(54906003)(336012)(36860700001)(70586007)(186003)(70206006)(356005)(82740400003)(19627235002)(4326008)(36900700001);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM4PR08MB2897 X-MS-Exchange-Transport-CrossTenantHeadersStripped: VE1EUR03FT022.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 46936798-cbaa-4318-bd43-08d9582db377 X-Microsoft-Antispam-Message-Info: lxgK483rFfaaZGfegaczC2VFiIOjKaziOI/wnvjjhiUKpQC9IHgWhT7rn+Rcylwf7NhTNPdhbol8XjhsEqO2i6OKXItlQmAXXk9SOpoY3RioxB4oxERauh8O5HwO9JD2W9L6k0vIfQk4YPBas4pFsKgN4lgqkSvZlzcfwBID14jcnouB1YDN+Abfyt7t9ujTs2JqvaVOISwnwnCcyou3rFLdhKcDmRNavgBv7SE5KN50uAjicWrU6y2zq7wULbljkimaulNgESCWtgkfIpLeIAdKh+cmfxAvjKCxyoUpMZGK3Cm1Caxbqctz4WTanwhv5vC9UWT9M5Ta81RVboUAD3EnpydGI2cypsa7QfwVePlR36Xcb4aJMGjPG90wMu4UTcsGU22FPJ8rZvvaQXjsh+3OQJCPpXvxj4EFE74ZFNYOnFePYdyAa3WxUciAKtmXpR/3t5K20+BCuiflrHq34nEIYqYD/FVSYjoFx99RqvfOdRxicseQObrcPLHzHKkaEQCDQGyHEYNFR2xQ7tTlajVnl0yA8i6so5hMxXRyaNJqOd8sgOJFXTbtkCCVAjzIZQ7O1Q9YM8NaUOuxIql+PliWqRqvAI+XhpF4RYZzT7dy6pdWZ/sWJ0aSj7OOfp2sknSCFf9sSUZq1HPSqTg2s8imqJT65VJjuEJB07ZRBPm3n5FfR3n6GMYmwQ2CFBSbpdjeWFoqNkvtC2FUF47EDiIW0sD85JOYK2Stst2t04BfuZ25ZNCXzRmZPMSvf4YxunHUWwLft+tunS4vDAZfVDsm/kfdu4hvbV+OaWTF9I8= X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Aug 2021 16:26:05.0508 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 554781fa-04e7-4997-cc94-08d9582db916 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: VE1EUR03FT022.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBAPR08MB5816 Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,christopher.jones@arm.com X-Gm-Message-State: IJbcnZ8wioGZ40uuxhd5tw03x1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1628180769; bh=K871O3z7H69gncOrcZH6Y3ljCqp+nEpUK7KDrahmFbk=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=bKc+JcUExe9Dnc9M18/xSfxbY/XGNXO2XzcFyrL7CAJxqrGHEmFG70RYjNV0ot0NG9k GBNcSTsulr+su5o+/UkfyAP4nYX96lZyNwzSoFWZlKlcM6j5Tgfq0cibCTRT/JCnhyZEV v0QN+5peCeoJcbs39apswUNFFKCOdBJOU1U= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1628180770146100005 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Bugzilla: 3516 (https://bugzilla.tianocore.org/show_bug.cgi?id=3D3516) Make changes to ACPI 6.4 header according to the latest specification: - ACPI 6.4 January 2021, Section 5.2.26.1.1 - Mantis ID 2111 (https://mantis.uefi.org/mantis/view.php?id=3D2111) Signed-off-by: Chris Jones Reviewed-by: Sami Mujawar --- MdePkg/Include/IndustryStandard/Acpi64.h | 84 ++++++++++++++------ 1 file changed, 58 insertions(+), 26 deletions(-) diff --git a/MdePkg/Include/IndustryStandard/Acpi64.h b/MdePkg/Include/Indu= stryStandard/Acpi64.h index cd093003805799541696516e809d0c800137510e..4faed17a9e99525f9e09f0eac88= 4264ba31ca47d 100644 --- a/MdePkg/Include/IndustryStandard/Acpi64.h +++ b/MdePkg/Include/IndustryStandard/Acpi64.h @@ -1661,15 +1661,16 @@ typedef struct { #define EFI_ACPI_6_4_SECURE_DEVICES_TABLE_REVISION 0x01 =20 /// -/// Secure Devcice types +/// Secure Device types /// -#define EFI_ACPI_6_4_SDEV_TYPE_PCIE_ENDPOINT_DEVICE 0x01 #define EFI_ACPI_6_4_SDEV_TYPE_ACPI_NAMESPACE_DEVICE 0x00 +#define EFI_ACPI_6_4_SDEV_TYPE_PCIE_ENDPOINT_DEVICE 0x01 =20 /// -/// Secure Devcice flags +/// Secure Device flags /// -#define EFI_ACPI_6_4_SDEV_FLAG_ALLOW_HANDOFF BIT0 +#define EFI_ACPI_6_4_SDEV_FLAG_ALLOW_HANDOFF BIT0 +#define EFI_ACPI_6_4_SDEV_FLAG_SECURE_ACCESS_COMPONENTS_PRESENT BIT1 =20 /// /// SDEV Structure Header @@ -1680,34 +1681,65 @@ typedef struct { UINT16 Length; } EFI_ACPI_6_4_SDEV_STRUCTURE_HEADER; =20 -/// -/// PCIe Endpoint Device based Secure Device Structure -/// -typedef struct { - UINT8 Type; - UINT8 Flags; - UINT16 Length; - UINT16 PciSegmentNumber; - UINT16 StartBusNumber; - UINT16 PciPathOffset; - UINT16 PciPathLength; - UINT16 VendorSpecificDataOffset; - UINT16 VendorSpecificDataLength; -} EFI_ACPI_6_4_SDEV_STRUCTURE_PCIE_ENDPOINT_DEVICE; - /// /// ACPI_NAMESPACE_DEVICE based Secure Device Structure /// typedef struct { - UINT8 Type; - UINT8 Flags; - UINT16 Length; - UINT16 DeviceIdentifierOffset; - UINT16 DeviceIdentifierLength; - UINT16 VendorSpecificDataOffset; - UINT16 VendorSpecificDataLength; + EFI_ACPI_6_4_SDEV_STRUCTURE_HEADER Header; + UINT16 DeviceIdentifierOffset; + UINT16 DeviceIdentifierLength; + UINT16 VendorSpecificDataOffset; + UINT16 VendorSpecificDataLength; + UINT16 SecureAccessComponentsOffset; + UINT16 SecureAccessComponentsLength; } EFI_ACPI_6_4_SDEV_STRUCTURE_ACPI_NAMESPACE_DEVICE; =20 +/// +/// Secure Access Component Types +/// +#define EFI_ACPI_6_4_SDEV_SECURE_ACCESS_COMPONENT_TYPE_IDENTIFICATION 0x= 00 +#define EFI_ACPI_6_4_SDEV_SECURE_ACCESS_COMPONENT_TYPE_MEMORY 0x= 01 + +/// +/// Identification Based Secure Access Component +/// +typedef struct { + EFI_ACPI_6_4_SDEV_STRUCTURE_HEADER Header; + UINT16 HardwareIdentifierOffset; + UINT16 HardwareIdentifierLength; + UINT16 SubsystemIdentifierOffset; + UINT16 SubsystemIdentifierLength; + UINT16 HardwareRevision; + UINT8 HardwareRevisionPresent; + UINT8 ClassCodePresent; + UINT8 PciCompatibleBaseClass; + UINT8 PciCompatibleSubClass; + UINT8 PciCompatibleProgrammingInterface; +} EFI_ACPI_6_4_SDEV_SECURE_ACCESS_COMPONENT_IDENTIFICATION_STRUCTURE; + +/// +/// Memory-based Secure Access Component +/// +typedef struct { + EFI_ACPI_6_4_SDEV_STRUCTURE_HEADER Header; + UINT32 Reserved; + UINT64 MemoryAddressBase; + UINT64 MemoryLength; +} EFI_ACPI_6_4_SDEV_SECURE_ACCESS_COMPONENT_MEMORY_STRUCTURE; + +/// +/// PCIe Endpoint Device based Secure Device Structure +/// +typedef struct { + EFI_ACPI_6_4_SDEV_STRUCTURE_HEADER Header; + UINT16 PciSegmentNumber; + UINT16 StartBusNumber; + UINT16 PciPathOffset; + UINT16 PciPathLength; + UINT16 VendorSpecificDataOffset; + UINT16 VendorSpecificDataLength; +} EFI_ACPI_6_4_SDEV_STRUCTURE_PCIE_ENDPOINT_DEVICE; + /// /// Boot Error Record Table (BERT) /// --=20 Guid("CE165669-3EF3-493F-B85D-6190EE5B9759") -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#78730): https://edk2.groups.io/g/devel/message/78730 Mute This Topic: https://groups.io/mt/84688469/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Tue Apr 30 05:37:21 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+78731+1787277+3901457@groups.io; arc=fail (BodyHash is different from the expected one); dmarc=fail(p=none dis=none) header.from=arm.com Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1628180772516321.26003039733655; Thu, 5 Aug 2021 09:26:12 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id OcV7YY1788612x55bm3M2HvT; Thu, 05 Aug 2021 09:26:12 -0700 X-Received: from EUR05-AM6-obe.outbound.protection.outlook.com (EUR05-AM6-obe.outbound.protection.outlook.com [40.107.22.56]) by mx.groups.io with SMTP id smtpd.web10.11276.1628180771002382984 for ; Thu, 05 Aug 2021 09:26:11 -0700 X-Received: from DB6P18901CA0004.EURP189.PROD.OUTLOOK.COM (2603:10a6:4:16::14) by AM0PR08MB4052.eurprd08.prod.outlook.com (2603:10a6:208:12d::12) 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:26:07 +0000 X-Received: from DB5EUR03FT033.eop-EUR03.prod.protection.outlook.com (2603:10a6:4:16:cafe::9) by DB6P18901CA0004.outlook.office365.com (2603:10a6:4:16::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4394.17 via Frontend Transport; Thu, 5 Aug 2021 16:26:07 +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 (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+78731+1787277+3901457@groups.io; helo=mail02.groups.io; 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; X-Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by DB5EUR03FT033.mail.protection.outlook.com (10.152.20.76) 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:26:07 +0000 X-Received: ("Tessian outbound 7b804b1d9bbf:v101"); Thu, 05 Aug 2021 16:26:07 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 9fc0e8ad1f9b9f4e X-CR-MTA-TID: 64aa7808 X-Received: from 0e54200ef6a7.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 30E8BEAB-BBD5-49FA-A255-E3C0F980677F.1; Thu, 05 Aug 2021 16:26:01 +0000 X-Received: from EUR05-VI1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 0e54200ef6a7.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Thu, 05 Aug 2021 16:26:00 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=N4DhqHzx2IKda8cndLkz0CtT0GGPVCv+NpLIr5nKK2d0cNapHLz1vi+kdjZ1eGfss6yEBLlyeRe2zAWjIKLl9Z0NC1q4PlcT8YArtgLQnxE15qu1jglYOUpDMwyKGK16eKjXNX2pn1KnCH4NY57DydbrsqKoJFQsJrymRkPxiTAqqXF769O4KATJghHzZAYLgeGp5TQH/+RcWM9WHHUaeQ783cNBF092CZH69dx34yQV6UUBAfAJk4buYKKi2/q0l5gnFCc4cyn6naykfgGKWYnQ0RGbeVQg5tHNncT0uaVZ/n4bhZtmmjlERAWJXJgXd8mipMToWzIf9XltWqHiDw== 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=j2Q8JlKd0Ei078gcMtzeK13gcOeZgUtH8EiZUP1BSQE=; b=N/84pNJBi/6aqq5JIl2LSwqY9eqIZb0Q5cZ/GxwXpkrXpuvAITi1JnVqQOHhn9mzldpaYXdPBMDqfh6jFKVm1novvLXPbIArSPFnjUBoYMW57DfqyxYMLfbK0c1WhmCbpf1njB2Zcw0p4e39fGxLtUmXiAiye789fixHGRDf6tFdER3BHTtQcf+b84gP3mRg+Xb9na5ccBS9Asb6odyS0Khu6Rca4v12FaNZFDYdQmUURplyZZB5hKsWNphO4ab9s1KsWxfAoJ09M3VEuhCtJ/bD+bd/MtCUkbvp/vZXdSrPLkdwhflgM3qaK9efVDrhq9dlin6/CrAYLgYLwUpy1Q== 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 X-Received: from AM5PR0602CA0004.eurprd06.prod.outlook.com (2603:10a6:203:a3::14) by PR3PR08MB5628.eurprd08.prod.outlook.com (2603:10a6:102:8e::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4373.21; Thu, 5 Aug 2021 16:25:59 +0000 X-Received: from AM5EUR03FT005.eop-EUR03.prod.protection.outlook.com (2603:10a6:203:a3:cafe::4f) by AM5PR0602CA0004.outlook.office365.com (2603:10a6:203:a3::14) 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:59 +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; X-Received: from nebula.arm.com (40.67.248.234) by AM5EUR03FT005.mail.protection.outlook.com (10.152.16.146) 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:58 +0000 X-Received: from AZ-NEU-EX04.Arm.com (10.251.24.32) by AZ-NEU-EX04.Arm.com (10.251.24.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.14; Thu, 5 Aug 2021 16:25:33 +0000 X-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:32 +0000 From: "Chris Jones" To: CC: Sami Mujawar , Akanksha Jain , Ben Adderson , Michael Kinney , , , Leif Lindholm , "Matteo Carlini" , Subject: [edk2-devel] [PATCH v2 12/13] MdePkg: Add Cache ID to PPTT Date: Thu, 5 Aug 2021 17:25:21 +0100 Message-ID: <20210805162522.13201-13-christopher.jones@arm.com> 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: f1d9e74c-6e90-4b34-c609-08d9582dba80 X-MS-TrafficTypeDiagnostic: PR3PR08MB5628:|AM0PR08MB4052: X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true NoDisclaimer: true X-MS-Oob-TLC-OOBClassifiers: OLM:4125;OLM:4125; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: AS6797JeplTmv6PmOyS2Dcb8aE3dgGTB+hrOFMGpOD3ufRIVZBoByZQaoc9TIXpK7b8pRR2T0Np5eP9B4DTHUbXVmYKLDYBT9+SYfDWJhon9b6gYB+QOz+wCJraiVVUTYvDAi/YcyWHpCSAvI7w3RDMxE/Z28FH/H/3kkVKvV4UNanCaH8fgeG9474XHIw0NxaGOUEki2IaEqdCmHKwx2sRjH2x2SngxcMeKWBhDZ5Mb2O9STVybgKkke3CbWdzSMEp7J55Jodb8ntuWc5w0GG+n9rFYcSKBvQptWDYvGu1NtL2DW1qVleJETMWgz9khNQn1NeVfKxyKLLelOgk3KoZsygrn3f/LHVnqtxBxDlNQ5FOBOHR3seaeQhaeEn9Hy2IiPwBAhg8Qq+aqZFy3QyxvEX7UlDnRmdRb2FKBtZ00fbGOW5y9iCd6zoVa/7KiG4ngfsdDTeu4rMuf8wS+xF0AC5S1xhvJ4XPi1vHdd0DgM6oYiWuuD1wb7ul16dPx2AvAJzVh7lal3RmPkFh6WHVnUSHSLUlWBfar5PwSL41otxw9ZgqX95TivM+u3XbfRkKpF+CXb+5xtXSM1YepGmhuFXgTNMKaIVokmT1lAChKLt6AgbsZmj7WAk+WVMkZ9Mdm70pGNnObZi46iZrWUkxJq5Gg089xq2D9cB3b/F4RP+OnfsF0XIoJTHSQ0rduWMLbitpwIUY62cvY8nHhdG9TQlXPqaOFRQH+lamkPVVdweOtjmCDObgdRRvmetMBEBfTq015TnWAjHtL+bK9xuMVmprWrbW4NIfc9L5rLE2MEKozIgwNtoma8SdQEo0T 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)(376002)(346002)(136003)(39850400004)(36840700001)(46966006)(36756003)(2906002)(356005)(19627235002)(86362001)(8676002)(316002)(478600001)(47076005)(7696005)(5660300002)(426003)(16799955002)(81166007)(83380400001)(6916009)(2616005)(54906003)(186003)(6666004)(8936002)(82310400003)(26005)(336012)(36860700001)(70206006)(70586007)(82740400003)(4326008)(1076003)(36900700001);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: PR3PR08MB5628 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT033.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 99f96c13-076f-4d28-4076-08d9582db545 X-Microsoft-Antispam-Message-Info: ec+tQP+tMn1TjG2oi4dEQ9fh6HSUye21zhMjf+rKCWI+odSrrc8M0/alp/1TW+yuSSF2zhGXKCa7RVY4q17yGUjJFuRmINiySUW5qCSKuRmLjOB6smj/Ue88e4g85gpy+SihJIMQu8tVi65V5ZG3Rvg0TCepTHInYak9jsIZVmpmFiPk6+gDaGIy8gcKBEQFvJe1f3wyeF8u8d69Cxf1yTsBPNPfAJA3Tm6/cJ1HDEHdO5ybnpDW903m4p2k1Ee4eN13YgOwADmMpvRZ31peNaYgN8FljAaOBLwzttDjQ+15UkrWTmjAl6tZK1c9dBRHcEMcG+1M3Jsk6AIlkcjYbxvWr1M9RLAnbUb8AG2T7nuh2t/Jl2n+M3JnJSkd1FsKwB7HsZrMeCfGHNCza24If5fZC34kUFXiOlPqBFEXBN0pQxrT+RE1p+J7meu/UhZXokSwOeR74F38MEi6UXZnWXvJphHNQ4oERXKmcMgu+qaixOFBCOofbMPmDr/+/fcuf7zCDHYSxTEEhWex+mjS/cNMF7vNjInSMJQmeJMGfd7n3KSDnwhh4aDPV4tBZkHdMsjifJMhT3LmiUMSmOPKjB1Nipz8iJ1luKHGrzdosjs8yVGJSmIFKs3rfgBu6uKR/FPk9rDT8qvrQxHd1hGMASpPZk/nldqwP5xFfbW99B68J3xpHP6zPLt8c5M4aFcnWZirc0XC5UR0rBqsUAxBTLq+BV3jxKi6CNAhVhgEJNZyvXXjK+YcUKzXXQIU6YTEgbjJ9tYOudkHdbVkXwntt60YL+ynhQX7p+f8D+yzkao= X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Aug 2021 16:26:07.5339 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: f1d9e74c-6e90-4b34-c609-08d9582dba80 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: DB5EUR03FT033.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR08MB4052 Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,christopher.jones@arm.com X-Gm-Message-State: tJOsjkGvtM6NIGi2p4G5UBoSx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1628180772; bh=KDO3VBZ4Y9eTCzCW9RthqNjexYxbVIseiGX3bV+eeuQ=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=TPzWy3GmptedfjaRPL5E7vfnrPAH0DST10IYwjbHGDbzctHTbUsbTyd9NHrxQf6G8Gu 8cRJsy8BAWibHGnsQAEKKSE67Pa50VAnu9EJUWaAQTOZXFsB+/tN31k2joiktv1aRMbyt t8b/Ggb2Z3olBhlDBSZglZ6nztbXHw7ZOBc= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1628180774533100004 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Bugzilla: 3516 (https://bugzilla.tianocore.org/show_bug.cgi?id=3D3516) 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=3D2138) Signed-off-by: Chris Jones Reviewed-by: Sami Mujawar --- MdePkg/Include/IndustryStandard/Acpi64.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/MdePkg/Include/IndustryStandard/Acpi64.h b/MdePkg/Include/Indu= stryStandard/Acpi64.h index 4faed17a9e99525f9e09f0eac884264ba31ca47d..c905db93fabb6faa553dd49a9fe= d886437dd4daf 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 =20 /// /// 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; =20 /// @@ -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; =20 /// --=20 Guid("CE165669-3EF3-493F-B85D-6190EE5B9759") -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#78731): https://edk2.groups.io/g/devel/message/78731 Mute This Topic: https://groups.io/mt/84688471/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Tue Apr 30 05:37:21 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+78733+1787277+3901457@groups.io; arc=fail (BodyHash is different from the expected one); dmarc=fail(p=none dis=none) header.from=arm.com Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1628180777352536.3193561124609; Thu, 5 Aug 2021 09:26:17 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id qMjdYY1788612xCWfePEMLt2; Thu, 05 Aug 2021 09:26:17 -0700 X-Received: from EUR04-DB3-obe.outbound.protection.outlook.com (EUR04-DB3-obe.outbound.protection.outlook.com [40.107.6.40]) by mx.groups.io with SMTP id smtpd.web09.11242.1628180775731204869 for ; Thu, 05 Aug 2021 09:26:16 -0700 X-Received: from DB8PR06CA0062.eurprd06.prod.outlook.com (2603:10a6:10:120::36) by AM6PR08MB4087.eurprd08.prod.outlook.com (2603:10a6:20b:ac::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4373.25; Thu, 5 Aug 2021 16:26:12 +0000 X-Received: from DB5EUR03FT048.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:120:cafe::66) by DB8PR06CA0062.outlook.office365.com (2603:10a6:10:120::36) 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:26:12 +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 (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+78733+1787277+3901457@groups.io; helo=mail02.groups.io; 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; X-Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by DB5EUR03FT048.mail.protection.outlook.com (10.152.21.28) 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:26:12 +0000 X-Received: ("Tessian outbound efa8a7456a86:v101"); Thu, 05 Aug 2021 16:26:12 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 81311bbabcd5b055 X-CR-MTA-TID: 64aa7808 X-Received: from 90a29f60986c.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 54633D85-5B0F-4A81-BB0C-55FF99FA72ED.1; Thu, 05 Aug 2021 16:26:02 +0000 X-Received: from EUR05-VI1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 90a29f60986c.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Thu, 05 Aug 2021 16:26:02 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Kc7tQL0aRjzIKwkZ9lxuLyJPi6dXSUpCpv4b3kFF4EnQW93sy6/qAwK83jBzLRS2Jz+OLi6LLPGR9OqvixyPW5SbqWRR/Fg3uI2kfL9QvYkmO7zvwE2WDbQrCVXi9Lb+Njbdb9GESvk0Yh54UJcQtbwy9NJ3MiiNp2SOmXvqeXYpfrM7Ym6xX32swULyQpxP36OdVINmxTNrxlhPEZmsdy/TcbtgN46AFIiKAzytNMJ34iy+Sj9XyRRLV+m8O9h0WKY3F+ROTEWgc3a0Wmqqhs3AVie5RLpzASpRXIBEK45RUr0SBOTFtG6TbeHguI+Wh5Tj+5hDY8yY7j57grdtFQ== 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=6m/Um4tNbhvE4SOg91+xE1DWBwbkSw+cX9gcSYEKsDI=; b=iZlSa/Yqfl5gHBiGYnOZZ9Nx9/NkGwhsEZXQtv3ersxwnJMufOQwQn04WYjhkweK308vvC4q/B++7xCLUDWvnx5f28bccWhRwP6GtqzRvnOb+EiRPSi5Am9t8BRB1ihTaaMWoHP8eZEAE7M7kFcXCmEFPierQ7/XtFiLOgQ3sqw5gerB2ChaM9MDBNN+x4dqLh1D6JE4pZR/vAWqHo4TZAYtfrx7YhIkGPUK72FKPa+2XmuRjy7mAtdS2jKiWtwTcXdiFOD76E/XHSmbcAmE/bHWcAsaw85sZ2FrZbTJNasIhqO3KRyMqCohNdvwnRXjYi+oKaN8/e1/AbH46eAmOA== 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 X-Received: from AM5PR0602CA0007.eurprd06.prod.outlook.com (2603:10a6:203:a3::17) by VI1PR08MB5343.eurprd08.prod.outlook.com (2603:10a6:803:12d::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4373.25; Thu, 5 Aug 2021 16:26:00 +0000 X-Received: from AM5EUR03FT005.eop-EUR03.prod.protection.outlook.com (2603:10a6:203:a3:cafe::fd) by AM5PR0602CA0007.outlook.office365.com (2603:10a6:203:a3::17) 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:26:00 +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; X-Received: from nebula.arm.com (40.67.248.234) by AM5EUR03FT005.mail.protection.outlook.com (10.152.16.146) 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:26:00 +0000 X-Received: from AZ-NEU-EX04.Arm.com (10.251.24.32) by AZ-NEU-EX04.Arm.com (10.251.24.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.14; Thu, 5 Aug 2021 16:25:34 +0000 X-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:33 +0000 From: "Chris Jones" To: CC: Sami Mujawar , Akanksha Jain , Ben Adderson , Michael Kinney , , , Leif Lindholm , "Matteo Carlini" , Subject: [edk2-devel] [PATCH v2 13/13] MdePkg: Fix broken coding style in Acpi64.h Date: Thu, 5 Aug 2021 17:25:22 +0100 Message-ID: <20210805162522.13201-14-christopher.jones@arm.com> 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: 251ad67a-78d5-42d7-0a96-08d9582dbd6c X-MS-TrafficTypeDiagnostic: VI1PR08MB5343:|AM6PR08MB4087: X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true NoDisclaimer: true X-MS-Oob-TLC-OOBClassifiers: OLM:4125;OLM:4125; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: vRNG/Xf0fs2yoaf5TxPju604PNQyGr1EPUnpxZ0+EssO9rg5UvGn0bQ/eIAYNlgCSUjRTr5o/hnhhF2zwSzjKP3o/hKsCxZ78OVU4ZDCoDCuYmCfyuBpvzrdPrFSa/f1rzEpQC24vPr9TKxIo3QM6ZQVq00k5Fe2c1lKQijQ9XSZ9VQLUP9jvruftlWbhfWlF+2ogKoaELr8SQRT0eBt2arFOxkT3fN/6qv9RvcKVxLljwSiU3mT+1m8+ij23LRKLhpvytlYzMDGFH4ln1xZ45+Vuj6N9r2TYBeYv/5JAE2j3PGYhL7RtP8F7BUPtgSKBVQmVD9TSF1Th9ODrKMjClAPZjypSNecsn8mkJsxFuS9m6l1AN1nvPCTCKIeLlJkcXpzpSIMpoV1nqYAHIB7QoBPhGGPl/eNrBMmYjBUwcNYzVShzQTk2R19tyaVBdqNcn473ptQ6/O14HSWSG3eOwC3bVXxN7CWOLc/YxYWhSkwY27iiR3gcK4+ZE5sjz+GCkque5CLjotbpZSC4WtqRIas63rn4DwABmzhkH9E0oNg0JYYC/LRYjfFms3YaY/lM2pgqacfp/inFxuYsI7Z2VaU3xXW7MZ2O7mmsIxfcdK4k2aj/mQf3R6yWxsXbj5wF2Y/Sn7b2gPyroXKeEKX0nQuCApL1hIg1bJ8XaZk7N4Trjufi/CKNO4Z+D8kdwrnSlFHXb1KDK9HqOgmPbYZ/JEbdrslUO4k/lBQOvk+R0BM1BEcdNh0Bc9ZltRI3I7rJq1L5kgAw/Xp/JM3nxXvGmNRMsOSGhzV0k8ju8M1nXp31S3Izoyf9pLUg5BhgGoq 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)(39850400004)(136003)(346002)(376002)(36840700001)(46966006)(45080400002)(186003)(70206006)(82740400003)(26005)(82310400003)(336012)(5660300002)(6916009)(81166007)(2616005)(8676002)(19627235002)(70586007)(83380400001)(316002)(478600001)(54906003)(2906002)(7696005)(4326008)(426003)(1076003)(356005)(47076005)(8936002)(86362001)(36756003)(36860700001)(6666004)(36900700001);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB5343 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT048.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 001263aa-71f6-47a1-3595-08d9582db638 X-Microsoft-Antispam-Message-Info: JwHHoNKSUWPpkGpxv8uxzWpngJ+hh+83dTHvFH018ZZhutuZNx+eJ7VOAqTzvVkCr07aLrD1dV7srrVbJJg8b1ikL5jgF+dHKNl27yc0TCl78J6D+nmXjwXGh3XltmLJ6Y1SAU8Dq3EwKIRU+CvUkbds/bvgCV3D/39heoJpwXLxIqijYIR9+CU0D9hUIeVgx4R+9nNLYsPoksYRXIrenSQDUGno/7C34NVx3EEoRqLYef9jTwlvVra79obB6dNJbsV6GP4hHOO7VLgG6S2ybvX8J9FFgnJ8zOT9jgAWstBmy7HeOe42Kca1lxqw8NVzyoHsCpjvTmWWAqtFr16DQLIghiLKgqYRLb8lTvqaUKc7SdXKtvHV8QmAzVfDUa04+uPv5TyeIPXyJjEA2KHwk1xHrcbH+rSSn4i4lNVgT52Risi/mBJDEM/Ytbz61rr1xKdC3Ad1qPKu3NEH+QkwpI6ME7xrUFraN6A9ZMCY8JsIFe18aVA4wNC3sMfhqq95kb1X/nEEFVlalBtJ1E4QP2u/WirbhmH/8ZgWA7ttOid4KX9uwvvflPMym2X9kjjapCMruoij4+ZYQuLhMKV+c73vOu8L/QBi4LSmEOzhQx1nS6VVmSAthBWzb3HHvAdrIsi/jot0QlKuzSffh7Dp44lNLUbEyo+meRFYAKOmoP4Uuj3I2UnCLijiHbdNk0MpXw0tV7flcUVqk8cUC82TJgTmqFh59jQdx+ykik/Zmaue+f1H38/TYQ2y1b+QKB9iDOYhsIQaBDOFLPmI2M61MtZC3QXHk/VqAQi+T6IRYIA= X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Aug 2021 16:26:12.4312 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 251ad67a-78d5-42d7-0a96-08d9582dbd6c 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: DB5EUR03FT048.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR08MB4087 Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,christopher.jones@arm.com X-Gm-Message-State: NK5FkPoP3H5qlDcPBPmOjPuAx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1628180777; bh=Ut7lF1qR7kFu/g+0VdTTUPIT48rs14OAUM3LpC3vE7Y=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=MwWS15gG8k0HXNEWPj2SRFHmFyWr/DnF5wnmrA9qVpHU3Zq+Gs/dGMLG9s6fgXgIiBJ ZVbEm3/XFVC4U7cr7SkLd+7DIH+33ZarPL7kOehs0f/EuLSgij6fFslp0BjWvj32uPBew VzA0pwnMWK+bsTZVIeF1tnI2pB684MZHYB0= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1628180779244100001 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Bugzilla: 3516 (https://bugzilla.tianocore.org/show_bug.cgi?id=3D3516) Fix a coding style issue raised by EccCheck. This issue (error code 7008) has been fixed by moving a nested union out of its structure. Also add Acpi64.h to the "IgnoreFiles" list to stop the CI flagging naming errors present prior to ACPI 64. Signed-off-by: Chris Jones Reviewed-by: Sami Mujawar --- Notes: v2: - Remove EFI_ACPI_6_4_GIC_STRUCTURE field name changes. [Liming] - Add Acpi64.h to IgnoreFiles list in MdePkg.ci.yaml. [Liming] MdePkg/Include/IndustryStandard/Acpi64.h | 27 +++++++++++--------- MdePkg/MdePkg.ci.yaml | 2 ++ 2 files changed, 17 insertions(+), 12 deletions(-) diff --git a/MdePkg/Include/IndustryStandard/Acpi64.h b/MdePkg/Include/Indu= stryStandard/Acpi64.h index c905db93fabb6faa553dd49a9fed886437dd4daf..3a91302f8c0e71d4951d27aac35= 322073219c836 100644 --- a/MdePkg/Include/IndustryStandard/Acpi64.h +++ b/MdePkg/Include/IndustryStandard/Acpi64.h @@ -788,22 +788,25 @@ typedef struct { } EFI_ACPI_6_4_DEVICE_HANDLE_PCI; =20 /// -/// Generic Initiator Affinity Structure +/// Device Handle /// -typedef struct { - UINT8 Type; - UINT8 Length; - UINT8 Reserved1; - UINT8 DeviceHandleType; - UINT32 ProximityDomain; - - union { +typedef union { EFI_ACPI_6_4_DEVICE_HANDLE_ACPI Acpi; EFI_ACPI_6_4_DEVICE_HANDLE_PCI Pci; - } DeviceHandle; +} EFI_ACPI_6_4_DEVICE_HANDLE; =20 - UINT32 Flags; - UINT8 Reserved2[4]; +/// +/// Generic Initiator Affinity Structure +/// +typedef struct { + UINT8 Type; + UINT8 Length; + UINT8 Reserved1; + UINT8 DeviceHandleType; + UINT32 ProximityDomain; + EFI_ACPI_6_4_DEVICE_HANDLE DeviceHandle; + UINT32 Flags; + UINT8 Reserved2[4]; } EFI_ACPI_6_4_GENERIC_INITIATOR_AFFINITY_STRUCTURE; =20 /// diff --git a/MdePkg/MdePkg.ci.yaml b/MdePkg/MdePkg.ci.yaml index 15931eaccabff7334a8b839c438d4d9a907b4194..98eaea1c824863a89bf2e73b831= 2fe89881fb3c1 100644 --- a/MdePkg/MdePkg.ci.yaml +++ b/MdePkg/MdePkg.ci.yaml @@ -3,6 +3,7 @@ # # Copyright (c) Microsoft Corporation # Copyright (c) 2020, Intel Corporation. All rights reserved.
+# Copyright (c) 2021, Arm Limited. All rights reserved.
# SPDX-License-Identifier: BSD-2-Clause-Patent ## { @@ -19,6 +20,7 @@ ], ## Both file path and directory path are accepted. "IgnoreFiles": [ + "Include/IndustryStandard/Acpi64.h" ] }, ## options defined ci/Plugin/CompilerPlugin --=20 Guid("CE165669-3EF3-493F-B85D-6190EE5B9759") -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#78733): https://edk2.groups.io/g/devel/message/78733 Mute This Topic: https://groups.io/mt/84688474/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-