From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0b-002e3701.pphosted.com (mx0b-002e3701.pphosted.com [148.163.143.35]) by mx.groups.io with SMTP id smtpd.web10.7413.1633343263911821668 for ; Mon, 04 Oct 2021 03:27:52 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@hpe.com header.s=pps0720 header.b=OwK/LPkE; spf=temperror, err=temporary DNS error (domain: hpe.com, ip: 148.163.143.35, mailfrom: prvs=0911ffc138=abner.chang@hpe.com) Received: from pps.filterd (m0148664.ppops.net [127.0.0.1]) by mx0b-002e3701.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 194ABROv010672; Mon, 4 Oct 2021 10:27:42 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hpe.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version; s=pps0720; bh=MlzHUVU8snPEUXtHbMltNutbIufzQow2G1Bz0vaUDVg=; b=OwK/LPkE+T5tZZbjctZ+8foNghsqIWtGia7TlkgE5X380WjbG5n7VXh2Yb9OTn62DmoK Iwmjj3P4E6yKEH9u+SwNBZlLb6KXv8oG/7f6JECaGtLG0UoYUJDX1xEKycn8PRTJO7Nk Ocq8hSA3s1mVREKH76WQ1IvBPOulbW9s9ixxdBF0i+hiryZ/X4a65W2IiG3oGLeFmbqB vJ1PHiH8ysAADk6YojNXHiEnzwup19Ock+sLBxIbEhdQO8C7oWmTx6FiGaqPyqKhtDtv caOtd24PWr6pdOXT9NvkHCbkL/3+zhgDoK+EzzX4g0j3G4Flpx4N9iCk3nXsd8CJsBX8 ew== Received: from g2t2352.austin.hpe.com (g2t2352.austin.hpe.com [15.233.44.25]) by mx0b-002e3701.pphosted.com with ESMTP id 3bfehpdan2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 04 Oct 2021 10:27:42 +0000 Received: from g2t2360.austin.hpecorp.net (g2t2360.austin.hpecorp.net [16.196.225.135]) by g2t2352.austin.hpe.com (Postfix) with ESMTP id 8345B63; Mon, 4 Oct 2021 10:27:41 +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 2B36D39; Mon, 4 Oct 2021 10:27:40 +0000 (UTC) From: "Abner Chang" To: devel@edk2.groups.io Cc: Ard Biesheuvel , Leif Lindholm , Graeme Gregory , Radoslaw Biernacki , Daniel Schaefer Subject: [edk2-platforms][PATCH 03/15] Platform/SbsaQemu: Use PcdPciIoTranslation PCD from MdePkg Date: Mon, 4 Oct 2021 17:29:49 +0800 Message-Id: <20211004093001.4576-4-abner.chang@hpe.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20211004093001.4576-1-abner.chang@hpe.com> References: <20211004093001.4576-1-abner.chang@hpe.com> X-Proofpoint-GUID: HAZ-37fdqvqvuauKsxNz4CgkXrAV7NK_ X-Proofpoint-ORIG-GUID: HAZ-37fdqvqvuauKsxNz4CgkXrAV7NK_ 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 phishscore=0 adultscore=0 bulkscore=0 lowpriorityscore=0 suspectscore=0 malwarescore=0 priorityscore=1501 mlxscore=0 mlxlogscore=582 clxscore=1015 impostorscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2109230001 definitions=main-2110040071 Complaint with BZ: #3665 https://bugzilla.tianocore.org/show_bug.cgi?id=3665 PcdPciIoTranslation 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: Leif Lindholm Cc: Graeme Gregory Cc: Radoslaw Biernacki Cc: Daniel Schaefer --- Platform/Qemu/SbsaQemu/SbsaQemu.dsc | 2 +- Silicon/Qemu/SbsaQemu/AcpiTables/AcpiTables.inf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Platform/Qemu/SbsaQemu/SbsaQemu.dsc b/Platform/Qemu/SbsaQemu/SbsaQemu.dsc index 063a45b3ce..d404e08a67 100644 --- a/Platform/Qemu/SbsaQemu/SbsaQemu.dsc +++ b/Platform/Qemu/SbsaQemu/SbsaQemu.dsc @@ -486,7 +486,7 @@ DEFINE NETWORK_HTTP_BOOT_ENABLE = FALSE gArmVirtSbsaQemuPlatformTokenSpaceGuid.PcdPciExpressBarSize|0x10000000 gArmVirtSbsaQemuPlatformTokenSpaceGuid.PcdPciExpressBarLimit|0xFFFFFFFF - gArmTokenSpaceGuid.PcdPciIoTranslation|0x7fff0000 + gEfiMdePkgTokenSpaceGuid.PcdPciIoTranslation|0x7fff0000 gArmTokenSpaceGuid.PcdPciMmio32Translation|0x0 gArmTokenSpaceGuid.PcdPciMmio64Translation|0x0 ## If TRUE, OvmfPkg/AcpiPlatformDxe will not wait for PCI diff --git a/Silicon/Qemu/SbsaQemu/AcpiTables/AcpiTables.inf b/Silicon/Qemu/SbsaQemu/AcpiTables/AcpiTables.inf index 9be34488eb..0ad9cc7ce4 100644 --- a/Silicon/Qemu/SbsaQemu/AcpiTables/AcpiTables.inf +++ b/Silicon/Qemu/SbsaQemu/AcpiTables/AcpiTables.inf @@ -51,7 +51,7 @@ gArmTokenSpaceGuid.PcdPciIoBase gArmTokenSpaceGuid.PcdPciIoSize - gArmTokenSpaceGuid.PcdPciIoTranslation + gEfiMdePkgTokenSpaceGuid.PcdPciIoTranslation gArmVirtSbsaQemuPlatformTokenSpaceGuid.PcdPciIoLimit gArmTokenSpaceGuid.PcdPciMmio32Base -- 2.17.1