From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from mx0a-002e3701.pphosted.com (mx0a-002e3701.pphosted.com [148.163.147.86])
 by mx.groups.io with SMTP id smtpd.web12.7467.1633343265297141567
 for <devel@edk2.groups.io>;
 Mon, 04 Oct 2021 03:27:48 -0700
Authentication-Results: mx.groups.io;
 dkim=pass header.i=@hpe.com header.s=pps0720 header.b=jd0lERJt;
 spf=temperror, err=temporary DNS error (domain: hpe.com, ip: 148.163.147.86, mailfrom: prvs=0911ffc138=abner.chang@hpe.com)
Received: from pps.filterd (m0134420.ppops.net [127.0.0.1])
	by mx0b-002e3701.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 194A1xLI030163;
	Mon, 4 Oct 2021 10:27:38 GMT
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hpe.com; h=from : to : cc : subject
 : date : message-id : mime-version; s=pps0720;
 bh=f7Do7MqOMf9fMj8qjhPuCOkfAtULKuZsLjb7gY1ksoY=;
 b=jd0lERJtzuNZCzZBc/BX9QQ1HRIdWNmvde5qBVyt8t4yG8OvlsK1z9PCV02x1hLhKs9b
 BEw1KgIWNbokCNUFc8c6hFmDH0hQdkXXxu3nZMUWxzampOjJCk5jGx9PT4zlyHHKGTAn
 jMPWIKTdEm9p90961CP+03wPpMP3tM80CxLc7n0Lk/+tPqjLXFX64I23NRDlMM7zctuh
 YHGfhORTxtuVYf5Qhg6zYDlSVc8y1gL16ZYL7xBdGDZs2AUXvinCuBebOMMw8qSBS5Gz
 PgL5szL8P7PCNhCnige6psq3vm7RtzqjzeQFtjrzphr1WJPnEO9dtx0DbGc/YrA71bTe kA== 
Received: from g2t2354.austin.hpe.com (g2t2354.austin.hpe.com [15.233.44.27])
	by mx0b-002e3701.pphosted.com with ESMTP id 3bfeunw16x-1
	(version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT);
	Mon, 04 Oct 2021 10:27:38 +0000
Received: from g2t2360.austin.hpecorp.net (g2t2360.austin.hpecorp.net [16.196.225.135])
	by g2t2354.austin.hpe.com (Postfix) with ESMTP id EE09783;
	Mon,  4 Oct 2021 10:27:36 +0000 (UTC)
Received: from abner-virtual-machine.asiapacific.hpqcorp.net (abner-virtual-machine.asiapacific.hpqcorp.net [15.119.210.153])
	by g2t2360.austin.hpecorp.net (Postfix) with ESMTP id 61A1F3D;
	Mon,  4 Oct 2021 10:27:32 +0000 (UTC)
From: "Abner Chang" <abner.chang@hpe.com>
To: devel@edk2.groups.io
Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>,
        Leif Lindholm <leif@nuviainc.com>,
        Daniel Schaefer <daniel.schaefer@hpe.com>,
        Peng Xie <xiepeng@phytium.com.cn>, Ling Jia <jialing@phytium.com.cn>,
        Yiqi Shu <shuyiqi@phytium.com.cn>,
        Thomas Abraham <thomas.abraham@arm.com>,
        Sami Mujawar <sami.mujawar@arm.com>,
        Graeme Gregory <graeme@nuviainc.com>,
        Radoslaw Biernacki <rad@semihalf.com>,
        Wenyi Xie <xiewenyi2@huawei.com>
Subject: [edk2-platforms][PATCH 00/15] Changes to compliant with BZ:#3665
Date: Mon,  4 Oct 2021 17:29:46 +0800
Message-Id: <20211004093001.4576-1-abner.chang@hpe.com>
X-Mailer: git-send-email 2.17.1
X-Proofpoint-ORIG-GUID: mLr1L8D2zpbpi9o0tMED1rK9q8ukiktc
X-Proofpoint-GUID: mLr1L8D2zpbpi9o0tMED1rK9q8ukiktc
X-Proofpoint-UnRewURL: 0 URL was un-rewritten
MIME-Version: 1.0
X-HPE-SCL: -1
X-Proofpoint-Virus-Version: vendor=baseguard
 engine=ICAP:2.0.182.1,Aquarius:18.0.790,Hydra:6.0.391,FMLib:17.0.607.475
 definitions=2021-10-04_02,2021-10-04_01,2020-04-07_01
X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 clxscore=1011
 malwarescore=0 lowpriorityscore=0 phishscore=0 priorityscore=1501
 impostorscore=0 bulkscore=0 mlxlogscore=416 adultscore=0 mlxscore=0
 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1
 engine=8.12.0-2109230001 definitions=main-2110040071

https://bugzilla.tianocore.org/show_bug.cgi?id=3665
BZ:#3665 is to migrate some modules from ArmVirtPkg
to under OvmfPkg for the upcoming RiscVVirtPkg that can leverage
those modules without the dependency with Arm*Pkg.
Refer to below message of the pacthes of edk2 portion.
https://edk2.groups.io/g/devel/message/81306

This edk2-platforms patch set is the corresponding platform DSC/FDF/INF
changes to compliant with BZ:#3665.
We will merge this patch set when the time the changes of edk2 are merged
once this patch set is reviewed.

FYI,
The modules moved from ArmVirtPkg to OvmfPkg are:
- FdtClientDxe
- PciPcdProducerLib
- HighMemDxe
- QemuFwCfgLib
- FdtPciHostBridgeLib
- VirtioFdtDxe

Below PCDs are moved to under MdePkg and leverage by RiscVVirtPkg.
This change also remove the dependency on ArmPkg of OvmfPkg.
- PcdPciIoTranslation
- PcdPciIoTranslation

Signed-off-by: Abner Chang <abner.chang@hpe.com>
Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>
Cc: Leif Lindholm <leif@nuviainc.com>
Cc: Daniel Schaefer <daniel.schaefer@hpe.com>
Cc: Peng Xie <xiepeng@phytium.com.cn>
Cc: Ling Jia <jialing@phytium.com.cn>
Cc: Yiqi Shu <shuyiqi@phytium.com.cn>
Cc: Thomas Abraham <thomas.abraham@arm.com>
Cc: Sami Mujawar <sami.mujawar@arm.com>
Cc: Graeme Gregory <graeme@nuviainc.com>
Cc: Radoslaw Biernacki <rad@semihalf.com>
Cc: Wenyi Xie <xiewenyi2@huawei.com>

Abner Chang (15):
  Platform/Comcast: Use FdtClientDxe from EmbeddedPkg
  Platform/Hisilicon: Use PcdPciIoTranslation PCD from MdePkg
  Platform/SbsaQemu: Use PcdPciIoTranslation PCD from MdePkg
  Platform/AMD: Use PcdPciIoTranslation PCD from MdePkg
  Platform/ARM: Use PcdPciIoTranslation PCD from MdePkg
  Platform/Comcast: Use PcdPciIoTranslation PCD from MdePkg
  Platform/LeMaker: Use PcdPciIoTranslation PCD from MdePkg
  Platform/Phytium: Use PcdPciIoTranslation PCD from MdePkg
  Platform/SoftIron: Use PcdPciIoTranslation PCD from MdePkg
  Platform/Socionext: Use PcdPciIoTranslation PCD from MdePkg
  Platform/Comcast: Use PciPcdProducerLib in OvmfPkg.
  Platform/Comcast: Use HighMemDxe provided by OvmfPkg
  Platform/Comcast: Use QemuFwCfgMmio provided by OvmfPkg
  Platform/Comcast: Use FdtPciHostBridgeLib provided by OvmfPkg.
  Platform/Comcast: Use VirtioFdtDxe provided by OvmfPkg.

 Platform/ARM/SgiPkg/SgiPlatform.dsc.inc       |  3 ++-
 .../AMD/OverdriveBoard/OverdriveBoard.dsc     |  2 +-
 Platform/ARM/JunoPkg/ArmJuno.dsc              |  3 ++-
 Platform/Comcast/RDKQemu/RDKQemu.dsc          | 20 +++++++++----------
 Platform/Hisilicon/D03/D03.dsc                |  2 +-
 Platform/Hisilicon/D05/D05.dsc                |  2 +-
 Platform/Hisilicon/D06/D06.dsc                |  2 +-
 Platform/LeMaker/CelloBoard/CelloBoard.dsc    |  2 +-
 Platform/Phytium/DurianPkg/DurianPkg.dsc      |  2 +-
 Platform/Qemu/SbsaQemu/SbsaQemu.dsc           |  2 +-
 .../Overdrive1000Board/Overdrive1000Board.dsc |  2 +-
 .../JunoPciHostBridgeLib.inf                  |  3 ++-
 .../Library/PlatformLib/PlatformLib.inf       |  2 +-
 .../Qemu/SbsaQemu/AcpiTables/AcpiTables.inf   |  2 +-
 .../SynQuacerPciHostBridgeLib.inf             |  2 +-
 15 files changed, 27 insertions(+), 24 deletions(-)

-- 
2.17.1