From: "Chris Jones" <christopher.jones@arm.com>
To: <devel@edk2.groups.io>
Cc: <Sami.Mujawar@arm.com>, <Akanksha.Jain2@arm.com>,
<Ben.Adderson@arm.com>, <michael.d.kinney@intel.com>,
<gaoliming@byosoft.com.cn>, <zhiguang.liu@intel.com>,
<Matteo.Carlini@arm.com>, <nd@arm.com>
Subject: [PATCH RESEND v1 08/13] MdePkg: Add 'Type 5' PCC structure
Date: Fri, 30 Jul 2021 11:22:36 +0100 [thread overview]
Message-ID: <20210730102241.508-9-christopher.jones@arm.com> (raw)
In-Reply-To: <20210730102241.508-1-christopher.jones@arm.com>
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 <christopher.jones@arm.com>
---
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")
next prev parent reply other threads:[~2021-07-30 10:23 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-30 10:22 [PATCH RESEND v1 00/13] Add ACPI 6.4 header file Chris Jones
2021-07-30 10:22 ` [PATCH RESEND v1 01/13] MdePkg: " Chris Jones
2021-07-30 10:22 ` [PATCH RESEND v1 02/13] MdePkg: Increment FADT version Chris Jones
2021-07-30 10:22 ` [PATCH RESEND v1 03/13] MdePkg: Rename SBSA Generic Watchdog to Arm Generic Watchdog Chris Jones
2021-07-30 10:22 ` [PATCH RESEND v1 04/13] MdePkg: Update PMTT to ACPI 6.4 Chris Jones
2021-07-30 10:22 ` [PATCH RESEND v1 05/13] MdePkg: Add SPA Location Cookie field to SPA Range structure Chris Jones
2021-07-30 10:22 ` [PATCH RESEND v1 06/13] MdePkg: Remove DPPT table Chris Jones
2021-07-30 10:22 ` [PATCH RESEND v1 07/13] MdePkg: Add flags and MinTransferSize to Generic Initiator Chris Jones
2021-07-30 10:22 ` Chris Jones [this message]
2021-07-30 10:22 ` [PATCH RESEND v1 09/13] MdePkg: Add Multiprocessor Wakeup structure Chris Jones
2021-07-30 10:22 ` [PATCH RESEND v1 10/13] MdePkg: Add the Platform Health Assessment Table (PHAT) Chris Jones
2021-07-30 10:22 ` [PATCH RESEND v1 11/13] MdePkg: Add Secure Access Components in the SDEV table Chris Jones
2021-07-30 10:22 ` [PATCH RESEND v1 12/13] MdePkg: Add Cache ID to PPTT Chris Jones
2021-07-30 10:22 ` [PATCH RESEND v1 13/13] MdePkg: Fix broken coding style in Acpi64.h Chris Jones
2021-08-04 3:27 ` 回复: [PATCH RESEND v1 00/13] Add ACPI 6.4 header file gaoliming
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210730102241.508-9-christopher.jones@arm.com \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox