<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body>
<div style="color: rgb(33, 33, 33); background-color: rgb(255, 255, 255);" dir="auto">
Hi Are, I am so sorry about that I just merged it two hours ago. Any process needed if we want to change the commit messages for adding your review tag?</div>
<div style="color: rgb(33, 33, 33); background-color: rgb(255, 255, 255);" dir="auto">
<br>
</div>
<div style="color: rgb(33, 33, 33); background-color: rgb(255, 255, 255);" dir="auto">
Abner</div>
<div id="ms-outlook-mobile-signature">
<div><br>
</div>
Get <a href="https://aka.ms/AAb9ysg">Outlook for Android</a></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Ard Biesheuvel <ardb@kernel.org><br>
<b>Sent:</b> Thursday, October 14, 2021 5:51:56 PM<br>
<b>To:</b> edk2-devel-groups-io <devel@edk2.groups.io>; Chang, Abner (HPS SW/FW Technologist) <abner.chang@hpe.com><br>
<b>Cc:</b> gaoliming <gaoliming@byosoft.com.cn>; Ard Biesheuvel <ardb+tianocore@kernel.org>; Leif Lindholm <leif@nuviainc.com>; Sami Mujawar <sami.mujawar@arm.com>; Jiewen Yao <jiewen.yao@intel.com>; Jordan Justen <jordan.l.justen@intel.com>; Gerd Hoffmann
 <kraxel@redhat.com>; Schaefer, Daniel <daniel.schaefer@hpe.com>; Sunil V L <sunilvl@ventanamicro.com>; Zhiguang Liu <zhiguang.liu@intel.com>; Michael D Kinney <michael.d.kinney@intel.com><br>
<b>Subject:</b> Re: [edk2-devel] [PATCH V3 00/12] Migrate ArmVirtPkg modules to OvmfPkg</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">On Tue, 12 Oct 2021 at 06:17, Abner Chang <abner.chang@hpe.com> wrote:<br>
><br>
> Hi package maintainers,<br>
><br>
> The review process of this patch set is almost done and please allow me to merge it because the corresponding changes on edk2-platform is also required to merge.<br>
><br>
><br>
><br>
> Ard and Leif, do I need the Reviewed-by or Acked-by from either of you? Or I can just proceed the merge process as Ard has no problem with this patch set?<br>
><br>
><br>
<br>
Hi Abner,<br>
<br>
Where needed<br>
<br>
Acked-by: Ard Biesheuvel <ardb@kernel.org><br>
<br>
Feel free to merge it whenever convenient for you.<br>
<br>
<br>
><br>
> From: gaoliming [<a href="mailto:gaoliming@byosoft.com.cn">mailto:gaoliming@byosoft.com.cn</a>]<br>
> Sent: Monday, October 11, 2021 9:22 AM<br>
> To: devel@edk2.groups.io; Chang, Abner (HPS SW/FW Technologist) <abner.chang@hpe.com>; ardb@kernel.org<br>
> Cc: 'Ard Biesheuvel' <ardb+tianocore@kernel.org>; 'Leif Lindholm' <leif@nuviainc.com>; 'Sami Mujawar' <sami.mujawar@arm.com>; 'Jiewen Yao' <jiewen.yao@intel.com>; 'Jordan Justen' <jordan.l.justen@intel.com>; 'Gerd Hoffmann' <kraxel@redhat.com>; Schaefer,
 Daniel <daniel.schaefer@hpe.com>; 'Sunil V L' <sunilvl@ventanamicro.com>; 'Zhiguang Liu' <zhiguang.liu@intel.com>; 'Michael D Kinney' <michael.d.kinney@intel.com><br>
> Subject: 回复: [edk2-devel] [PATCH V3 00/12] Migrate ArmVirtPkg modules to OvmfPkg<br>
><br>
><br>
><br>
> The change in MdePkg is good to me. Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn><br>
><br>
><br>
><br>
> 发件人: devel@edk2.groups.io <devel@edk2.groups.io> 代表 Abner Chang<br>
> 发送时间: 2021年10月8日 11:39<br>
> 收件人: devel@edk2.groups.io; gaoliming@byosoft.com.cn; ardb@kernel.org<br>
> 抄送: 'Ard Biesheuvel' <ardb+tianocore@kernel.org>; 'Leif Lindholm' <leif@nuviainc.com>; 'Sami Mujawar' <sami.mujawar@arm.com>; 'Jiewen Yao' <jiewen.yao@intel.com>; 'Jordan Justen' <jordan.l.justen@intel.com>; 'Gerd Hoffmann' <kraxel@redhat.com>; Schaefer,
 Daniel <daniel.schaefer@hpe.com>; 'Sunil V L' <sunilvl@ventanamicro.com>; 'Zhiguang Liu' <zhiguang.liu@intel.com>; 'Michael D Kinney' <michael.d.kinney@intel.com><br>
> 主题: Re: [edk2-devel] [PATCH V3 00/12] Migrate ArmVirtPkg modules to OvmfPkg<br>
><br>
><br>
><br>
> Thanks Liming, could you please also give the reviewed-by.<br>
><br>
><br>
><br>
> Hi Ard, also need your reviewed-by for ArmPkg. Then this changes could be upstream and finished.<br>
><br>
> Thanks<br>
><br>
> Abner<br>
><br>
><br>
><br>
><br>
><br>
> From: devel@edk2.groups.io [<a href="mailto:devel@edk2.groups.io">mailto:devel@edk2.groups.io</a>] On Behalf Of gaoliming<br>
> Sent: Friday, October 8, 2021 11:14 AM<br>
> To: Chang, Abner (HPS SW/FW Technologist) <abner.chang@hpe.com>; 'edk2-devel-groups-io' <devel@edk2.groups.io>; ardb@kernel.org<br>
> Cc: 'Ard Biesheuvel' <ardb+tianocore@kernel.org>; 'Leif Lindholm' <leif@nuviainc.com>; 'Sami Mujawar' <sami.mujawar@arm.com>; 'Jiewen Yao' <jiewen.yao@intel.com>; 'Jordan Justen' <jordan.l.justen@intel.com>; 'Gerd Hoffmann' <kraxel@redhat.com>; Schaefer,
 Daniel <daniel.schaefer@hpe.com>; 'Sunil V L' <sunilvl@ventanamicro.com>; 'Zhiguang Liu' <zhiguang.liu@intel.com>; 'Michael D Kinney' <michael.d.kinney@intel.com><br>
> Subject: 回复: [edk2-devel] [PATCH V3 00/12] Migrate ArmVirtPkg modules to OvmfPkg<br>
><br>
><br>
><br>
> Ard and Abner:<br>
><br>
>  I am OK to add these three PCDs PcdPciMmio32Translation, PcdPciMmio64Translation, PcdPciIoTranslation to MdePkg.<br>
><br>
><br>
><br>
> Thanks<br>
><br>
> Liming<br>
><br>
> 发件人: Chang, Abner (HPS SW/FW Technologist) <abner.chang@hpe.com><br>
> 发送时间: 2021年10月6日 17:27<br>
> 收件人: edk2-devel-groups-io <devel@edk2.groups.io>; ardb@kernel.org; Chang, Abner (HPS SW/FW Technologist) <abner.chang@hpe.com><br>
> 抄送: Ard Biesheuvel <ardb+tianocore@kernel.org>; Leif Lindholm <leif@nuviainc.com>; Sami Mujawar <sami.mujawar@arm.com>; Jiewen Yao <jiewen.yao@intel.com>; Jordan Justen <jordan.l.justen@intel.com>; Gerd Hoffmann <kraxel@redhat.com>; Schaefer, Daniel <daniel.schaefer@hpe.com>;
 Sunil V L <sunilvl@ventanamicro.com>; Liming Gao <gaoliming@byosoft.com.cn>; Zhiguang Liu <zhiguang.liu@intel.com>; Michael D Kinney <michael.d.kinney@intel.com><br>
> 主题: Re: [edk2-devel] [PATCH V3 00/12] Migrate ArmVirtPkg modules to OvmfPkg<br>
><br>
><br>
><br>
> Hi Ard,<br>
><br>
> I realized there is a problem if we duplicate ArmPkg defined PCD to under OvmfPkg (e.g. PcdPciIoTranslate PCD) when I was duplicating this PCD to OvmfPkg.<br>
><br>
> FdtPciProducerLib is relocated to OvmfPkg/Fdt and uses PcdPciIoTranslate PCD declared with OvmfPkg namespace. FdtPciProducerLib is also used by both ArmVirtPkg  and RiscVVirtPkg.<br>
><br>
> ArmVirtPkg uses ArmPciCpuIoDxe provided by ArmPkg however PcdPciIoTranslate used by ArmPciCpuIoDxe  is declared with ArmPkg namespace.<br>
><br>
> I think this results in the problem because PcdPciIoTranslate(s) that are referred by ArmPkg and ArmVirtPkg come from two different namespaces, right? Unless ArmPciCpuIoDxe uses the one declared in OvmfPkg, but I don't think we want to do this.<br>
><br>
> Thought? Otherwise, we should still keep the original patch that relocates these PCDs under MdePkg.<br>
><br>
><br>
><br>
> Thanks<br>
><br>
> Abner<br>
><br>
><br>
><br>
><br>
><br>
> ________________________________<br>
><br>
> From: devel@edk2.groups.io <devel@edk2.groups.io> on behalf of Abner Chang <abner.chang@hpe.com><br>
> Sent: Tuesday, October 5, 2021 11:00 PM<br>
> To: edk2-devel-groups-io <devel@edk2.groups.io>; ardb@kernel.org <ardb@kernel.org><br>
> Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>; Leif Lindholm <leif@nuviainc.com>; Sami Mujawar <sami.mujawar@arm.com>; Jiewen Yao <jiewen.yao@intel.com>; Jordan Justen <jordan.l.justen@intel.com>; Gerd Hoffmann <kraxel@redhat.com>; Schaefer, Daniel <daniel.schaefer@hpe.com>;
 Sunil V L <sunilvl@ventanamicro.com>; Liming Gao <gaoliming@byosoft.com.cn>; Zhiguang Liu <zhiguang.liu@intel.com>; Michael D Kinney <michael.d.kinney@intel.com><br>
> Subject: Re: [edk2-devel] [PATCH V3 00/12] Migrate ArmVirtPkg modules to OvmfPkg<br>
><br>
><br>
><br>
> Hi Ard,<br>
><br>
> This way reduces the impact of MdePkg. We can try it.<br>
><br>
><br>
><br>
> Thanks<br>
><br>
> Abner<br>
><br>
><br>
><br>
> ________________________________<br>
><br>
> From: devel@edk2.groups.io <devel@edk2.groups.io> on behalf of Ard Biesheuvel <ardb@kernel.org><br>
> Sent: Tuesday, October 5, 2021 5:30 PM<br>
> To: edk2-devel-groups-io <devel@edk2.groups.io>; Chang, Abner (HPS SW/FW Technologist) <abner.chang@hpe.com><br>
> Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>; Leif Lindholm <leif@nuviainc.com>; Sami Mujawar <sami.mujawar@arm.com>; Jiewen Yao <jiewen.yao@intel.com>; Jordan Justen <jordan.l.justen@intel.com>; Gerd Hoffmann <kraxel@redhat.com>; Schaefer, Daniel <daniel.schaefer@hpe.com>;
 Sunil V L <sunilvl@ventanamicro.com>; Liming Gao <gaoliming@byosoft.com.cn>; Zhiguang Liu <zhiguang.liu@intel.com>; Michael D Kinney <michael.d.kinney@intel.com><br>
> Subject: Re: [edk2-devel] [PATCH V3 00/12] Migrate ArmVirtPkg modules to OvmfPkg<br>
><br>
><br>
><br>
> On Thu, 30 Sept 2021 at 03:43, Abner Chang <abner.chang@hpe.com> wrote:<br>
> ><br>
> > In V3: Address comments on V2.<br>
> > In V2: Remove HPE license on the files that just moved around or<br>
> >        the changes in the file are just code removal.<br>
> ><br>
> > edk2 BZ #: 3665<br>
> > edk2 platform corresponding changes will be submitted after<br>
> > this pactch set is reviewed.<br>
> ><br>
> > This pacthes set is to migrate some modules from ArmVirtPkg<br>
> > to under OvmfPkg for the upcoming RiscVVirtPkg that can leverage<br>
> > those modules without the dependency with Arm*Pkg.<br>
> ><br>
> > The modules moved from ArmVirtPkg to OvmfPkg are,<br>
> > - FdtClientDxe<br>
> > - PciPcdProducerLib<br>
> > - HighMemDxe<br>
> > - QemuFwCfgLib<br>
> > - FdtPciHostBridgeLib<br>
> > - VirtioFdtDxe<br>
> ><br>
> > Below PCDs are moved to under MdePkg and leverage by RiscVVirtPkg.<br>
> > This change also remove the dependency on ArmPkg of OvmfPkg.<br>
> > - PcdPciIoTranslation<br>
> > - PcdPciIoTranslation<br>
> > - PcdPciMmio32(64)Translation<br>
> ><br>
> > Signed-off-by: Abner Chang <abner.chang@hpe.com><br>
> > Cc: Ard Biesheuvel <ardb+tianocore@kernel.org><br>
> > Cc: Leif Lindholm <leif@nuviainc.com><br>
> > Cc: Sami Mujawar <sami.mujawar@arm.com><br>
> > Cc: Jiewen Yao <jiewen.yao@intel.com><br>
> > Cc: Jordan Justen <jordan.l.justen@intel.com><br>
> > Cc: Gerd Hoffmann <kraxel@redhat.com><br>
> > Cc: Daniel Schaefer <daniel.schaefer@hpe.com><br>
> > Cc: Sunil V L <sunilvl@ventanamicro.com><br>
> > Cc: Liming Gao <gaoliming@byosoft.com.cn><br>
> > Cc: Zhiguang Liu <zhiguang.liu@intel.com><br>
> > Cc: Michael D Kinney <michael.d.kinney@intel.com><br>
> ><br>
> > Abner Chang (12):<br>
> >   ArmVirtPkg/FdtClintDxe: Move FdtClientDxe to EmbeddedPkg<br>
> >   MdePkg: Add PcdPciIoTranslation PCD<br>
> >   ArmPkg: Use PcdPciIoTranslation PCD from MdePkg<br>
> >   ArmVirtPkg/FdtPciPcdProducerLib: Relocate PciPcdProducerLib to OvmfPkg<br>
> >   ArmVirtPkg/HighMemDxe: Relocate HighMemDxe to OvmfPkg<br>
> >   OvmfPkg/HighMemDxe: Add RISC-V in the supported arch.<br>
> >   ArmVirtPkg/QemuFwCfgLib: Relocate QemuFwCfgLib to OvmfPkg<br>
> >   OvmfPkg/QemuFwCfgLibMMIO: Add RISC-V arch support<br>
> >   MdePkg: Add PcdPciMmio32(64)Translation PCDs<br>
> >   ArmVirtPkg/FdtPciHostBridgeLib: Relocate FdtPciHostBridgeLib to<br>
> >     OvmfPkg/Fdt<br>
> >   OvmfPkg/FdtPciHostBridgeLib: Add RISC-V in the supported arch.<br>
> >   ArmVirtPkg/VirtioFdtDxe: Relocate VirtioFdtDxe to OvmfPkg/Fdt<br>
> ><br>
><br>
> Hello all,<br>
><br>
> These patches look ok to me, but I wonder if the MdePkg maintainers<br>
> are happy taking these PCD declaration changes. Translations for PCIe<br>
> are typically defined per host bridge, and I would rather move away<br>
> from using PCDs for this entirely than 'promote' them by carrying them<br>
> in MdePkg.<br>
><br>
> As this issue is somewhat orthogonal to what Abner is trying to fix,<br>
> perhaps it is better to avoid MdePkg changes for now, and just<br>
> duplicate these PCDs into OvmfPkg. This is reasonable, given that we<br>
> know that QEMU only exposes a single host bridge.<br>
><br>
> The one in ArmPkg can hopefully be removed and replaced with something<br>
> that is more appropriate.<br>
><br>
><br>
> >  ArmPkg/ArmPkg.dec                             | 15 ++++++--------<br>
> >  ArmVirtPkg/ArmVirtPkg.dec                     |  3 ---<br>
> >  EmbeddedPkg/EmbeddedPkg.dec                   |  1 +<br>
> >  MdePkg/MdePkg.dec                             | 12 +++++++++++<br>
> >  ArmVirtPkg/ArmVirtCloudHv.dsc                 | 18 ++++++++---------<br>
> >  ArmVirtPkg/ArmVirtKvmTool.dsc                 | 18 ++++++++---------<br>
> >  ArmVirtPkg/ArmVirtQemu.dsc                    | 20 +++++++++----------<br>
> >  ArmVirtPkg/ArmVirtQemuKernel.dsc              | 20 +++++++++----------<br>
> >  ArmVirtPkg/ArmVirtXen.dsc                     |  2 +-<br>
> >  EmbeddedPkg/EmbeddedPkg.dsc                   |  1 +<br>
> >  ArmVirtPkg/ArmVirtCloudHv.fdf                 |  6 +++---<br>
> >  ArmVirtPkg/ArmVirtKvmTool.fdf                 |  6 +++---<br>
> >  ArmVirtPkg/ArmVirtXen.fdf                     |  2 +-<br>
> >  ArmVirtPkg/ArmVirtQemuFvMain.fdf.inc          |  6 +++---<br>
> >  .../ArmPciCpuIo2Dxe/ArmPciCpuIo2Dxe.inf       |  2 +-<br>
> >  .../ArmVirtGicArchLib/ArmVirtGicArchLib.inf   |  1 +<br>
> >  .../ArmVirtPL031FdtClientLib.inf              |  1 +<br>
> >  .../ArmVirtPsciResetSystemLib.inf             |  1 +<br>
> >  .../ArmVirtTimerFdtClientLib.inf              |  1 +<br>
> >  .../KvmtoolRtcFdtClientLib.inf                |  1 +<br>
> >  .../NorFlashKvmtoolLib/NorFlashKvmtoolLib.inf |  1 +<br>
> >  .../NorFlashQemuLib/NorFlashQemuLib.inf       |  1 +<br>
> >  .../XenAcpiPlatformDxe/XenAcpiPlatformDxe.inf |  1 +<br>
> >  ArmVirtPkg/XenioFdtDxe/XenioFdtDxe.inf        |  1 +<br>
> >  .../Drivers}/FdtClientDxe/FdtClientDxe.inf    |  1 -<br>
> >  .../FdtPciHostBridgeLib.inf                   | 11 +++++-----<br>
> >  .../FdtPciPcdProducerLib.inf                  |  5 ++---<br>
> >  .../Fdt}/HighMemDxe/HighMemDxe.inf            |  7 ++++---<br>
> >  .../Fdt}/VirtioFdtDxe/VirtioFdtDxe.inf        |  2 +-<br>
> >  .../Library/QemuFwCfgLib/QemuFwCfgLibMmio.inf |  6 +++---<br>
> >  .../Include/Protocol/FdtClient.h              |  0<br>
> >  .../Drivers}/FdtClientDxe/FdtClientDxe.c      |  0<br>
> >  .../FdtPciHostBridgeLib/FdtPciHostBridgeLib.c |  0<br>
> >  .../FdtPciPcdProducerLib.c                    |  0<br>
> >  .../Fdt}/HighMemDxe/HighMemDxe.c              |  3 ++-<br>
> >  .../Fdt}/VirtioFdtDxe/VirtioFdtDxe.c          |  0<br>
> >  .../Library/QemuFwCfgLib/QemuFwCfgLibMmio.c   |  7 ++++---<br>
> >  Maintainers.txt                               |  6 ++++++<br>
> >  38 files changed, 106 insertions(+), 83 deletions(-)<br>
> >  rename {ArmVirtPkg => EmbeddedPkg/Drivers}/FdtClientDxe/FdtClientDxe.inf (92%)<br>
> >  rename {ArmVirtPkg/Library => OvmfPkg/Fdt}/FdtPciHostBridgeLib/FdtPciHostBridgeLib.inf (77%)<br>
> >  rename {ArmVirtPkg/Library => OvmfPkg/Fdt}/FdtPciPcdProducerLib/FdtPciPcdProducerLib.inf (87%)<br>
> >  rename {ArmVirtPkg => OvmfPkg/Fdt}/HighMemDxe/HighMemDxe.inf (83%)<br>
> >  rename {ArmVirtPkg => OvmfPkg/Fdt}/VirtioFdtDxe/VirtioFdtDxe.inf (92%)<br>
> >  rename ArmVirtPkg/Library/QemuFwCfgLib/QemuFwCfgLib.inf => OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgLibMmio.inf (86%)<br>
> >  rename {ArmVirtPkg => EmbeddedPkg}/Include/Protocol/FdtClient.h (100%)<br>
> >  rename {ArmVirtPkg => EmbeddedPkg/Drivers}/FdtClientDxe/FdtClientDxe.c (100%)<br>
> >  rename {ArmVirtPkg/Library => OvmfPkg/Fdt}/FdtPciHostBridgeLib/FdtPciHostBridgeLib.c (100%)<br>
> >  rename {ArmVirtPkg/Library => OvmfPkg/Fdt}/FdtPciPcdProducerLib/FdtPciPcdProducerLib.c (100%)<br>
> >  rename {ArmVirtPkg => OvmfPkg/Fdt}/HighMemDxe/HighMemDxe.c (95%)<br>
> >  rename {ArmVirtPkg => OvmfPkg/Fdt}/VirtioFdtDxe/VirtioFdtDxe.c (100%)<br>
> >  rename ArmVirtPkg/Library/QemuFwCfgLib/QemuFwCfgLib.c => OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgLibMmio.c (93%)<br>
> ><br>
> > --<br>
> > 2.17.1<br>
> ><br>
> ><br>
> ><br>
> ><br>
> ><br>
> ><br>
>
</div>
</span></font></div>
</body>
</html>


 <div width="1" style="color:white;clear:both">_._,_._,_</div> <hr>   Groups.io Links:<p>   You receive all messages sent to this group.    <p> <a target="_blank" href="https://edk2.groups.io/g/devel/message/82025">View/Reply Online (#82025)</a> |    |  <a target="_blank" href="https://groups.io/mt/86255081/1813853">Mute This Topic</a>  | <a href="https://edk2.groups.io/g/devel/post">New Topic</a><br>    <a href="https://edk2.groups.io/g/devel/editsub/1813853">Your Subscription</a> | <a href="mailto:devel+owner@edk2.groups.io">Contact Group Owner</a> |  <a href="https://edk2.groups.io/g/devel/unsub">Unsubscribe</a>  [edk2-devel-archive@redhat.com]<br> <div width="1" style="color:white;clear:both">_._,_._,_</div>