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.web09.7437.1633343261633053352 for ; Mon, 04 Oct 2021 03:27:48 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@hpe.com header.s=pps0720 header.b=eDhBPzfD; 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 (m0134422.ppops.net [127.0.0.1]) by mx0b-002e3701.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 1948Ah8Z012671; Mon, 4 Oct 2021 10:27:41 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=KyeefQJcnVGrs5Z8T2BpWHEhP7kLIrVqvzaHJsWeEt4=; b=eDhBPzfDXH/XeLX2LI+F0EihLGb49l1CN2hkBg0+q3QNil3kidG7DWaP1w11NE2Sy5Vj Cu1D4Sq+4piepP1EtWRtcY4WlL9x2pjxlPZ2PxM1KDF1QdTJYD0oVn9t7YxYMK1Cj/4S Y3So0GkC1OWpOIMmgodUKK+y8hyydq0Z5lhWgUhLepGfl8SlKSmy3YcAFLZ9HxpTA5l3 a/cwRYnchuHvYIQlEn9O04iYHAzHPFnjc49jR4rzcPN27K+FxJNcWpSLaZkN24RTbzXt DXszq+RztLTD8wLDDtrOY82A7R1LxllekGiE2QimHinRWX3FG7R7r0+o0MLzea4jq2J6 Fg== Received: from g2t2353.austin.hpe.com (g2t2353.austin.hpe.com [15.233.44.26]) by mx0b-002e3701.pphosted.com with ESMTP id 3bfwvg90uf-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 04 Oct 2021 10:27:40 +0000 Received: from g2t2360.austin.hpecorp.net (g2t2360.austin.hpecorp.net [16.196.225.135]) by g2t2353.austin.hpe.com (Postfix) with ESMTP id DC6E465; Mon, 4 Oct 2021 10:27:39 +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 A0ECF39; Mon, 4 Oct 2021 10:27:38 +0000 (UTC) From: "Abner Chang" To: devel@edk2.groups.io Cc: Leif Lindholm , Ard Biesheuvel , Wenyi Xie , Daniel Schaefer Subject: [edk2-platforms][PATCH 02/15] Platform/Hisilicon: Use PcdPciIoTranslation PCD from MdePkg Date: Mon, 4 Oct 2021 17:29:48 +0800 Message-Id: <20211004093001.4576-3-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-ORIG-GUID: nUZTgBkf53-J9He4O23ZnHNNKNrfTaOX X-Proofpoint-GUID: nUZTgBkf53-J9He4O23ZnHNNKNrfTaOX 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 malwarescore=0 phishscore=0 clxscore=1015 impostorscore=0 spamscore=0 adultscore=0 priorityscore=1501 lowpriorityscore=0 mlxlogscore=734 bulkscore=0 mlxscore=0 suspectscore=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: Leif Lindholm Cc: Ard Biesheuvel Cc: Wenyi Xie Cc: Daniel Schaefer --- Platform/Hisilicon/D03/D03.dsc | 2 +- Platform/Hisilicon/D05/D05.dsc | 2 +- Platform/Hisilicon/D06/D06.dsc | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Platform/Hisilicon/D03/D03.dsc b/Platform/Hisilicon/D03/D03.dsc index c3858aa0b1..0c17815d71 100644 --- a/Platform/Hisilicon/D03/D03.dsc +++ b/Platform/Hisilicon/D03/D03.dsc @@ -124,7 +124,7 @@ [PcdsFixedAtBuild.common] gArmPlatformTokenSpaceGuid.PcdCoreCount|8 - gArmTokenSpaceGuid.PcdPciIoTranslation|0 + gEfiMdePkgTokenSpaceGuid.PcdPciIoTranslation|0 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000 diff --git a/Platform/Hisilicon/D05/D05.dsc b/Platform/Hisilicon/D05/D05.dsc index 0d27bbffce..e01f6e335f 100644 --- a/Platform/Hisilicon/D05/D05.dsc +++ b/Platform/Hisilicon/D05/D05.dsc @@ -127,7 +127,7 @@ [PcdsFixedAtBuild.common] gArmPlatformTokenSpaceGuid.PcdCoreCount|8 - gArmTokenSpaceGuid.PcdPciIoTranslation|0 + gEfiMdePkgTokenSpaceGuid.PcdPciIoTranslation|0 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000 diff --git a/Platform/Hisilicon/D06/D06.dsc b/Platform/Hisilicon/D06/D06.dsc index fecc3cfb1b..2c5afa5b0e 100644 --- a/Platform/Hisilicon/D06/D06.dsc +++ b/Platform/Hisilicon/D06/D06.dsc @@ -223,7 +223,7 @@ gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiExposedTableVersions|0x20 gEfiMdeModulePkgTokenSpaceGuid.PcdSrIovSupport|FALSE - gArmTokenSpaceGuid.PcdPciIoTranslation|0x0 + gEfiMdePkgTokenSpaceGuid.PcdPciIoTranslation|0x0 ################################################################################ # -- 2.17.1