public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* Re: 回复: [edk2-devel] [PATCH v2 0/8] IORT Rev E.b specification updates
@ 2021-06-21  9:56 Sami Mujawar
  2021-06-22  1:02 ` 回复: " gaoliming
  0 siblings, 1 reply; 3+ messages in thread
From: Sami Mujawar @ 2021-06-21  9:56 UTC (permalink / raw)
  To: gaoliming, devel@edk2.groups.io
  Cc: Alexei Fedorov, ardb+tianocore@kernel.org, Matteo Carlini,
	Ben Adderson, Steven Price, Lorenzo Pieralisi,
	michael.d.kinney@intel.com, zhiguang.liu@intel.com,
	ray.ni@intel.com, zhichao.gao@intel.com, nd

Hi Liming,

Please find my response inline marked [SAMI].

Regards,

Sami Mujawar

On 18/06/2021, 01:49, "gaoliming" <gaoliming@byosoft.com.cn> wrote:

    Sami:
      I agree this change. With this patch, will you update the existing
    platform to use the matched version macro EFI_ACPI_IO_REMAPPING_TABLE_REV0? 
[SAMI] I can update the platforms in edk2-platforms as a follow-on patch. In that case the macro EFI_ACPI_IO_REMAPPING_TABLE_REVISION can also be removed. 
Please let me know if this approach would be better, and I can send an update.
[/SAMI]

    Thanks
    Liming
    > -----邮件原件-----
    > 发件人: devel@edk2.groups.io <devel@edk2.groups.io> 代表 Sami
    > Mujawar
    > 发送时间: 2021年6月17日 17:55
    > 收件人: devel@edk2.groups.io
    > 抄送: Sami Mujawar <sami.mujawar@arm.com>; Alexei.Fedorov@arm.com;
    > ardb+tianocore@kernel.org; Matteo.Carlini@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
    > 主题: [edk2-devel] [PATCH v2 0/8] IORT Rev E.b specification updates
    > 
    > Bugzilla: 3458 - Add support IORT Rev E.b specification updates
    >           (https://bugzilla.tianocore.org/show_bug.cgi?id=3458)
    > 
    > The IO Remapping Table (IORT) specification has been updated to
    > rev E.b. The following updates are introduced including the errata
    > to rev E and E.a:
    >   - increments the IORT table revision to 3.
    >   - 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.
    > 
    > 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.
    > 
    > This 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 changes can be seen at:
    > https://github.com/samimujawar/edk2/tree/1527_iort_rev_eb_v2
    > 
    > Sami Mujawar (8):
    >   MdePkg: Fix IORT header file include guard
    >   MdePkg: IORT header update for IORT Rev E.b spec
    >   ShellPkg: Acpiview: Abbreviate field names to preserve alignment
    >   ShellPkg: Acpiview: IORT parser update for IORT Rev E.b spec
    >   DynamicTablesPkg: IORT set reference to Id array only if present
    >   DynamicTablesPkg: IORT set reference to interrupt array if present
    >   DynamicTablesPkg: Update ArmNameSpaceObjects for IORT Rev E.b
    >   DynamicTablesPkg: IORT generator updates for Rev E.b spec
    > 
    >  DynamicTablesPkg/Include/ArmNameSpaceObjects.h
    > |  58 ++
    >  DynamicTablesPkg/Library/Acpi/Arm/AcpiIortLibArm/IortGenerator.c
    > | 772 ++++++++++++++++++--
    >  DynamicTablesPkg/Library/Acpi/Arm/AcpiIortLibArm/IortGenerator.h
    > |   5 +-
    >  MdePkg/Include/IndustryStandard/IoRemappingTable.h
    > |  71 +-
    >  ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Iort/IortParser.c |
    > 207 +++++-
    >  5 files changed, 1013 insertions(+), 100 deletions(-)
    > 
    > --
    > 'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)'
    > 
    > 
    > 
    > 
    > 





^ permalink raw reply	[flat|nested] 3+ messages in thread

* 回复: 回复: [edk2-devel] [PATCH v2 0/8] IORT Rev E.b specification updates
  2021-06-21  9:56 回复: [edk2-devel] [PATCH v2 0/8] IORT Rev E.b specification updates Sami Mujawar
@ 2021-06-22  1:02 ` gaoliming
  2021-11-10 11:11   ` [edk2-devel] " Sami Mujawar
  0 siblings, 1 reply; 3+ messages in thread
From: gaoliming @ 2021-06-22  1:02 UTC (permalink / raw)
  To: 'Sami Mujawar', devel
  Cc: 'Alexei Fedorov', ardb+tianocore,
	'Matteo Carlini', 'Ben Adderson',
	'Steven Price', 'Lorenzo Pieralisi',
	michael.d.kinney, zhiguang.liu, ray.ni, zhichao.gao, 'nd'

Sami:
  This approach is good. For this patch set, Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>. 

Thanks
Liming
> -----邮件原件-----
> 发件人: Sami Mujawar <Sami.Mujawar@arm.com>
> 发送时间: 2021年6月21日 17:57
> 收件人: gaoliming <gaoliming@byosoft.com.cn>; devel@edk2.groups.io
> 抄送: Alexei Fedorov <Alexei.Fedorov@arm.com>;
> ardb+tianocore@kernel.org; Matteo Carlini <Matteo.Carlini@arm.com>; Ben
> Adderson <Ben.Adderson@arm.com>; Steven Price <Steven.Price@arm.com>;
> Lorenzo Pieralisi <Lorenzo.Pieralisi@arm.com>; michael.d.kinney@intel.com;
> zhiguang.liu@intel.com; ray.ni@intel.com; zhichao.gao@intel.com; nd
> <nd@arm.com>
> 主题: Re: 回复: [edk2-devel] [PATCH v2 0/8] IORT Rev E.b specification
> updates
> 
> Hi Liming,
> 
> Please find my response inline marked [SAMI].
> 
> Regards,
> 
> Sami Mujawar
> 
> On 18/06/2021, 01:49, "gaoliming" <gaoliming@byosoft.com.cn> wrote:
> 
>     Sami:
>       I agree this change. With this patch, will you update the existing
>     platform to use the matched version macro
> EFI_ACPI_IO_REMAPPING_TABLE_REV0?
> [SAMI] I can update the platforms in edk2-platforms as a follow-on patch. In
> that case the macro EFI_ACPI_IO_REMAPPING_TABLE_REVISION can also be
> removed.
> Please let me know if this approach would be better, and I can send an
> update.
> [/SAMI]
> 
>     Thanks
>     Liming
>     > -----邮件原件-----
>     > 发件人: devel@edk2.groups.io <devel@edk2.groups.io> 代表 Sami
>     > Mujawar
>     > 发送时间: 2021年6月17日 17:55
>     > 收件人: devel@edk2.groups.io
>     > 抄送: Sami Mujawar <sami.mujawar@arm.com>;
> Alexei.Fedorov@arm.com;
>     > ardb+tianocore@kernel.org; Matteo.Carlini@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
>     > 主题: [edk2-devel] [PATCH v2 0/8] IORT Rev E.b specification updates
>     >
>     > Bugzilla: 3458 - Add support IORT Rev E.b specification updates
>     >           (https://bugzilla.tianocore.org/show_bug.cgi?id=3458)
>     >
>     > The IO Remapping Table (IORT) specification has been updated to
>     > rev E.b. The following updates are introduced including the errata
>     > to rev E and E.a:
>     >   - increments the IORT table revision to 3.
>     >   - 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.
>     >
>     > 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.
>     >
>     > This 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 changes can be seen at:
>     > https://github.com/samimujawar/edk2/tree/1527_iort_rev_eb_v2
>     >
>     > Sami Mujawar (8):
>     >   MdePkg: Fix IORT header file include guard
>     >   MdePkg: IORT header update for IORT Rev E.b spec
>     >   ShellPkg: Acpiview: Abbreviate field names to preserve alignment
>     >   ShellPkg: Acpiview: IORT parser update for IORT Rev E.b spec
>     >   DynamicTablesPkg: IORT set reference to Id array only if present
>     >   DynamicTablesPkg: IORT set reference to interrupt array if present
>     >   DynamicTablesPkg: Update ArmNameSpaceObjects for IORT Rev
> E.b
>     >   DynamicTablesPkg: IORT generator updates for Rev E.b spec
>     >
>     >  DynamicTablesPkg/Include/ArmNameSpaceObjects.h
>     > |  58 ++
>     >  DynamicTablesPkg/Library/Acpi/Arm/AcpiIortLibArm/IortGenerator.c
>     > | 772 ++++++++++++++++++--
>     >  DynamicTablesPkg/Library/Acpi/Arm/AcpiIortLibArm/IortGenerator.h
>     > |   5 +-
>     >  MdePkg/Include/IndustryStandard/IoRemappingTable.h
>     > |  71 +-
>     >
> ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Iort/IortParser.c |
>     > 207 +++++-
>     >  5 files changed, 1013 insertions(+), 100 deletions(-)
>     >
>     > --
>     > 'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)'
>     >
>     >
>     >
>     > 
>     >
> 
> 
> 




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [edk2-devel] 回复: 回复: [edk2-devel] [PATCH v2 0/8] IORT Rev E.b specification updates
  2021-06-22  1:02 ` 回复: " gaoliming
@ 2021-11-10 11:11   ` Sami Mujawar
  0 siblings, 0 replies; 3+ messages in thread
From: Sami Mujawar @ 2021-11-10 11:11 UTC (permalink / raw)
  To: gaoliming, devel

[-- Attachment #1: Type: text/plain, Size: 916 bytes --]

Hi Liming,

I have resubmitted the new series along with the patches to update edk2-platforms.
The links for the new series are as below:
https://edk2.groups.io/g/devel/message/83545 [PATCH v3 0/8] IORT Rev E.b specification updates ( https://edk2.groups.io/g/devel/topic/patch_v3_0_8_iort_rev_e_b/86954323?p=,,,20,0,0,0::recentpostdate/sticky,,,20,2,0,86954323,previd=1636542218927226425,nextid=1636541757114664345&previd=1636542218927226425&nextid=1636541757114664345 )
https://edk2.groups.io/g/devel/message/83555 ( https://edk2.groups.io/g/devel/message/83555 ) [PATCH edk2-platforms v1 00/11] Fix build breaks and update IORT revision macro
( https://edk2.groups.io/g/devel/topic/patch_edk2_platforms_v1/86954380?p=,,,20,0,0,0::recentpostdate/sticky,,,20,2,0,86954380,previd=1636542218927226425,nextid=1636541757114664345&previd=1636542218927226425&nextid=1636541757114664345 )
Regards,

Sami Mujawar

[-- Attachment #2: Type: text/html, Size: 1229 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-11-10 11:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-06-21  9:56 回复: [edk2-devel] [PATCH v2 0/8] IORT Rev E.b specification updates Sami Mujawar
2021-06-22  1:02 ` 回复: " gaoliming
2021-11-10 11:11   ` [edk2-devel] " Sami Mujawar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox