From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from EUR02-HE1-obe.outbound.protection.outlook.com (EUR02-HE1-obe.outbound.protection.outlook.com [40.107.1.81]) by mx.groups.io with SMTP id smtpd.web11.22212.1627640586529288457 for ; Fri, 30 Jul 2021 03:23:07 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=WEz+IjDH; spf=pass (domain: arm.com, ip: 40.107.1.81, 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=WEz+IjDHeZSHWs+BtPzRu6MsoAGm5qmaU6dlA1VWXawZJ8khVF7TB9ZMPwu7WbnA6T1z0eFb240l3rfHcAUM1j+K2SZFMLVCY5qBT/irNeht5evgncfXMSTa27cC7E/Icv3mkmqO5lXYiY7f3hVaCFjAEgpCkKqPljpqUWegHdg= Received: from DB8PR03CA0002.eurprd03.prod.outlook.com (2603:10a6:10:be::15) by AM6PR08MB5239.eurprd08.prod.outlook.com (2603:10a6:20b:e6::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4373.21; Fri, 30 Jul 2021 10:23:03 +0000 Received: from DB5EUR03FT016.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:be:cafe::48) by DB8PR03CA0002.outlook.office365.com (2603:10a6:10:be::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4373.18 via Frontend Transport; Fri, 30 Jul 2021 10:23:03 +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 DB5EUR03FT016.mail.protection.outlook.com (10.152.20.141) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4373.18 via Frontend Transport; Fri, 30 Jul 2021 10:23:03 +0000 Received: ("Tessian outbound cee5995f7b16:v100"); Fri, 30 Jul 2021 10:23:02 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: f2fa276c788defb4 X-CR-MTA-TID: 64aa7808 Received: from 64d228ca8787.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 588A7822-9584-405F-B01E-998675E2809C.1; Fri, 30 Jul 2021 10:22:56 +0000 Received: from EUR04-DB3-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 64d228ca8787.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Fri, 30 Jul 2021 10:22:56 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=iovKE3xGuy0KHmap9KNNwulz5cer8lPoKXriuYM8Z8VMYAAlBYfXs5yaE4YvDPjlruZ5piA6fBnwNek0ZdnEQDDfz7wP0fFs3y099GzclRch5HUaLv532H/HG9ckY8l5UwUr7apsB6lQaNljQv9z+Wh6NWXq3KD/vw4vMq2cudcGn5plW1h9d3peiPOmOkvQp1KqgYXESJeVxEW2lN1FGzmsfHtQEp1nHiy56fG3Uq6JlcQlr9mPh8QHndmx3SqtzrZNQggA1isRQ5zKo2AIW4aYhvw7hKc8WGs4Y7MWZ2Jp1v0xZEyNku5A6xNlLxChXdtS51HZLJ/tSxfHiJObIg== 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=HsdFCsTmO/wVlO2+2cs9Xf0I5/U8Pe+tJaNiDQ58N1GB3UQ2m7ntpUtrlD6Ns6h5/XXIp1m/wMGfLzl00hKmJJNfollC6ZhbcNNPm53R/zyFARTHWaJaB+L+6jOr/XZvgegdLADp2fkOhMpte8X1f5WM3yQc4o6UQiitznzVMF63jsLhTAg0xgouH7P/+6yhmTcEwE09Ij6cgFagpl5T8sigkcn2kI3FEsFy9MyxSNQHOIs2ce96N0C733aRUhyiHtcK4hjifgtexAOnhErZy9gc05W++851mu82pzDoaBrQT/RYqDwEM+/0GQS8TghKV0TCQ6BE9Ywq5iaS5MavPQ== 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=WEz+IjDHeZSHWs+BtPzRu6MsoAGm5qmaU6dlA1VWXawZJ8khVF7TB9ZMPwu7WbnA6T1z0eFb240l3rfHcAUM1j+K2SZFMLVCY5qBT/irNeht5evgncfXMSTa27cC7E/Icv3mkmqO5lXYiY7f3hVaCFjAEgpCkKqPljpqUWegHdg= Received: from DB7PR02CA0036.eurprd02.prod.outlook.com (2603:10a6:10:52::49) by VE1PR08MB4848.eurprd08.prod.outlook.com (2603:10a6:802:a7::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4373.18; Fri, 30 Jul 2021 10:22:54 +0000 Received: from DB5EUR03FT028.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:52:cafe::1f) by DB7PR02CA0036.outlook.office365.com (2603:10a6:10:52::49) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4373.18 via Frontend Transport; Fri, 30 Jul 2021 10:22:54 +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 DB5EUR03FT028.mail.protection.outlook.com (10.152.20.99) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.4373.18 via Frontend Transport; Fri, 30 Jul 2021 10:22:54 +0000 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.2176.14; Fri, 30 Jul 2021 10:22:44 +0000 Received: from e125153.arm.com (10.57.39.90) by mail.arm.com (10.251.24.32) with Microsoft SMTP Server id 15.1.2176.14 via Frontend Transport; Fri, 30 Jul 2021 10:22:44 +0000 From: "Chris Jones" To: CC: , , , , , , , Subject: [PATCH RESEND v1 08/13] MdePkg: Add 'Type 5' PCC structure Date: Fri, 30 Jul 2021 11:22:36 +0100 Message-ID: <20210730102241.508-9-christopher.jones@arm.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210730102241.508-1-christopher.jones@arm.com> References: <20210730102241.508-1-christopher.jones@arm.com> MIME-Version: 1.0 X-EOPAttributedMessage: 1 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: af5a8cbb-a702-4ea4-37ed-08d953440379 X-MS-TrafficTypeDiagnostic: VE1PR08MB4848:|AM6PR08MB5239: 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: x2EPltMIyP4kGlAbtMsIUvUosOP6Po6eKMSezauc1yqYJ4K9v79ox2k1RJWscdW/TQxn063qkjiluu4bqyihvXYIHAF7TaQo5Z+V+vRdRYqV6H6pWldMCYNW1NVUMIVH8dW/k+YH+XqG0tnHoNfL2MuFObVNYFvRgPBrVBeCyaxl+YbLL30CEf3Pz08/4fl4tqFmzcjoE5yFBwYJQnhCLmSaBLtY7TErZkFJEKYa5zzcVChbU5U8lGDXy4i2UFYk8RmrT+MH5sHkvlHS95DgYJmvW0ie2nBkBh+oMMoxDVfuPK4T08LJHdzJB/zoc+sfo7QRJsHhgKIcrL5w1j2cszC6F1xzd5RXAQEEiYQYKS41NrBi8H0/pP+g307sBdmroiV1RSZUG2kgAqY35/WNGhRo2b0n5tQqZb1FQ5rtjujSo8fwcFRB/+YnQGfcK/qCZX04uUxfmNh2Ux8h3tseE8SRoU+xrLEyTif/LwD/1eVE2Y4tfcDM4QBCmTisy2Rn/eBdWtdUFtzQy2y10+WCUYDlcmBD8ArjJ7tTTglTJYyyR1nWDrHIhAYeOapVXdqjohn2BJdlhIjeI9bssvwRJzx+qxUeg37V/s6PoHgyfNOtQt9XSbf+ehiyrAXv/eGu++AZttWQ7DfbN2JinlSgoT31WXot7U2Cp75EK7F9YiF76b1AaROMby1pdFRsqNtRtPwmH8KLESJokYdQcLhdEr3hUbWO269h5xz2x0lGInOW6/TC4uyhffKDpJbFiJe6ODrAnAnDTQtSHjxqUWzlSJU8TrK/iQJN00VjqQyFeTDvepfZHsiVvlhaD9yFBOsKMhfYTTXel2Suj15RFhAOuMKYtsXM0GXY7I5V2aDnwSw= 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)(39850400004)(136003)(396003)(376002)(36840700001)(46966006)(83380400001)(82310400003)(26005)(19627235002)(478600001)(54906003)(86362001)(1076003)(5660300002)(336012)(6666004)(7696005)(8676002)(36756003)(4326008)(81166007)(47076005)(426003)(2616005)(82740400003)(316002)(186003)(2906002)(16799955002)(356005)(36860700001)(6916009)(70586007)(8936002)(70206006)(36900700001);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR08MB4848 Return-Path: Christopher.Jones@arm.com X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT016.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 5440d2c4-76e7-4e7c-c1dd-08d95343fe21 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: HgmB22I0PoXvbEbRcDO3Z/fiU/uDyADXazeQvEtSnVuGM7CtDb4VDK9GcUEN1SOgi1ehNEhJLWQ3kk52Gi/e9zeKHTrImmOr/1lZsCHJ13yiE8cTe6bO+eHhSE5D2btkkRhRcnu3D0RHZThd3Vx4alCwlkLGWGwe9uIjPE/F9BSCwLhbQVW0hIbgaJ3HcIXr+9BIjhW8aA0+uFGAr0GKJBhFKVsMeCg5+LMZmKF6WxibL+/mlH4TmEA8HKpql/rzsDY4wj/WUPcRlT1F1SPfAp5LkWWC3/CQsVQ0iHVjOT46sSOyUE9cp8Gbkct01qLtQuc75kHOUA2pzzLijJRA9Kbwn3AXccMR+eIKRpC2wvjoD99urBZgsZCIz5pCdFGI+0TNV3nxVDatz9Y/py8ZtySFU39KAjnDAmIWdAaIY09XFwcI5srI+nTaxd2d9SSOdhLIRcOC8+S45D+LpJpf6CipLI3wBjqGWTX8eFNOEMdE+CD2eR5uueKdn1cq5fj0xIT+JZCHaBNc2MNUeA3Mvz/PKnkcplGgFxVH7p/RkB5qqRKD7sM2yXEpo/Po+3UeXaAlCS1sb/SQG7toeBIFMX1+gK4VSs9INhWPEsxmVu+EXXCJKQYNzb/a7h0lQgLWBLOyBIuGjkmXEFCPb8jfz4SLpJ1Mfulu+5csiXrfI91FpvGsAAvesoYFfHIf8oZrckxd6NT0SRPiEqen+WxMy6q80kjmwnqtnHW9QdKlJEm/9bcnrLkiUlW10HniO33PezsWj4kkW/2q366q+gLyrU0O8ZJKFRWYx9YTO+xrU3C9okGIKPTpKIkFdSpL+fUj 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)(396003)(39850400004)(346002)(376002)(136003)(46966006)(36840700001)(70206006)(426003)(8936002)(2616005)(6666004)(6916009)(19627235002)(478600001)(316002)(4326008)(70586007)(2906002)(336012)(86362001)(7696005)(36756003)(47076005)(8676002)(82310400003)(82740400003)(54906003)(26005)(186003)(16799955002)(36860700001)(1076003)(5660300002)(83380400001)(81166007);DIR:OUT;SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Jul 2021 10:23:03.0723 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: af5a8cbb-a702-4ea4-37ed-08d953440379 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: DB5EUR03FT016.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR08MB5239 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")