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.web11.5189.1635985299226058437 for ; Wed, 03 Nov 2021 17:21:47 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@hpe.com header.s=pps0720 header.b=FUWpW2CY; spf=temperror, err=temporary DNS error (domain: hpe.com, ip: 148.163.143.35, mailfrom: prvs=0942c6339f=abner.chang@hpe.com) Received: from pps.filterd (m0150244.ppops.net [127.0.0.1]) by mx0b-002e3701.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 1A3I1vDm021480; Thu, 4 Nov 2021 00:21:38 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=anNrXbgUWs/INYgrRIztM59wzXdfbxzzFiJjWWr7uJY=; b=FUWpW2CYegk8wvu8Jacv3fCaUCDj6tnSnKiGj0OM81wbYQeCihLUGkJGFK6r9530GxZ/ EwqOS/a+8oDo9woCVUlCSLAu49wa2+bALQDgyIoGjnAnTr5UeTMdXB/zxSONVf5DoX/1 y7yqw0Xytqs4yODJkxBjfpRFdLcTvR+Oyn5qdhUuacYnJ9hvkL5yKHL7qG/bXfmrraBg tj4h9e16AKl0gP0K+IK4+5a92trCKUkedJDbAwGIgKFLj5WXpNPaFEedThiOXUm2m+0Q UOJFNKVze2p0Sr0ajL58rV4hrNkVcKHhlMXxiyTUg/h2tF9eyTV8uiGoRFlUiI8CNiEr pA== Received: from g9t5009.houston.hpe.com (g9t5009.houston.hpe.com [15.241.48.73]) by mx0b-002e3701.pphosted.com with ESMTP id 3c3dbr5kcv-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 04 Nov 2021 00:21:37 +0000 Received: from G9W8453.americas.hpqcorp.net (exchangepmrr1.us.hpecorp.net [16.216.160.211]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by g9t5009.houston.hpe.com (Postfix) with ESMTPS id 14BF051; Thu, 4 Nov 2021 00:21:37 +0000 (UTC) Received: from G4W9121.americas.hpqcorp.net (2002:10d2:1510::10d2:1510) by G9W8453.americas.hpqcorp.net (2002:10d8:a0d3::10d8:a0d3) with Microsoft SMTP Server (TLS) id 15.0.1497.23; Thu, 4 Nov 2021 00:21:37 +0000 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (15.241.52.11) by G4W9121.americas.hpqcorp.net (16.210.21.16) with Microsoft SMTP Server (TLS) id 15.0.1497.23 via Frontend Transport; Thu, 4 Nov 2021 00:21:36 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JANZIBBpvU17oao8HhBcjyh06jg2xBQSc898M7TrR/NI6OEeB8+XHjWhuAHfZ3Nu7pTZD1WCfKIR9Gtv8SiT7bVZpg9nsOhN4rfY7gwY6RnQlmeT7KiZsoZO3zIP1Vs1JImNemOUbfvCz6kesGuy4lvRfEhmiHWffkNb8hZPnDeZ5u+qfbDjl1skbhP0z1PllBIVHHgfT8TpUQocdl5qPfunwMSZQsbo1HPJ7yA33G2udzlb9zLMwsjfN7ommOcN931q01xn4my6WI3XhCOhi96RE9EWjGAWMvdaGO84bW8MrWgAEWlYOATAipERC1TIJ6T2MU44gd0Bb/OQOfmElg== 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=anNrXbgUWs/INYgrRIztM59wzXdfbxzzFiJjWWr7uJY=; b=XwpDIvF8EOyVpAKastjMEDQDstaRkDD1ggRUxtFWZptGybXcfDmlOC+rL6brTZwQjgcsTS0e4BCQDTOCIeD3xTCXBX5z/g6IUDdORHlExAUC9Lt5KA4DudARQ5LogJuvaALkE+7XA6Zts1Ux3+mLeViVFkofKKrfI464oUTzfMHFM6Xe+Orq0OJiMS/yylEtsSTJGOeiWQoFW2i+4CB/CyV3yVntaqdJDicswUhYQRPJ0dxU6R6yNH1q48Y/QYmIEJPfVbJjTaE7kXJKHGoXmCYCDyIWakmHoQSxwuxHkCmMCbo/XryssSEeI8XUmEN7GW+hV1ap/0RgJ4JeY59I/g== 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:21:35 +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:21:35 +0000 From: "Abner Chang" To: Michael D Kinney , "devel@edk2.groups.io" CC: Jiewen Yao , Jian J Wang , Ard Biesheuvel , "Schaefer, Daniel (ROM Janitor)" , Jiewen Yao Subject: Re: [Patch V2 3/7] SecurityPkg/SecurityPkg.dsc: Add missing RngLib for ARM and RISCV64 Thread-Topic: [Patch V2 3/7] SecurityPkg/SecurityPkg.dsc: Add missing RngLib for ARM and RISCV64 Thread-Index: AQHX0QaX1IBYHKPQsUykcLeFE6UR4avygX5O Date: Thu, 4 Nov 2021 00:21:34 +0000 Message-ID: References: <20211103225954.1680-1-michael.d.kinney@intel.com> <20211103225954.1680-4-michael.d.kinney@intel.com> In-Reply-To: <20211103225954.1680-4-michael.d.kinney@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: suggested_attachment_session_id: c6faef30-20df-9d74-e3d9-0fef8b348e72 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: cd3f74b7-0904-42f6-7ab1-08d99f290f74 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: 9P8nklesmg4Qn2RLWWxn0WdyCg+ryc6OKO0SRFEHlGRa6ZoFAXECVMJ3KbksHva4JhUyGNTSQ6IFk6XOt6CryA1+5jFG+bHlup6Kl60DQeRqkU/5qlnpDiGSWKbrmLG7SIfrVSy+UO7xAgXeRuKoXVz58M+Udo7cfj/F93JMUkYqFZ2901d/bky/cBfW58bfyJUsT4mbQp3vb9lgTT0eVtwfwmVhPNZeJnjgZrpYQ0h1SRc2tl5AYjRyLnuQ6Zy42EQUZXksQiifqUU7vaJfRUFuGVTnSjK/XxwWcpfgyh1+WvvT33F3gLUavHA6Pml8ysy6Xr7f9qiDprfn2tSSLcmrzKbdzXtfX9/gd180zsrZdXzxKlAPj3OqFlliQgD8bMzdhQiV76+JzOwCSeg2ynJLyYQop0Axv/Yt8DGXkQtmYQ25mbRlW0Ta4om9oV/azzdYDelD07T0vtvSqeE92X8xn8y0ejPNB0AcdWoLk0aP4vO40Ike0VC2fMJmVqM1NW0trsDK7DvZCohUA6BK7XRZs9LTOr8idju2CHsrMlNfhwccMPUbte45x4pvxuJxWGO9Uo3DqeUCRT8yXp+nAXdCW/s02TMEiqWGcDxmqfgESkRAKTSe6MG2tHHNm+h9qyz0FOuQEk4nzL2U27RuvhB/jcceCJZKwWpObTg42FpkPqRPEE4BVDN1ytphO1jtLRbW87cMei1kamXh3XWfTA== 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)(83380400001)(316002)(2906002)(54906003)(110136005)(71200400001)(86362001)(19627405001)(53546011)(7696005)(9686003)(6506007)(15650500001)(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?aFwK5NX0HSdlr7hoNbS9lckc/2QkNB8k7wCIS3v5SbkC82tOoiT2Bm/j6gMX?= =?us-ascii?Q?CJ/3FQckHtSsf9Ae1CRuKCT6YI3ngPMwKaB/bNfAUXo6OPGdfjJ2OzLj95+q?= =?us-ascii?Q?hqIKcIE3EfgY/53hQx2sBgCGhSQwhUx2KYOQSa92A/XhBVThxUQAlzX+bFZG?= =?us-ascii?Q?HPqNoVguG1EFldtiEbxjoMW4UvVfbXmkhSmYeW7la4nUcLapsrjrgSlPEQP0?= =?us-ascii?Q?F1ZT0gjjRjkEnyPTvimgPaYW4GIpsTpOGtWWx09oEjrg3svVm5EP8FMqNKQB?= =?us-ascii?Q?Wq0HzSGWhc86hjEqnjdKVAR76jywYxZJoSRVBwxrIyvdyFK5+Mv8wRPKPrD0?= =?us-ascii?Q?daCqjMk1kDFW/vOhwHubkb1RNar9WvGFGsh10Us4+HpJDCHertowbRu6O76q?= =?us-ascii?Q?as+n/Suvp1nfIPr9IGFhZFz7svcUMONcvt/hnw3+1Bm828QNW7swP8iUeJOP?= =?us-ascii?Q?pNzWM2f32Dxji4z/E1XEm9Vwpjy0Y8z4lNmc33xb9Z8T2gh/r4e72SvI3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6tN8W3KqSAF/+zH3eY+GWhg?= =?us-ascii?Q?7+Zp8ylpKLV2oO4+de6EM3ofP0K4GbEfo0/KyabOt4FKk4KuGg3f+qzsLwt2?= =?us-ascii?Q?fKvaUvkFOanz5zydP2Ueu49b+8CCqQl5NQegUPQBA8NSDxJhEPClmvFTJodQ?= =?us-ascii?Q?ARa0IZKtTsM/Kb+HZZG6Vj8s5KspxwSC90iU44zBHqjCIet/V3IxpngkiKw3?= =?us-ascii?Q?Tg=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: cd3f74b7-0904-42f6-7ab1-08d99f290f74 X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Nov 2021 00:21:34.9474 (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: Isx/f+3Utn1womYycgJ9gkcYYQfUQYIporRj8C25nBdMf3tuH4ZXPiyyd0uvrjjeFUrCNs2mUcuXHyW+97yISg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CS1PR8401MB0855 X-OriginatorOrg: hpe.com X-Proofpoint-GUID: DwMuaECPlHxJ7qtzjeTZonM9vDY04zgN X-Proofpoint-ORIG-GUID: DwMuaECPlHxJ7qtzjeTZonM9vDY04zgN 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 malwarescore=0 bulkscore=0 lowpriorityscore=0 adultscore=0 spamscore=0 priorityscore=1501 impostorscore=0 mlxscore=0 suspectscore=0 mlxlogscore=999 phishscore=0 clxscore=1015 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_CS1PR8401MB11442821EE247FC6B890B0E5FF8D9CS1PR8401MB1144_" --_000_CS1PR8401MB11442821EE247FC6B890B0E5FF8D9CS1PR8401MB1144_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Acked-by: Abner Chang ________________________________ From: Michael D Kinney Sent: Thursday, November 4, 2021 6:59 AM To: devel@edk2.groups.io Cc: Jiewen Yao ; Jian J Wang ;= Ard Biesheuvel ; Chang, Abner (HPS SW/FW Techno= logist) ; Schaefer, Daniel (ROM Janitor) ; Jiewen Yao Subject: [Patch V2 3/7] SecurityPkg/SecurityPkg.dsc: Add missing RngLib for= ARM and RISCV64 Fix SecurityPkg build breaks for ARM and RISCV64 by adding RngLib mapping. Cc: Jiewen Yao Cc: Jian J Wang Cc: Ard Biesheuvel Cc: Abner Chang Cc: Daniel Schaefer Signed-off-by: Michael D Kinney Acked-by: Jiewen Yao Reviewed-by: Daniel Schaefer --- SecurityPkg/SecurityPkg.dsc | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/SecurityPkg/SecurityPkg.dsc b/SecurityPkg/SecurityPkg.dsc index 37318c64c59f..73a93c2285b1 100644 --- a/SecurityPkg/SecurityPkg.dsc +++ b/SecurityPkg/SecurityPkg.dsc @@ -84,6 +84,14 @@ [LibraryClasses.ARM, LibraryClasses.AARCH64] # Add support for GCC stack protector 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 + [LibraryClasses.common.PEIM] PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf @@ -381,4 +389,3 @@ [BuildOptions] MSFT:*_*_IA32_DLINK_FLAGS =3D /ALIGN:256 INTEL:*_*_IA32_DLINK_FLAGS =3D /ALIGN:256 *_*_*_CC_FLAGS =3D -D DISABLE_NEW_DEPRECATED_INTERFACES - -- 2.32.0.windows.1 --_000_CS1PR8401MB11442821EE247FC6B890B0E5FF8D9CS1PR8401MB1144_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
Acked-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: Jiewen Yao <jiewen.yao@intel.com>; Jian J Wang <jian.j.= wang@intel.com>; Ard Biesheuvel <ardb+tianocore@kernel.org>; Chang= , Abner (HPS SW/FW Technologist) <abner.chang@hpe.com>; Schaefer, Dan= iel (ROM Janitor) <daniel.schaefer@hpe.com>; Jiewen Yao <Jiewen.yao@intel.com>
Subject: [Patch V2 3/7] SecurityPkg/SecurityPkg.dsc: Add missing Rng= Lib for ARM and RISCV64
 
Fix SecurityPkg build breaks for ARM and RISCV64 b= y adding RngLib
mapping.

Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Jian J Wang <jian.j.wang@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>
Acked-by: Jiewen Yao <Jiewen.yao@intel.com>
Reviewed-by: Daniel Schaefer <daniel.schaefer@hpe.com>
---
 SecurityPkg/SecurityPkg.dsc | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/SecurityPkg/SecurityPkg.dsc b/SecurityPkg/SecurityPkg.dsc
index 37318c64c59f..73a93c2285b1 100644
--- a/SecurityPkg/SecurityPkg.dsc
+++ b/SecurityPkg/SecurityPkg.dsc
@@ -84,6 +84,14 @@ [LibraryClasses.ARM, LibraryClasses.AARCH64]
   # Add support for GCC stack protector
   NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf  
+  ArmSoftFloatLib|ArmPkg/Library/ArmSoftFloatLib/ArmSoftFloatLib.inf<= br> +
+[LibraryClasses.ARM]
+  RngLib|MdePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf
+
+[LibraryClasses.RISCV64]
+  RngLib|MdePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf
+
 [LibraryClasses.common.PEIM]
   PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.in= f
   PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.in= f
@@ -381,4 +389,3 @@ [BuildOptions]
    MSFT:*_*_IA32_DLINK_FLAGS =3D /ALIGN:256
   INTEL:*_*_IA32_DLINK_FLAGS =3D /ALIGN:256
         *_*_*_CC_FLAGS  =      =3D -D DISABLE_NEW_DEPRECATED_INTERFACES
-
--
2.32.0.windows.1

--_000_CS1PR8401MB11442821EE247FC6B890B0E5FF8D9CS1PR8401MB1144_--