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.web12.5272.1635985341356579240 for ; Wed, 03 Nov 2021 17:22:25 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@hpe.com header.s=pps0720 header.b=mWE2J3xT; 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 (m0134423.ppops.net [127.0.0.1]) by mx0b-002e3701.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 1A3NWNK3021007; Thu, 4 Nov 2021 00:22:20 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=1r9ghW7GYcpcx/SBe1ufM1zAomj288PI/4LCgjMgPGc=; b=mWE2J3xTCI+hFIvfLv1IjK3rSzzkqUF2Sld37WOT21FMqCcWWnWF5cjAw8A47t9dz6LS 6FZ81hs1vAQ2yZCHnlVEI/6zr3wAyLS71+Gq0+Hpusr4aWJdQBGmFCDm3dmY9/xDFJuM 1j4LLawuXyZ0T+RsGoMhnP5nlIOtVgwinBvxlAY37iwK8e16rwXTH8DwV0VBMmI4aK8Z sOe8gBY9XBejnRch0aZ+rZn35GtLiQzIPhIzGdZvGaJ+9L7CxPlcFGlIkvaapBDhsorv 5ZgCC1xtpAZGsFjOfJ3gXQP+wM8psBIBxnWks9L9wO7aSxTT+y+L4k6hFonx9PnC+Bgv HQ== Received: from g4t3426.houston.hpe.com (g4t3426.houston.hpe.com [15.241.140.75]) by mx0b-002e3701.pphosted.com with ESMTP id 3c3dcqnnhy-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 04 Nov 2021 00:22:20 +0000 Received: from G9W9210.americas.hpqcorp.net (g9w9210.houston.hpecorp.net [16.220.66.155]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by g4t3426.houston.hpe.com (Postfix) with ESMTPS id 651C861; Thu, 4 Nov 2021 00:22:19 +0000 (UTC) Received: from G1W8106.americas.hpqcorp.net (16.193.72.61) by G9W9210.americas.hpqcorp.net (16.220.66.155) with Microsoft SMTP Server (TLS) id 15.0.1497.23; Thu, 4 Nov 2021 00:22:19 +0000 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (15.241.52.10) 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:21:58 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FylzB0gjzTwB72579Nmou3jIQ7wvGU0D71OcNOgR7226JMeuz2l6zUZKdG6EzZmoop/5cZ4EV6HVbTZYRc1OQYDzFmkPMjpTEPAyF6/vv0ddRPLXJ1AxFGBhfPccuvci/n1usDHlH+1tUIzNwSU1CrmXizj3Hc2w8vadUjLNZpAhGELbfrDafI0JFKRNwZ2ZYGUO0x7EXPgujh1N2KENDxLWyBS9deqgq+AsDo9POamq09kW//Y3nFl0AZvAkcYHwEQ8QTB+z22COU3cHxEPvBzT4+5czJgmAW+alya17Z+Z1SBONV0I2W9amBwjiL243j8zyjLUgumsH8IsHoJ9/Q== 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=1r9ghW7GYcpcx/SBe1ufM1zAomj288PI/4LCgjMgPGc=; b=DjLB9ALbZSqH9ko9uI/L1itTJyLLQAcVm2GtHkk+V59tenJQzmk3tDtFqW9CBiZuT4hbYDnRmd3IyAyNwqwZz+RGDF+irScicLJeqHqRD5trDnTaFf3JNttWqmeQ1iXZlj73Zp7dNHgUHMvuiq3So0WMw2dbvgVK739Nty9+ST6nvzEhFlewqU57yi95mC3R1QlEDIsUI0OttF3nbiG+e/6oe++S/J1sftqKJsubXlMhr08Z11jskCVJr74+ewaulzHIpfq1QnAsESX74HfKarhvDzSpZURDfnqjIPyG72tT33MTJ7KN8+edtPb6xUpDfWYVIJLI5/rhEsENMcKNAQ== 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:56 +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:56 +0000 From: "Abner Chang" To: Michael D Kinney , "devel@edk2.groups.io" CC: Jian J Wang , Ard Biesheuvel , "Schaefer, Daniel (ROM Janitor)" Subject: Re: [Patch V2 4/7] SignedCapsulePkg/SignedCapsulePkg.dsc: Add RngLib mapping Thread-Topic: [Patch V2 4/7] SignedCapsulePkg/SignedCapsulePkg.dsc: Add RngLib mapping Thread-Index: AQHX0Qaba4F87CgQ70WsGAsQqpg0iavygd7A Date: Thu, 4 Nov 2021 00:21:56 +0000 Message-ID: References: <20211103225954.1680-1-michael.d.kinney@intel.com> <20211103225954.1680-5-michael.d.kinney@intel.com> In-Reply-To: <20211103225954.1680-5-michael.d.kinney@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: suggested_attachment_session_id: 5578af6e-4ab9-8759-29f8-b5bbb5c0e589 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: 06b2a49f-81d7-4e6f-35d3-08d99f291c1f 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: FyUBiz4Fq3VN2bkBFXAof+EbtRE5cWvCdcV9X3SwcZ0iduXBMB3c3CJVWT+Nx1MYLjPVQM/8Fvm7a0GBPa5aG6RJ3nG2s/xq3XVjqzPHh8+uBnMlcBFFL7Lu86dMQt4Td6bJJVmW0hRc7hMtsbyKKLBJ9p8zZzTm/8nVtHpVcCLxSDypLi2j8sP6isnJYdvu8eyAox2lp72YYP6yiGaWFS5tzMFUw5yqOyqRI+3BNifT1OUmuDETg5F/eaHY2EZBJJ48KawAG6iTPLfJpQM217KlxZCALH9SqCPXa3vo5JMhBnz5fmgf6t37wTOrAg+HJnLmb2NQ/QzNLaMcZZoqmk36lHH9DFvcMer2pQXdX85aOIBniT/k8Vi0+Tv5wtO6nF8DDoyZYvy2+FKQOlxD0aifxA/9pnvoFBu71Y0GT2WUudNijGTTYoYB00qtRZRmQAEFRK6soKslbk2U3M4dRFpJjeatjQCg9g0w/bX3G88jsLY+xc6QSpMr1Qay9ZbhDA/x0ugH53lbmWSshZWUufx+Mmk7Z9bqYxnZVKGaCHTzS8MhImrq1pqKlGrnr3SMZUpKJpj3QUDhTbQR9vElPFZ0M1bj8l0BPfdmLsf9KthqsPSC+sodCe2JmnaH5rP88hDSiRM9KKUe4zJJJ7aPp7SyPjzjEXo16Ta/eqb6YYSExgX26cu5ikHBbEWWWo0FLgBGQQPhYlxT/qfjS1Uobw== 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)(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?1e++XNeNktG08UEdHg1FoYDONZrh3Lh58tZewD/2ZWs6RF0CyvhYdpCGYrJI?= =?us-ascii?Q?WlWc1o1nthwBJIh17bAd+ob4FxFL8KXyQn4R1Jdgl9RvCA/fVGXbn0AggOw5?= =?us-ascii?Q?Q+LL9EvXsZsm0vrhBzMF/cev64ASN+VjyBJJOz0YhXOuWoU384GHD8ag5Qfg?= =?us-ascii?Q?jxCVVpI1CBID/9bEytnd4jCrO+6XmbleemeujETMb2IFJ4mb1qQNUw5H7V0L?= =?us-ascii?Q?Zg/C1yw2XNH0U8jTphsof0Xz0PlZYf4ZXS1r4ezdsUbtmnNfyoyAV8OWXoHD?= =?us-ascii?Q?61V6p1fCmsGCYATcufWIuQRzX7kUZyS6yr1eY6A+e4kvzLU2AvthCewrt9x0?= =?us-ascii?Q?wBJ93irVAu/9rYC1wbeywp92ocUoZf/v9R66Go7+w6rznFH1o/Xt2KsDQDA8?= =?us-ascii?Q?z40UmcdS6P6Q+P5USR+NHCk3gLS6XC5WyRTV/prBsw7Ms7Ta7462ql35ixgM?= =?us-ascii?Q?C3ofKkXE39EmNlFBgAWuOl7zJtPVWAbIwapJsTtZpiBQ740S3AzmdcleS6Z5?= =?us-ascii?Q?1k/ttOFk1/A7I6f7FjnAqoZpjU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XPVbH2b5dO1u2RxO09PEN3s+Fv+WtJ335iO28pzZvcU1sN4o1oQekn?= =?us-ascii?Q?8pSvgpKU7fQ3eIYUm0NuQuSn9nkSa3YNZrQZ8DUQMhr6XdvRi48ZbSo88Yjp?= =?us-ascii?Q?iw9Z9Tk3fLtujFj4edSp3FkNX6Fm/iMjuB39BwcCKIpfP9seQ5lP3ckgrF81?= =?us-ascii?Q?aw=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: 06b2a49f-81d7-4e6f-35d3-08d99f291c1f X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Nov 2021 00:21:56.2099 (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: vCyGr0nRvhP1hbM7ZwClrZCaf+ItzPTW8hhYAaSH9UF+WlkDMMuDMsjbSd08ouevci5RERGJY2N4njier6j2DA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CS1PR8401MB0855 X-OriginatorOrg: hpe.com X-Proofpoint-GUID: BVB7HxeS1-60FFtNph0X093tK0yB0fdc X-Proofpoint-ORIG-GUID: BVB7HxeS1-60FFtNph0X093tK0yB0fdc 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 adultscore=0 mlxlogscore=999 malwarescore=0 clxscore=1015 bulkscore=0 priorityscore=1501 mlxscore=0 suspectscore=0 spamscore=0 impostorscore=0 lowpriorityscore=0 phishscore=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_CS1PR8401MB1144F34689FCF73AA94F9587FF8D9CS1PR8401MB1144_" --_000_CS1PR8401MB1144F34689FCF73AA94F9587FF8D9CS1PR8401MB1144_ 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: Jian J Wang ; Ard Biesheuvel ; Chang, Abner (HPS SW/FW Technologist) ; Scha= efer, Daniel (ROM Janitor) Subject: [Patch V2 4/7] SignedCapsulePkg/SignedCapsulePkg.dsc: Add RngLib m= apping Fix build breaks for all architectures by adding RngLib mapping. Cc: Jian J Wang Cc: Ard Biesheuvel Cc: Abner Chang Cc: Daniel Schaefer Signed-off-by: Michael D Kinney Reviewed-by: Daniel Schaefer --- SignedCapsulePkg/SignedCapsulePkg.dsc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/SignedCapsulePkg/SignedCapsulePkg.dsc b/SignedCapsulePkg/Signe= dCapsulePkg.dsc index 2152d3d15668..8a27207a6f20 100644 --- a/SignedCapsulePkg/SignedCapsulePkg.dsc +++ b/SignedCapsulePkg/SignedCapsulePkg.dsc @@ -93,6 +93,7 @@ [LibraryClasses] EdkiiSystemCapsuleLib|SignedCapsulePkg/Library/EdkiiSystemCapsuleLib/Edk= iiSystemCapsuleLib.inf IniParsingLib|SignedCapsulePkg/Library/IniParsingLib/IniParsingLib.inf PlatformFlashAccessLib|SignedCapsulePkg/Library/PlatformFlashAccessLibNu= ll/PlatformFlashAccessLibNull.inf + RngLib|MdePkg/Library/BaseRngLib/BaseRngLib.inf [LibraryClasses.ARM] ArmSoftFloatLib|ArmPkg/Library/ArmSoftFloatLib/ArmSoftFloatLib.inf @@ -108,6 +109,12 @@ [LibraryClasses.AARCH64, LibraryClasses.ARM] # Add support for GCC stack protector NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf +[LibraryClasses.ARM] + RngLib|MdePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf + +[LibraryClasses.RISCV64] + RngLib|MdePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf + [LibraryClasses.common.PEI_CORE] HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAlloc= ationLib.inf -- 2.32.0.windows.1 --_000_CS1PR8401MB1144F34689FCF73AA94F9587FF8D9CS1PR8401MB1144_ 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: Jian J Wang <jian.j.wang@intel.com>; Ard Biesheuvel <ar= db+tianocore@kernel.org>; Chang, Abner (HPS SW/FW Technologist) <abne= r.chang@hpe.com>; Schaefer, Daniel (ROM Janitor) <daniel.schaefer@hpe= .com>
Subject: [Patch V2 4/7] SignedCapsulePkg/SignedCapsulePkg.dsc: Add R= ngLib mapping
 
Fix build breaks for all architectures by adding R= ngLib mapping.

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>
Reviewed-by: Daniel Schaefer <daniel.schaefer@hpe.com>
---
 SignedCapsulePkg/SignedCapsulePkg.dsc | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/SignedCapsulePkg/SignedCapsulePkg.dsc b/SignedCapsulePkg/Signe= dCapsulePkg.dsc
index 2152d3d15668..8a27207a6f20 100644
--- a/SignedCapsulePkg/SignedCapsulePkg.dsc
+++ b/SignedCapsulePkg/SignedCapsulePkg.dsc
@@ -93,6 +93,7 @@ [LibraryClasses]
   EdkiiSystemCapsuleLib|SignedCapsulePkg/Library/EdkiiSystemCaps= uleLib/EdkiiSystemCapsuleLib.inf
   IniParsingLib|SignedCapsulePkg/Library/IniParsingLib/IniParsin= gLib.inf
   PlatformFlashAccessLib|SignedCapsulePkg/Library/PlatformFlashA= ccessLibNull/PlatformFlashAccessLibNull.inf
+  RngLib|MdePkg/Library/BaseRngLib/BaseRngLib.inf
 
 [LibraryClasses.ARM]
   ArmSoftFloatLib|ArmPkg/Library/ArmSoftFloatLib/ArmSoftFloatLib= .inf
@@ -108,6 +109,12 @@ [LibraryClasses.AARCH64, LibraryClasses.ARM]
   # Add support for GCC stack protector
   NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf  
+[LibraryClasses.ARM]
+  RngLib|MdePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf
+
+[LibraryClasses.RISCV64]
+  RngLib|MdePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf
+
 [LibraryClasses.common.PEI_CORE]
   HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
   MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiM= emoryAllocationLib.inf
--
2.32.0.windows.1

--_000_CS1PR8401MB1144F34689FCF73AA94F9587FF8D9CS1PR8401MB1144_--