Hello Sami,
For the serie:
Reviewed-by: Pierre Gondois <pierre.gond...@arm.com>

Regards,
Pierre

On 7/14/22 18:50, Sami Mujawar wrote:
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(-)



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#91439): https://edk2.groups.io/g/devel/message/91439
Mute This Topic: https://groups.io/mt/92383466/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to