From nobody Mon Feb 9 16:19:31 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+82101+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+82101+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=hpe.com ARC-Seal: i=1; a=rsa-sha256; t=1634284703; cv=none; d=zohomail.com; s=zohoarc; b=J3jjGWd3XTkVWMcfIsxgy0LBzP9Fdu1wOPXFkPYA+rppC+lFcXPTSZ5ixIFAUtbh5rguqcvDzCi+KbhZnpNCJ9sWykhFS2rTWHx/ONS1apgddiwPSWwXpPgMuOcnPRqOO0yWQM17eTeuemRP7Xd+fQ7cC7uZB6fnXhqhfCScKSA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1634284703; 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=XUnQK/1bUk9QKD7X0hViTA2ZoyYhb7ypXGG1FAr1PaY=; b=SzSKbYUAReRVYNbV9uu2lmC2GeUhty86VF7eamzn3/gJksRyh2gKbFzbVEzwFj3ssZpsBPLRR01MmW2a5L2TlPIH0nDTrrZMJk9E4b405d4g6OzE38gTq1G3ihWWsIxTwDA6/jejnGG91a8UjQqMYp+kF+FrNnAJzpbmjJMEqoo= 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+82101+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 1634284703642880.5331066557254; Fri, 15 Oct 2021 00:58:23 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id YevSYY1788612xcQ5YDi55xq; Fri, 15 Oct 2021 00:58:23 -0700 X-Received: from mx0a-002e3701.pphosted.com (mx0a-002e3701.pphosted.com [148.163.147.86]) by mx.groups.io with SMTP id smtpd.web12.6452.1634284698927222614 for ; Fri, 15 Oct 2021 00:58:21 -0700 X-Received: from pps.filterd (m0134421.ppops.net [127.0.0.1]) by mx0b-002e3701.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 19F4g1xw015904; Fri, 15 Oct 2021 07:58:16 GMT X-Received: from g2t2352.austin.hpe.com (g2t2352.austin.hpe.com [15.233.44.25]) by mx0b-002e3701.pphosted.com with ESMTP id 3bptrjvbrt-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 15 Oct 2021 07:58:15 +0000 X-Received: from g2t2360.austin.hpecorp.net (g2t2360.austin.hpecorp.net [16.196.225.135]) by g2t2352.austin.hpe.com (Postfix) with ESMTP id 2559663; Fri, 15 Oct 2021 07:58:15 +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 E9E1D3A; Fri, 15 Oct 2021 07:58:13 +0000 (UTC) From: "Abner Chang" To: devel@edk2.groups.io Cc: Ard Biesheuvel , Thomas Abraham , Sami Mujawar , Daniel Schaefer Subject: [edk2-devel] [edk2-platforms][PATCH 5/9] Platform/ARM: Use PcdPciMmio(32)64Translation PCD from MdePkg Date: Fri, 15 Oct 2021 15:00:04 +0800 Message-Id: <20211015070008.28192-6-abner.chang@hpe.com> In-Reply-To: <20211015070008.28192-1-abner.chang@hpe.com> References: <20211015070008.28192-1-abner.chang@hpe.com> X-Proofpoint-GUID: ekwPQLbRKjbd5_21Hvq_1A8jUAxR9HZf X-Proofpoint-ORIG-GUID: ekwPQLbRKjbd5_21Hvq_1A8jUAxR9HZf 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: hjwMhwBfu34hpC9bGuOnuaSnx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1634284703; bh=ZkbxBRrjrBQRA+bm6B57AI8fCFAeucH462WKLnjHdLQ=; h=Cc:Date:From:Reply-To:Subject:To; b=IvYUmvL6eM2f62ylYtK0Gm86HM0MfM0sRUvxP4uqjl9OIj9asleg6IILZmiInIz9EHq KI/vv1JGs//UbxCtzRBcKkktEYAa52HgZY3b2b1W3jTkpnWxRQGja+Ale2RXOQ411+FsH 370r6EmNN9p00W7OFb+DA5XNJcoXyP48QMA= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1634285606463100003 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Compliant with BZ: #3665 https://bugzilla.tianocore.org/show_bug.cgi?id=3D3665 PcdPciMmio(32)64Translation PCD is relocated to MdePkg that leveraged by both ARM and RISC-V arch. This patch uses the one from MdePkg instead the one under ArmVirtPkg. Signed-off-by: Abner Chang Cc: Ard Biesheuvel Cc: Thomas Abraham Cc: Sami Mujawar Cc: Daniel Schaefer --- Platform/ARM/SgiPkg/SgiPlatform.dsc.inc | 4 ++-- .../Library/JunoPciHostBridgeLib/JunoPciHostBridgeLib.inf | 4 ++-- .../ARM/SgiPkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Platform/ARM/SgiPkg/SgiPlatform.dsc.inc b/Platform/ARM/SgiPkg/= SgiPlatform.dsc.inc index 6679939d3b..4fe3ccf9a5 100644 --- a/Platform/ARM/SgiPkg/SgiPlatform.dsc.inc +++ b/Platform/ARM/SgiPkg/SgiPlatform.dsc.inc @@ -152,8 +152,8 @@ gArmTokenSpaceGuid.PcdPciIoBase|0x0 gArmTokenSpaceGuid.PcdPciIoSize|0x00800000 gEfiMdePkgTokenSpaceGuid.PcdPciIoTranslation|0x77800000 - gArmTokenSpaceGuid.PcdPciMmio32Translation|0x0 - gArmTokenSpaceGuid.PcdPciMmio64Translation|0x0 + gEfiMdePkgTokenSpaceGuid.PcdPciMmio32Translation|0x0 + gEfiMdePkgTokenSpaceGuid.PcdPciMmio64Translation|0x0 gEmbeddedTokenSpaceGuid.PcdPrePiCpuIoSize|24 =20 ## PL011 - Serial Terminal diff --git a/Platform/ARM/JunoPkg/Library/JunoPciHostBridgeLib/JunoPciHostB= ridgeLib.inf b/Platform/ARM/JunoPkg/Library/JunoPciHostBridgeLib/JunoPciHos= tBridgeLib.inf index fb513d7b3d..f448803fda 100644 --- a/Platform/ARM/JunoPkg/Library/JunoPciHostBridgeLib/JunoPciHostBridgeLi= b.inf +++ b/Platform/ARM/JunoPkg/Library/JunoPciHostBridgeLib/JunoPciHostBridgeLi= b.inf @@ -55,10 +55,10 @@ gEfiMdePkgTokenSpaceGuid.PcdPciIoTranslation gArmTokenSpaceGuid.PcdPciMmio32Base gArmTokenSpaceGuid.PcdPciMmio32Size - gArmTokenSpaceGuid.PcdPciMmio32Translation + gEfiMdePkgTokenSpaceGuid.PcdPciMmio32Translation gArmTokenSpaceGuid.PcdPciMmio64Base gArmTokenSpaceGuid.PcdPciMmio64Size - gArmTokenSpaceGuid.PcdPciMmio64Translation + gEfiMdePkgTokenSpaceGuid.PcdPciMmio64Translation =20 gArmJunoTokenSpaceGuid.PcdPcieControlBaseAddress gArmJunoTokenSpaceGuid.PcdPcieRootPortBaseAddress diff --git a/Platform/ARM/SgiPkg/Library/PciHostBridgeLib/PciHostBridgeLib.= inf b/Platform/ARM/SgiPkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf index a9fdd874d0..0f53d67bc0 100644 --- a/Platform/ARM/SgiPkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf +++ b/Platform/ARM/SgiPkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf @@ -46,7 +46,7 @@ gArmTokenSpaceGuid.PcdPciIoSize gArmTokenSpaceGuid.PcdPciMmio32Base gArmTokenSpaceGuid.PcdPciMmio32Size - gArmTokenSpaceGuid.PcdPciMmio32Translation + gEfiMdePkgTokenSpaceGuid.PcdPciMmio32Translation gArmTokenSpaceGuid.PcdPciMmio64Base gArmTokenSpaceGuid.PcdPciMmio64Size =20 --=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 (#82101): https://edk2.groups.io/g/devel/message/82101 Mute This Topic: https://groups.io/mt/86334104/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-