From mboxrd@z Thu Jan 1 00:00:00 1970 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 Authentication-Results: mx.groups.io; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=drHZVkO0; spf=pass (domain: arm.com, ip: 40.107.22.52, mailfrom: christopher.jones@arm.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=uAaJfBwJtp+DuCHq80VwUj24QIvlbMqHab+h5fw/LOo=; b=drHZVkO0WAbrdZeJxVDS4M4/HL30riDWFJaQQ5YBiKo5iaqQHidlkV1WcF+0boREn2LoJdpwEwBQ8GanOeSujCYkpiR095DR0oCiaiS6rq3Lp+t3L9FhVVvTMuuxe3GMXlA7QCBXFUL1ivuQNilsMyumiBxN/L1rJv8kf9Cy0MI= 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 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 (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by 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 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 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 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=uAaJfBwJtp+DuCHq80VwUj24QIvlbMqHab+h5fw/LOo=; b=drHZVkO0WAbrdZeJxVDS4M4/HL30riDWFJaQQ5YBiKo5iaqQHidlkV1WcF+0boREn2LoJdpwEwBQ8GanOeSujCYkpiR095DR0oCiaiS6rq3Lp+t3L9FhVVvTMuuxe3GMXlA7QCBXFUL1ivuQNilsMyumiBxN/L1rJv8kf9Cy0MI= 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 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; 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 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 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 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: [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> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210805162522.13201-1-christopher.jones@arm.com> References: <20210805162522.13201-1-christopher.jones@arm.com> MIME-Version: 1.0 X-EOPAttributedMessage: 1 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 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 Return-Path: Christopher.Jones@arm.com 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: BCL:0; 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-Forefront-Antispam-Report: CIP:63.35.35.123;CTRY:IE;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:64aa7808-outbound-1.mta.getcheckrecipient.com;PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com;CAT:NONE;SFS:(4636009)(376002)(136003)(346002)(396003)(39850400004)(46966006)(36840700001)(6666004)(336012)(70586007)(8936002)(47076005)(5660300002)(70206006)(7696005)(1076003)(8676002)(81166007)(2906002)(54906003)(82740400003)(82310400003)(316002)(6916009)(4326008)(478600001)(16799955002)(86362001)(186003)(36756003)(83380400001)(426003)(26005)(36860700001)(19627235002)(2616005);DIR:OUT;SFP:1101; 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 Content-Type: text/plain Bugzilla: 3516 (https://bugzilla.tianocore.org/show_bug.cgi?id=3516) Make changes to ACPI 6.4 header according to the latest specification: - ACPI 6.4 January 2021, Section 14.1.7, Section 14.4 - Mantis ID 2010 (https://mantis.uefi.org/mantis/view.php?id=2010) Signed-off-by: Chris Jones --- MdePkg/Include/IndustryStandard/Acpi64.h | 29 ++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/MdePkg/Include/IndustryStandard/Acpi64.h b/MdePkg/Include/IndustryStandard/Acpi64.h index ffa819d83a95ba55784a639b309b8bac8263be6a..995426ae817561819e4de09553570c2735a5b268 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 0x02 #define EFI_ACPI_6_4_PCCT_SUBSPACE_TYPE_3_EXTENDED_PCC 0x03 #define EFI_ACPI_6_4_PCCT_SUBSPACE_TYPE_4_EXTENDED_PCC 0x04 +#define EFI_ACPI_6_4_PCCT_SUBSPACE_TYPE_5_HW_REGISTERS_COMMUNICATIONS 0x05 /// /// PCC Subspace Structure Header @@ -2468,6 +2469,34 @@ typedef struct { UINT32 Command; } EFI_ACPI_6_4_PCCT_EXTENDED_PCC_SHARED_MEMORY_REGION_HEADER; +/// +/// 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) /// -- Guid("CE165669-3EF3-493F-B85D-6190EE5B9759")