From nobody Mon Feb 9 09:43:24 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+81422+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+81422+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=hpe.com ARC-Seal: i=1; a=rsa-sha256; t=1633343271; cv=none; d=zohomail.com; s=zohoarc; b=Gn95aYidgXxKNxJ+QIwP9QQKdvLL4djCThYPI5E7ejn/e969bvdr8u9lTcq6ZiLDNa7Bk2npQ9SoSrYzh3LJ1EnF20Qh3b4F3PiQdk0VizCaTqzbT1VvFWHG60leGVPsmHfcJIfUGqpryHv7s/VC3U//HgsYX2wkwRLsMSlRUH8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1633343271; h=Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=w/GMN5zhnnBkcnP0nelLfH/kUkHGujyhPWB211JmAwo=; b=lSNIjqa9XQWcfHaRjcin1GHyLTIvTF3W63ocnbbRZ7I74oqxTCzSslEiLO3aYqvhMWVt/5iPEyZwysbPYL/6deCsH4bh2/CwSQo2mFm3bScDWxrf55enuxWSMrbwwILQJuSzymWULAUYPg9E79kKJiZ6jC887CuQAxhiVUaPPu8= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+81422+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 163334327183013.63053301894081; Mon, 4 Oct 2021 03:27:51 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id lSMkYY1788612xKdi11CBJTG; Mon, 04 Oct 2021 03:27:51 -0700 X-Received: from mx0b-002e3701.pphosted.com (mx0b-002e3701.pphosted.com [148.163.143.35]) by mx.groups.io with SMTP id smtpd.web12.7468.1633343270110277068 for ; Mon, 04 Oct 2021 03:27:50 -0700 X-Received: from pps.filterd (m0134423.ppops.net [127.0.0.1]) by mx0b-002e3701.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 194625eA003039; Mon, 4 Oct 2021 10:27:49 GMT X-Received: from g2t2354.austin.hpe.com (g2t2354.austin.hpe.com [15.233.44.27]) by mx0b-002e3701.pphosted.com with ESMTP id 3bfhj0cgvm-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 04 Oct 2021 10:27:49 +0000 X-Received: from g2t2360.austin.hpecorp.net (g2t2360.austin.hpecorp.net [16.196.225.135]) by g2t2354.austin.hpe.com (Postfix) with ESMTP id DA01E83; Mon, 4 Oct 2021 10:27:48 +0000 (UTC) X-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 804F039; Mon, 4 Oct 2021 10:27:47 +0000 (UTC) From: "Abner Chang" To: devel@edk2.groups.io Cc: Leif Lindholm , Peng Xie , Ling Jia , Yiqi Shu , Daniel Schaefer Subject: [edk2-devel] [edk2-platforms][PATCH 08/15] Platform/Phytium: Use PcdPciIoTranslation PCD from MdePkg Date: Mon, 4 Oct 2021 17:29:54 +0800 Message-Id: <20211004093001.4576-9-abner.chang@hpe.com> In-Reply-To: <20211004093001.4576-1-abner.chang@hpe.com> References: <20211004093001.4576-1-abner.chang@hpe.com> X-Proofpoint-ORIG-GUID: VwQifd3HiOtlxncHG1Mma7Vl8YCR2Aay X-Proofpoint-GUID: VwQifd3HiOtlxncHG1Mma7Vl8YCR2Aay X-Proofpoint-UnRewURL: 0 URL was un-rewritten MIME-Version: 1.0 X-HPE-SCL: -1 Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,abner.chang@hpe.com X-Gm-Message-State: 9igLyL3eTOKpoU2xFimh3S4Fx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1633343271; bh=pS7hXC4mAucwF4ayfz58o3V/GXKbFuZe1WGM2PlkpGw=; h=Cc:Date:From:Reply-To:Subject:To; b=UkBpSlQ1fyykSN5UPmNJjJ3TttTM9+cypAYs6/bvY3YPVfVAt2L512kckq2LTvvXhOB aPsTXZZpUsti6gefnuJGbGR87dkET0uBtw3Y3Y4+f76yWyDQf+D+Kx3j/ypq4klAVDm5O gkm9YTczUkbzbRMVTxYNY2BkY53+QNWwLIQ= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1633343272996100015 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Complaint with BZ: #3665 https://bugzilla.tianocore.org/show_bug.cgi?id=3D3665 PcdPciIoTranslation PCD is relocated to MdePkg that leveraged by both ARM and RISC-V arch. This patch uses the one from MdePkg instead the o= ne under ArmVirtPkg. Signed-off-by: Abner Chang Cc: Leif Lindholm Cc: Peng Xie Cc: Ling Jia Cc: Yiqi Shu Cc: Daniel Schaefer --- Platform/Phytium/DurianPkg/DurianPkg.dsc | 2 +- Silicon/Phytium/FT2000-4Pkg/Library/PlatformLib/PlatformLib.inf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Platform/Phytium/DurianPkg/DurianPkg.dsc b/Platform/Phytium/Du= rianPkg/DurianPkg.dsc index 56ed7fffc5..7df7e0f1d5 100644 --- a/Platform/Phytium/DurianPkg/DurianPkg.dsc +++ b/Platform/Phytium/DurianPkg/DurianPkg.dsc @@ -111,7 +111,7 @@ gArmTokenSpaceGuid.PcdPciBusMax|255 gArmTokenSpaceGuid.PcdPciIoBase|0x00000 gArmTokenSpaceGuid.PcdPciIoSize|0xf00000 - gArmTokenSpaceGuid.PcdPciIoTranslation|0x50000000 + gEfiMdePkgTokenSpaceGuid.PcdPciIoTranslation|0x50000000 gArmTokenSpaceGuid.PcdPciMmio32Base|0x58000000 gArmTokenSpaceGuid.PcdPciMmio32Size|0x28000000 gArmTokenSpaceGuid.PcdPciMmio32Translation|0x0 diff --git a/Silicon/Phytium/FT2000-4Pkg/Library/PlatformLib/PlatformLib.in= f b/Silicon/Phytium/FT2000-4Pkg/Library/PlatformLib/PlatformLib.inf index 40c070767a..6d5951c62d 100644 --- a/Silicon/Phytium/FT2000-4Pkg/Library/PlatformLib/PlatformLib.inf +++ b/Silicon/Phytium/FT2000-4Pkg/Library/PlatformLib/PlatformLib.inf @@ -44,7 +44,7 @@ gArmTokenSpaceGuid.PcdPciBusMax gArmTokenSpaceGuid.PcdPciIoBase gArmTokenSpaceGuid.PcdPciIoSize - gArmTokenSpaceGuid.PcdPciIoTranslation + gEfiMdePkgTokenSpaceGuid.PcdPciIoTranslation gArmTokenSpaceGuid.PcdPciMmio32Base gArmTokenSpaceGuid.PcdPciMmio32Size gArmTokenSpaceGuid.PcdPciMmio32Translation --=20 2.17.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#81422): https://edk2.groups.io/g/devel/message/81422 Mute This Topic: https://groups.io/mt/86062948/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-