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.web10.5300.1635985254277861131 for ; Wed, 03 Nov 2021 17:21:10 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@hpe.com header.s=pps0720 header.b=A7iB9xD/; spf=temperror, err=temporary DNS error (domain: hpe.com, ip: 148.163.147.86, mailfrom: prvs=0942c6339f=abner.chang@hpe.com) Received: from pps.filterd (m0150242.ppops.net [127.0.0.1]) by mx0a-002e3701.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 1A3H25kD001545; Thu, 4 Nov 2021 00:20:52 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hpe.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : mime-version; s=pps0720; bh=AA9NPtD9r8dRe9pqU/kF0XXQHSwkjFc6z/OHQh5Ix5E=; b=A7iB9xD/ks2PjXGIREvyQT4/6aH5xvpqpsf9xtJnj/2GI98p6sZvyMWRbLdWLA3o2xRP tTF7ahXuZ2AsIQnTssm6COuZPPgRL3/gTUCmPGN9QZLnBwc+uMoMWaDB8FeEL+bsCb5K RF82C9LG24d7re1oXAE2v1afDrWs0yMsanWQ6RDnUJAaWjjDqHt/o2mnjBp986Q2jGeY sjIrQCZMCCD8ZfNa25RC5Ft3+rCXTgvdgwzDxjV1l84GepShyo9kep/fIcvZ/sQcpGmq AwFKJSh5dGMOybMHq4TF5WTp4bJmYefHGh/5a/OSwW+R2Ekmvqkfkk3wRoBAA/MDPclI GA== Received: from g2t2353.austin.hpe.com (g2t2353.austin.hpe.com [15.233.44.26]) by mx0a-002e3701.pphosted.com with ESMTP id 3c3dfm5fjr-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 04 Nov 2021 00:20:51 +0000 Received: from G1W8106.americas.hpqcorp.net (g1w8106.austin.hp.com [16.193.72.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by g2t2353.austin.hpe.com (Postfix) with ESMTPS id 84EEFAA; Thu, 4 Nov 2021 00:20:50 +0000 (UTC) Received: from G9W8672.americas.hpqcorp.net (16.220.49.31) by G1W8106.americas.hpqcorp.net (16.193.72.61) with Microsoft SMTP Server (TLS) id 15.0.1497.23; Thu, 4 Nov 2021 00:20:44 +0000 Received: from G1W8106.americas.hpqcorp.net (16.193.72.61) by G9W8672.americas.hpqcorp.net (16.220.49.31) with Microsoft SMTP Server (TLS) id 15.0.1497.23; Thu, 4 Nov 2021 00:20:22 +0000 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (15.241.52.12) by G1W8106.americas.hpqcorp.net (16.193.72.61) with Microsoft SMTP Server (TLS) id 15.0.1497.23 via Frontend Transport; Thu, 4 Nov 2021 00:20:22 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AmxrHnHEpyzrnmjb16x1r1RDbrR3KtSFscg6PdShR8SMmU0ErDrZQeHFG1igSz1qbto4BGKCosiVqtQ5t5KvMdWVSS6Ks6psEYf61fnb3fbDboUvRqgWFMQIcnpRTg77rOl1kfh0clT5N3t8scErQTdkE+8Ow7FaqKF8pDNxqvc6orKpedW+PCHhSLgFTFReXT3MjuwOKrCtYwkyioWgget0N28iKAAS/GY+fT1UOWu2C8pV0S2XiZF+oRH3cdRgyzkWUvmo7NjJwBO4mKrF4UZwoC+cs3GKZd9XttfoiH+Ks1JD3EQxms6ofyphZC41gsy9kGkt8PkPqX64YjEVfA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=AA9NPtD9r8dRe9pqU/kF0XXQHSwkjFc6z/OHQh5Ix5E=; b=l2WlY717yj1v5RVd3XnUhPYabcuB5KEfrm4Ki5d5kO+CEtcU0vcoee9h+6RBubcikH1FL6V+1mcl3ivqyiI9/Tz4d0QFsiodrWdwomLdMwPNFCeJ46JBLjB3eQW40VBF4q+xVtavEzeG9TR+f7ptiz6/T/GzbfNOivC1XgB9QXrCdKQzSrsb2ZqxXDmubCYcI5tnoHTt29l2po5qGYM4EqF1FSDcf0KhmI7FsIGc5lVnVHBs4AIJgnG+2fgbwQlaVKHZS2PO5om5Cf4Dq2I+A1zdE8A2h/7GUdXvej7i+x01Ntv2vUXfyZjYPawA37rT0Evrud2eM/mMGGJHyNhpkA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=hpe.com; dmarc=pass action=none header.from=hpe.com; dkim=pass header.d=hpe.com; arc=none Received: from CS1PR8401MB1144.NAMPRD84.PROD.OUTLOOK.COM (2a01:111:e400:7508::16) by CS1PR8401MB0855.NAMPRD84.PROD.OUTLOOK.COM (2a01:111:e400:7511::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4649.18; Thu, 4 Nov 2021 00:20:20 +0000 Received: from CS1PR8401MB1144.NAMPRD84.PROD.OUTLOOK.COM ([fe80::85c4:1828:a12:8be7]) by CS1PR8401MB1144.NAMPRD84.PROD.OUTLOOK.COM ([fe80::85c4:1828:a12:8be7%8]) with mapi id 15.20.4649.020; Thu, 4 Nov 2021 00:20:19 +0000 From: "Abner Chang" To: Michael D Kinney , "devel@edk2.groups.io" CC: Maciej Rabeda , Jiaxin Wu , Siyuan Fu , Ard Biesheuvel , "Schaefer, Daniel (ROM Janitor)" Subject: Re: [Patch V2 2/7] NetworkPkg/NetworkPkg.dsc: Add RngLib mapping for ARM and RISCV64 Thread-Topic: [Patch V2 2/7] NetworkPkg/NetworkPkg.dsc: Add RngLib mapping for ARM and RISCV64 Thread-Index: AQHX0QaYhs2P32HVUUWpEjt2Cf1NCavygUwb Date: Thu, 4 Nov 2021 00:20:19 +0000 Message-ID: References: <20211103225954.1680-1-michael.d.kinney@intel.com> <20211103225954.1680-3-michael.d.kinney@intel.com> In-Reply-To: <20211103225954.1680-3-michael.d.kinney@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: suggested_attachment_session_id: 481969c4-e38a-e656-6c2d-1386d430f5d2 authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=hpe.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 55265088-23f6-498b-677e-08d99f28e2a9 x-ms-traffictypediagnostic: CS1PR8401MB0855: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:386; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: F5VyYd/gsCxHpD0YbIJipNYdLTi/KQrB35Zet5iF0VDlD0DwXmI1SjRT2WFfldPc77RUEmPVIV3dV6zBfAk4fvhUcWexjtpSBLsnECagDDo2KtCU/pAt44aQ0GP9nNpHfptcD2P66FhM/Jjn8SxroM9ku0VbDA4AepeHdrgEXJrlmEQBKx7mjfB+NGCPVhIkD05pjVLQdMi0X0UfWYtNPMlwGU6TOX3M72yPMz9DidF1NaXlbMOLwfhkQBQn/ZwGen8nyDxv3r2VO2Oi2d6mkyAG2uv0J3KUWabaXaILX7BBL5zTyqB0uVLAfkEs3Z7QWV3oEr7KyYTICpVcJz9JKLRrHof1P2B2hLKE4rO9hr/lhwSIT7JvfojjFZSEDNXGZcIhNg1SMbnVjH2GTH8iWFJ3pO53T1QIQF80HTXTfdLDpWfHwNc/sMVSEtMjyumbS5IxHukmuhmWqDqaKfGa43RAfdqRExcF9SPJuN2+BWeauqm9jmtER++GHsPHnHUQJ5Ub6BCzAA9fBRYWFgnj7qCjwrpfhSDET9acJAltdB+NGZFKhuatuSwrPRyNSOwZxQ6By5E5MJ8W4F5HYDS6dd1/fs5qSQO3gT6Bev9uiv4Y4CPws8tPMJSfbCIeprxbyBB6DwEgxH8D/NBVG9ZvRO8r2zQVViQ5Mr1aFJbRA3FcVF0DDIZ1ydckdVZEbDaCwi++o4VHde7zD0SMcdCxBQ== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:CS1PR8401MB1144.NAMPRD84.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(366004)(316002)(2906002)(54906003)(110136005)(71200400001)(86362001)(19627405001)(53546011)(7696005)(9686003)(6506007)(55016002)(26005)(38100700002)(122000001)(186003)(33656002)(38070700005)(82960400001)(5660300002)(52536014)(8936002)(4326008)(66946007)(76116006)(91956017)(66476007)(64756008)(66446008)(66556008)(8676002)(508600001);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?BxyzDPvt7AhDcSU0itvvzEFqH9CfpMFsWlFJnoESl7IVAMlloqOOFDvFoaZS?= =?us-ascii?Q?Byoo4kvN0wTIkme5uc7pdL+9dCMgZUpQGxFBZ5W0aEtbLxL7aJFahYM+XPFH?= =?us-ascii?Q?10BRxxKtIEofgCG9bIXcwIekGF3CNCLBWRQMb97Ej4GoppxaOsT5m7XDvyjP?= =?us-ascii?Q?M7hOKI5Y1jZ+edtZnOoydLcWlypnqhoaaLuf6ychX5BgRd02dVL9t69dtyQP?= =?us-ascii?Q?uBNmT2RoYfMhgvRzMP5A0k3WbRAWBgfju4/0JTbuwG13ku6GS4VeVGDOenGM?= =?us-ascii?Q?M8mQa0YHcFDSFB5dhCod2FKLOtcnltUnt3vHPy83MZ4Mgeaolwmp29jZ2Uev?= =?us-ascii?Q?TINJEqxg3+rou5enI3RgbJQvSFss1+n5plBDuuYRSVdQ2mEl2WhS/OdgnSew?= =?us-ascii?Q?xys5cWhbMVFYKEdbC/9DIEUlkoYe5ToD7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p9QIYkArG3ioVWNw410a9L4VQ+iK92fXEduWOqz6iGlaNblJW?= =?us-ascii?Q?jTpVG7+winmM8SxgkvuYwdFhj5MEwOaSzeBiuaAfSBdYVx2I4d7/Kys7Pzed?= =?us-ascii?Q?oT+dfeFkWeWWhfHmx7OBKWlkgzEEPDNDfq34efWZAOW3BfG7usbT6natK40j?= =?us-ascii?Q?pAWEgR0ft4z68//jdwuFtRCQD/nyo/fBl7j5ankF7uWbjp/k6YpUnk2yWMiu?= =?us-ascii?Q?ry4gAYGY2w+wplPhYy2X43S2doCghx1Nqp4ehsEOKTu3Dt0hWH9sPHbj+DWM?= =?us-ascii?Q?PA=3D=3D?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CS1PR8401MB1144.NAMPRD84.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-Network-Message-Id: 55265088-23f6-498b-677e-08d99f28e2a9 X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Nov 2021 00:20:19.7867 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 105b2061-b669-4b31-92ac-24d304d195dc X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 5diHanA0TBBL2UExbhdag4PaR99g3OAw/aD4I0dtLR9VCXTEZHm1wfZYBffAUVzqLeHPf2yH4Ma8Ib+xgSrJ6w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CS1PR8401MB0855 X-OriginatorOrg: hpe.com X-Proofpoint-ORIG-GUID: pK5Qr5GpgIu6E1mR4wBcPY38t0R6fY3p X-Proofpoint-GUID: pK5Qr5GpgIu6E1mR4wBcPY38t0R6fY3p X-HPE-SCL: -1 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.790,Hydra:6.0.425,FMLib:17.0.607.475 definitions=2021-11-03_06,2021-11-03_01,2020-04-07_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 mlxlogscore=999 mlxscore=0 impostorscore=0 malwarescore=0 bulkscore=0 adultscore=0 clxscore=1011 priorityscore=1501 phishscore=0 spamscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2110150000 definitions=main-2111030128 Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_CS1PR8401MB114463413D923C851D954FD4FF8D9CS1PR8401MB1144_" --_000_CS1PR8401MB114463413D923C851D954FD4FF8D9CS1PR8401MB1144_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Abner Chang ________________________________ From: Michael D Kinney Sent: Thursday, November 4, 2021 6:59 AM To: devel@edk2.groups.io Cc: Maciej Rabeda ; Jiaxin Wu ; Siyuan Fu ; Ard Biesheuvel ; Chang, Abner (HPS SW/FW Technologist) ; Sch= aefer, Daniel (ROM Janitor) Subject: [Patch V2 2/7] NetworkPkg/NetworkPkg.dsc: Add RngLib mapping for A= RM and RISCV64 Fix NetworkPkg build breaks for ARM and RISCV64 by adding RngLib mapping. Cc: Maciej Rabeda Cc: Jiaxin Wu Cc: Siyuan Fu Cc: Ard Biesheuvel Cc: Abner Chang Cc: Daniel Schaefer Signed-off-by: Michael D Kinney Reviewed-by: Daniel Schaefer Reviewed-by: Maciej Rabeda --- NetworkPkg/NetworkPkg.dsc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/NetworkPkg/NetworkPkg.dsc b/NetworkPkg/NetworkPkg.dsc index cf2164aefe25..8691a0f5d07a 100644 --- a/NetworkPkg/NetworkPkg.dsc +++ b/NetworkPkg/NetworkPkg.dsc @@ -79,6 +79,12 @@ [LibraryClasses.ARM, LibraryClasses.AARCH64] NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf ArmSoftFloatLib|ArmPkg/Library/ArmSoftFloatLib/ArmSoftFloatLib.inf +[LibraryClasses.ARM] + RngLib|MdePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf + +[LibraryClasses.RISCV64] + RngLib|MdePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf + [PcdsFeatureFlag] gEfiMdePkgTokenSpaceGuid.PcdComponentName2Disable|TRUE gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnostics2Disable|TRUE -- 2.32.0.windows.1 --_000_CS1PR8401MB114463413D923C851D954FD4FF8D9CS1PR8401MB1144_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
Reviewed-by: Abner Chang <abner.chang@hpe.com>

From: Michael D Kinney <= michael.d.kinney@intel.com>
Sent: Thursday, November 4, 2021 6:59 AM
To: devel@edk2.groups.io <devel@edk2.groups.io>
Cc: Maciej Rabeda <maciej.rabeda@linux.intel.com>; Jiaxin Wu &= lt;jiaxin.wu@intel.com>; Siyuan Fu <siyuan.fu@intel.com>; Ard Bies= heuvel <ardb+tianocore@kernel.org>; Chang, Abner (HPS SW/FW Technolog= ist) <abner.chang@hpe.com>; Schaefer, Daniel (ROM Janitor) <daniel.schaefer@hpe.com>
Subject: [Patch V2 2/7] NetworkPkg/NetworkPkg.dsc: Add RngLib mappin= g for ARM and RISCV64
 
Fix NetworkPkg build breaks for ARM and RISCV64 by= adding RngLib
mapping.

Cc: Maciej Rabeda <maciej.rabeda@linux.intel.com>
Cc: Jiaxin Wu <jiaxin.wu@intel.com>
Cc: Siyuan Fu <siyuan.fu@intel.com>
Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>
Cc: Abner Chang <abner.chang@hpe.com>
Cc: Daniel Schaefer <daniel.schaefer@hpe.com>
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
Reviewed-by: Daniel Schaefer <daniel.schaefer@hpe.com>
Reviewed-by: Maciej Rabeda <maciej.rabeda@linux.intel.com>
---
 NetworkPkg/NetworkPkg.dsc | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/NetworkPkg/NetworkPkg.dsc b/NetworkPkg/NetworkPkg.dsc
index cf2164aefe25..8691a0f5d07a 100644
--- a/NetworkPkg/NetworkPkg.dsc
+++ b/NetworkPkg/NetworkPkg.dsc
@@ -79,6 +79,12 @@ [LibraryClasses.ARM, LibraryClasses.AARCH64]
   NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf    ArmSoftFloatLib|ArmPkg/Library/ArmSoftFloatLib/ArmSoftFloatLib= .inf
 
+[LibraryClasses.ARM]
+  RngLib|MdePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf
+
+[LibraryClasses.RISCV64]
+  RngLib|MdePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf
+
 [PcdsFeatureFlag]
   gEfiMdePkgTokenSpaceGuid.PcdComponentName2Disable|TRUE
   gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnostics2Disable|TRUE
--
2.32.0.windows.1

--_000_CS1PR8401MB114463413D923C851D954FD4FF8D9CS1PR8401MB1144_--