From: "Sami Mujawar" <sami.mujawar@arm.com>
To: <devel@edk2.groups.io>
Cc: Sami Mujawar <sami.mujawar@arm.com>, <Alexei.Fedorov@arm.com>,
<ardb+tianocore@kernel.org>, <quic_llindhol@quicinc.com>,
<pierre.gondois@arm.com>, <Matteo.Carlini@arm.com>,
<Akanksha.Jain2@arm.com>, <Ben.Adderson@arm.com>,
<steven.price@arm.com>, <Lorenzo.Pieralisi@arm.com>,
<michael.d.kinney@intel.com>, <gaoliming@byosoft.com.cn>,
<zhiguang.liu@intel.com>, <ray.ni@intel.com>,
<zhichao.gao@intel.com>, <nd@arm.com>
Subject: [PATCH v6 0/8] IORT Rev E.d specification updates
Date: Thu, 14 Jul 2022 17:50:23 +0100 [thread overview]
Message-ID: <20220714165031.42640-1-sami.mujawar@arm.com> (raw)
Bugzilla: 3458 - Add support IORT Rev E.d specification updates
(https://bugzilla.tianocore.org/show_bug.cgi?id=3458)
The IO Remapping Table, Platform Design Document, Revision E.d,
Feb 2022 (https://developer.arm.com/documentation/den0049/)
introduces the following updates, collectively including the
updates and errata fixes to Rev E, Rev E.a, Rev E.b, Rev E.c:
- increments the IORT table revision to 5.
- updates the node definition to add an 'Identifier' field.
- adds definition of node type 6 - Reserved Memory Range node.
- adds definition for Memory Range Descriptors.
- adds flag to indicate PRI support for root complexes.
- adds flag to indicate if the root complex supports forwarding
of PASID information on translated transactions to the SMMU.
- adds flag to indicate if the root complex supports PASID.
- adds flags to define access privilege and attributes for the
memory ranges.
This v6 series:
* Updates teh IORT header to add definition for IORT Rev 4
and RMR Node 2 so that appropriate checks can be performed
for deprecated table/node revisions.
* Adds checks to not generate IORT table Rev E, E.<a,b,c>.
* Addresses the feedback received for Acpiview to:
- Make output format for Flags filed consistent.
- Define macro for IORT Rev E.c and RMR Node revision 2
and use these to check for deprecated table/node
revisions.
- Added check to skip parsing if IORT Rev E, E.<a,b,c>
as various fields were deprecated between revisions.
The v5 series:
* Addresses the feedback for IORT Revision macro.
* Reorders the patches in the series and updates
"MdePkg: IORT header update for IORT Rev E.d spec"
patch to include changes for IORT generator to prevent
git bisect from breaking.
The v4 series:
* Updates the IORT header to reflect Rev E.d:
- Add flag to indicate if the root complex supports PASID.
- Add flags to define access privilege and attributes for the
memory ranges.
* Adds validations to Acpiview to:
- Check that the IORT Table Revision is not 4 as IORT
Rev E.c is deprecated.
- Check that the IORT RMR node revision is not 2 as it
breaks backward compatibility and was deprecated as
part of IORT Rev E.c.
* Updates Dynamic Tables Framework to support generation of
IORT revision E.d.
The v3 series:
- Dropped [PATCH v2 1/8] MdePkg: Fix IORT header file include
guard as suggested at
https://edk2.groups.io/g/devel/message/76656
- Removed definition of EFI_ACPI_IO_REMAPPING_TABLE_REVISION as
EFI_ACPI_IO_REMAPPING_TABLE_REV0 has been provided for
representing Rev 0.
- Moved error handling code for IdMappingToken from patch v2 6/8
and v2 8/8 into a separate patch.
- Moved Identifier field before Flags field in CM_ARM_RMR_NODE.
- Added description for CM_ARM_MEMORY_RANGE_DESCRIPTOR field.
The v2 patch series includes all changes from v1 patch series
except the following 2 patches have been modified to set the
EFI_ACPI_IO_REMAPPING_TABLE_REVISION macro to Rev 0 as setting
to Rev 3 will break existing platforms, the problem being that
the Identifier field in the IORT nodes would not be unique.
- MdePkg: IORT header update for IORT Rev E.b spec
- DynamicTablesPkg: IORT generator updates for Rev E.b spec
The v1 patch series:
- Updates the IORT header file to match the Rev E.b specification.
- Add support to parse IORT Rev E.b tables
- Add support to generate IORT Rev E.b compliant ACPI tables
using Dynamic Tables Framework.
The changes for the v4 series can be seen at:
https://github.com/samimujawar/edk2/tree/1527_iort_rev_ed_v6
Sami Mujawar (8):
ShellPkg: Acpiview: Abbreviate field names to preserve alignment
DynamicTablesPkg: Handle error when IdMappingToken is NULL
DynamicTablesPkg: IORT set reference to Id array only if present
DynamicTablesPkg: IORT set reference to interrupt array if present
MdePkg: IORT header update for IORT Rev E.d spec
ShellPkg: Acpiview: IORT parser update for IORT Rev E.d spec
DynamicTablesPkg: Update ArmNameSpaceObjects for IORT Rev E.d
DynamicTablesPkg: IORT generator updates for Rev E.d spec
DynamicTablesPkg/DynamicTablesPkg.ci.yaml | 1 +
DynamicTablesPkg/Include/ArmNameSpaceObjects.h | 66 +-
DynamicTablesPkg/Library/Acpi/Arm/AcpiIortLibArm/IortGenerator.c | 854 +++++++++++++++++---
DynamicTablesPkg/Library/Acpi/Arm/AcpiIortLibArm/IortGenerator.h | 5 +-
MdePkg/Include/IndustryStandard/IoRemappingTable.h | 86 +-
ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Iort/IortParser.c | 239 +++++-
6 files changed, 1111 insertions(+), 140 deletions(-)
--
'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)'
next reply other threads:[~2022-07-14 16:51 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-14 16:50 Sami Mujawar [this message]
2022-07-14 16:50 ` [PATCH v6 1/8] ShellPkg: Acpiview: Abbreviate field names to preserve alignment Sami Mujawar
2022-07-19 1:46 ` Gao, Zhichao
2022-07-14 16:50 ` [PATCH v6 2/8] DynamicTablesPkg: Handle error when IdMappingToken is NULL Sami Mujawar
2022-07-14 16:50 ` [PATCH v6 3/8] DynamicTablesPkg: IORT set reference to Id array only if present Sami Mujawar
2022-07-14 16:50 ` [PATCH v6 4/8] DynamicTablesPkg: IORT set reference to interrupt array " Sami Mujawar
2022-07-14 16:50 ` [PATCH v6 5/8] MdePkg: IORT header update for IORT Rev E.d spec Sami Mujawar
2022-07-19 1:46 ` [edk2-devel] " Gao, Zhichao
2022-07-14 16:50 ` [PATCH v6 6/8] ShellPkg: Acpiview: IORT parser " Sami Mujawar
2022-07-18 8:48 ` Sami Mujawar
2022-07-19 1:59 ` [edk2-devel] " Gao, Zhichao
2022-07-14 16:50 ` [PATCH v6 7/8] DynamicTablesPkg: Update ArmNameSpaceObjects for IORT Rev E.d Sami Mujawar
2022-07-14 16:50 ` [PATCH v6 8/8] DynamicTablesPkg: IORT generator updates for Rev E.d spec Sami Mujawar
2022-07-18 7:42 ` [PATCH v6 0/8] IORT Rev E.d specification updates PierreGondois
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=20220714165031.42640-1-sami.mujawar@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