From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by mx.groups.io with SMTP id smtpd.web10.3717.1635917321300349290 for ; Tue, 02 Nov 2021 22:28:41 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b=tWbzPvVw; spf=pass (domain: intel.com, ip: 134.134.136.31, mailfrom: jiewen.yao@intel.com) X-IronPort-AV: E=McAfee;i="6200,9189,10156"; a="292269116" X-IronPort-AV: E=Sophos;i="5.87,204,1631602800"; d="scan'208";a="292269116" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Nov 2021 22:28:40 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.87,204,1631602800"; d="scan'208";a="449934513" Received: from fmsmsx605.amr.corp.intel.com ([10.18.126.85]) by orsmga003.jf.intel.com with ESMTP; 02 Nov 2021 22:28:40 -0700 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx605.amr.corp.intel.com (10.18.126.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Tue, 2 Nov 2021 22:28:39 -0700 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Tue, 2 Nov 2021 22:28:39 -0700 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx611.amr.corp.intel.com (10.18.126.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12 via Frontend Transport; Tue, 2 Nov 2021 22:28:39 -0700 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (104.47.55.170) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.12; Tue, 2 Nov 2021 22:28:39 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TaEx6PvP116qtTGUKBp7rmNr17QXzVTxg3K0Or4o6+r6MTld0pe8w8x8++gn4gZj5JoakX/YzsNl1Lkfi6Yme1NzYceIxRokYT1h/PFCmfh5Pak93dnPzWmKhXQb0guuEG98eHx9Pi0Dr4AkwNJWE+rLHkakKc8yxy7kjuHT+RhC60rl652pRhFpUoUF0C88Hej1r4zSlp7+1WKAcglpCpIv+WGDIT3BHSlRgrKGxRLfhMfbJ4IOAR/aTd/XmnfwQNFcr6Hli3plwuNBAMOdn5yjf9uZBoPe3hpAyJweX9yGCEooiqT2BMM9YMKs//rYHJ5fBVyvSqCERFgBjrtxSQ== 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=/N/UKRrB1AO2NtzGEyAnRq6d+1BXBrRo6xNBKyBSDt0=; b=adPbcztVaOt3+adGRN9qkPgpFLGLOtvQRunxTgNj0milZZawTRzbyIe5X0noSXwNOYTGHGXGvdpJ/iIipTPOIrDW0OMra+iGNZiu0mBB0U1YbZALRs15bbq2mm8xADo1SykX2P5VYJT+DzG8y9iSsa4OmJ/c8ZQvGqHHt4xZQfvk0iEh0dHZP1LKx+57ujxdmYGnwWmx6/e/TY7pO1+hZn9ksOhyxf/3loPpPEonMgWmwlImeldgrO7Lg0LT/wkDnCfti70NOPMJJWWqX3HY2Uu+25FdU2ijLnTYW9HN2dZ72PHEIDw+kTMPU0IgPPqVBqvHM7Pv8leaTA2If5hpeA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=/N/UKRrB1AO2NtzGEyAnRq6d+1BXBrRo6xNBKyBSDt0=; b=tWbzPvVwS3lG+C8XO6x79Pn9XlJ33PltyCDUUowKnSe/S+/wXJSyKKcQYXgoVd2K5mQZl/VcvHWdp8BKVD12x0AjQC6ArDFpGOtQyTbqxN+pnQkZA5K8wQi6ZP4px24b4ZCgcRSOeZEwxKe9p7yC8IPz8eFObFwdLRb8FeAAl2Y= Received: from PH0PR11MB4885.namprd11.prod.outlook.com (2603:10b6:510:35::14) by PH0PR11MB4808.namprd11.prod.outlook.com (2603:10b6:510:39::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4649.14; Wed, 3 Nov 2021 05:28:38 +0000 Received: from PH0PR11MB4885.namprd11.prod.outlook.com ([fe80::c5cb:e37a:9f3:8f80]) by PH0PR11MB4885.namprd11.prod.outlook.com ([fe80::c5cb:e37a:9f3:8f80%5]) with mapi id 15.20.4649.019; Wed, 3 Nov 2021 05:28:38 +0000 From: "Yao, Jiewen" To: "Kinney, Michael D" , "devel@edk2.groups.io" CC: "Wang, Jian J" , Ard Biesheuvel , "Chang, Abner" , "Schaefer, Daniel" Subject: Re: [Patch 3/6] SecurityPkg/SecurityPkg.dsc: Add missing RngLib for ARM and RISCV64 Thread-Topic: [Patch 3/6] SecurityPkg/SecurityPkg.dsc: Add missing RngLib for ARM and RISCV64 Thread-Index: AQHX0F/DjKuqbb9DBUKF9p0XDI1VQKvxRm0w Date: Wed, 3 Nov 2021 05:28:37 +0000 Message-ID: References: <20211103030542.1529-1-michael.d.kinney@intel.com> <20211103030542.1529-4-michael.d.kinney@intel.com> In-Reply-To: <20211103030542.1529-4-michael.d.kinney@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.6.200.16 dlp-product: dlpe-windows dlp-reaction: no-action authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 7baa9550-7a6d-4509-ac3a-08d99e8ac9f9 x-ms-traffictypediagnostic: PH0PR11MB4808: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:486; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: sJGHit1MKTva2NhhWYRK9Vy3OfwF9+AVjT0nS7+lRB0e5EyQnetmxxqYNzJCo3yDbE0AatSk9NVXZea7M1QpBhweIoL/VGzlKnM477ViqmZgCzMASemmFd55wowcdXY2PjS44gJNLtdqJ2fI5ArLoaY0VgKKN6bh9eOF1vlx1weZnsUbNM3OSghFY/5wUb/WTa/DxZIU7z/s9QsrifQuu+jud90LJSsJYl6hSegaFtAgIniTb1XtjNs+GOgaDFfROjthADZagt+4SbUjYFt6U96DlbrBCnRtvSqC+DDnXSCOPMsQZTf+S7/ZBaAo3G4syHMX2uwsO6eCP/fE9GgFLs7k2PUuO7mloQcdDs51AZzb5QgsVPS/ttFfzCVxo8SGV7jlFKxTBMay5VFZCDpIwvbQ5OFNBZVsJRZRHuCRSelsJ2zAJdWZdBwff0S655ZwxxkHdTe2gEvcVmIpt1Thp8EzRulVvHqbm2X6Y9uIVX6XrFSdG0wlkPtKPTwMp0KNbdMvOg/vcAKPr7xgYM1bNw4gkbptIkg/H732M5SwhDRAhsnMmMAJ2R3qeDChn7BsBc6R9gzD/g4+BXGyLtAJGFS7EoAfKSef7sgJ6gm270zlsiAMu2CfiOT4ABdPkUtulKKLULARiz4KBbgJ5u4D2TGwUdnE+bnu90ournAeK7RTqltoym18yKuQPvJvofJjcNm6Yho1x6NVvz4rViW4iw== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PH0PR11MB4885.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(366004)(8936002)(5660300002)(64756008)(55016002)(66446008)(66556008)(66476007)(110136005)(186003)(38070700005)(122000001)(26005)(8676002)(2906002)(4326008)(38100700002)(52536014)(316002)(66946007)(76116006)(86362001)(15650500001)(53546011)(83380400001)(71200400001)(9686003)(82960400001)(508600001)(33656002)(7696005)(6506007)(54906003);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?GNHsfKBaFnr17ws2snJnbwCmBYj7UZqh9DiDXGqz/Oq47bpG1ccOyVvOfqlq?= =?us-ascii?Q?JfuC8ZW6m0S1OKIDlcDKb1B6pm4G+pGCT+oDSsZBocfbbQ7YryW8/+PrhDMp?= =?us-ascii?Q?kssGe2qvsOs4m6nFNWdLkvsxz/kMN5bX57bMegn84NKa6lAVz+ALiGcNKKlA?= =?us-ascii?Q?NA1TS6fWWF3mHhOvxqJ/z5izSb7OEzA25pVwEPk0qcsswBZBCfBRnXJRUQSG?= =?us-ascii?Q?tV7X/eBXBy7MPwCKWWlHzdUjeYxuujxn58mROfsX+SK2b5GdiOyMAVQl7cqk?= =?us-ascii?Q?Qlfrt0IuSOkxbQrmlq5ijJe2N0eLrrLirLCd/e9UjTRED2abEoOrw9kWVuG8?= =?us-ascii?Q?kBTOMs2wqYTW92kbL5gRu35gd0saLVbK+bBml3maWLqpneXIW7YWOvDV+xY+?= =?us-ascii?Q?Da9rPKp4Ut31rkd9K70cVgbxUyOcxFeaf2151ZwUDMg/CVFcjtM7Ueq5ZDXC?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6JUKRSuruWHQEDn?= =?us-ascii?Q?ThSrmWF1EvL54/Sf+YSOrnXG0kSulhKYId37RuQ+jZmFUONIgHwZxNzkQabu?= =?us-ascii?Q?n/nzCfn9DvMO4PGkHWDeLEyTl/qplBVsXUjmD/zig0DJ6fjIupEaVfAZ02ju?= =?us-ascii?Q?Oldjggm0yWQiz0O7zxk/f+SGg5jO2DFRFVG31OU28KM+WmgJIQWWLye/b9qb?= =?us-ascii?Q?VWPz/GX/yHslivUHXtPQDPxr+L9yYictce7zCZVnnbKXqkjz72n0+UDBIb2K?= =?us-ascii?Q?Wcm5T1zLMZucl+6pJpdjCyY=3D?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB4885.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7baa9550-7a6d-4509-ac3a-08d99e8ac9f9 X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Nov 2021 05:28:37.9291 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: gvLSoxRe8UC01B0zDKLLW3Ovuu/jze8bZIyzAvwgMnc3piiVjrxeNvVQLyf+ryfmALnBFvnLKGhcXWEyvLmdbA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR11MB4808 Return-Path: jiewen.yao@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Acked-by: Jiewen Yao Need ARM/RISC-V owner to confirm. > -----Original Message----- > From: Kinney, Michael D > Sent: Wednesday, November 3, 2021 11:06 AM > To: devel@edk2.groups.io > Cc: Yao, Jiewen ; Wang, Jian J ; > Ard Biesheuvel ; Chang, Abner > ; Schaefer, Daniel > Subject: [Patch 3/6] SecurityPkg/SecurityPkg.dsc: Add missing RngLib for = ARM > and RISCV64 >=20 > Fix SecurityPkg build breaks for ARM and RISCV64 by adding RngLib > mapping. >=20 > Cc: Jiewen Yao > Cc: Jian J Wang > Cc: Ard Biesheuvel > Cc: Abner Chang > Cc: Daniel Schaefer > Signed-off-by: Michael D Kinney > --- > SecurityPkg/SecurityPkg.dsc | 9 ++++++++- > 1 file changed, 8 insertions(+), 1 deletion(-) >=20 > 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 >=20 > + 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