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.5062.1606351220319782891 for ; Wed, 25 Nov 2020 16:40:20 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@hpe.com header.s=pps0720 header.b=cjP0fdkH; spf=pass (domain: hpe.com, ip: 148.163.147.86, mailfrom: prvs=0599d934f1=abner.chang@hpe.com) Received: from pps.filterd (m0134420.ppops.net [127.0.0.1]) by mx0b-002e3701.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 0AQ0XFXU026241; Thu, 26 Nov 2020 00:40:19 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 : content-transfer-encoding : mime-version; s=pps0720; bh=1Rvkb3wIMAb6JWCRa2ZTRajTiVWJEagdAnHZosFAYBk=; b=cjP0fdkHtTF4hvzwdT+NJGDjCieLKB7ND1jPzcXgP9hq97GHeI5HZGvaThp8UIkP5aLY sWkQNPYMUUs0nsI/7KfT34RkHyEEpMaCRxtST1SEWb8z2w2s5TmIDTusXZYGq9+5mUEO RZfdGsW30mvPSCy+l8fmEbYaP9pO7ymNbCggG+5WmyitXYGC1ElEl1J9eevkcldamfMy 0QewWoDYxyQsVvBggpNSmeCJQz2ZCexBgliI+tmdQlWmHbQ47sCOR1UkP0jmLy0aQE6h Ad0qTRC5i1TAYuGMGZhdiYNAF71oTS67hAnz5mHao40C63+KVy+YSU8rNxNsEM6ZBPVt xg== Received: from g4t3427.houston.hpe.com (g4t3427.houston.hpe.com [15.241.140.73]) by mx0b-002e3701.pphosted.com with ESMTP id 350yw4qcvp-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 26 Nov 2020 00:40:19 +0000 Received: from G2W6311.americas.hpqcorp.net (g2w6311.austin.hp.com [16.197.64.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by g4t3427.houston.hpe.com (Postfix) with ESMTPS id 8B95172; Thu, 26 Nov 2020 00:40:18 +0000 (UTC) Received: from G4W9325.americas.hpqcorp.net (16.208.32.94) by G2W6311.americas.hpqcorp.net (16.197.64.53) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 26 Nov 2020 00:39:49 +0000 Received: from G9W9209.americas.hpqcorp.net (2002:10dc:429c::10dc:429c) by G4W9325.americas.hpqcorp.net (2002:10d0:205e::10d0:205e) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 26 Nov 2020 00:39:49 +0000 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (15.241.52.12) by G9W9209.americas.hpqcorp.net (16.220.66.156) with Microsoft SMTP Server (TLS) id 15.0.1497.2 via Frontend Transport; Thu, 26 Nov 2020 00:39:49 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nV3J+10dFXxwVLl8hTXcd2W/4vuCw0Kg0coPhfPXr2Z5FgCb2oXv6kzndRZC/LJflpVljLCkHKRoHRdJuFK5NTSBVjUKNdPzwxm9rL3QQaUPazwDGHUAPCNe/nqBzPw8ZYWPXqxRyrm3d1AbOXRXbw4QiIsPXbQ1q6G+WCs+LiUEvCqg/Cx9c6hiSs2KwZrGbcgmV3vL9gyPrtRSM7BbL9ypQVjWez4jMHp9wXlri86etVqBZRJPEBUgCd495yRsF9VA3Jo+Bi9eWHghl6vFQiscUQrXliGpef4WVe2GkjIKSRiOCIJxEZl232db4U8THdGkijfi5C7v4MNyHvDmng== 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-SenderADCheck; bh=1Rvkb3wIMAb6JWCRa2ZTRajTiVWJEagdAnHZosFAYBk=; b=UWQmdNNH4YYTiK6Yi5V7CgjV0g0jQQ4ADF5BfUHPE8VySD1+ShPm9AamIRb4cW6brRghnCSeZ2yKY+rKblxpVbUiTXdcnLLMS0xV4zsnU6FcNGxrB99g/L97MzsBbmUR2+1Woh5ssj/mZMfWXilShAHze4oAdDNWe9oLD+VVsiKSh2pjv7Ima1OUv92SIgSk2S2zEk7VaI0hq8mvVCv68yWga21iBCokRKpiXPnKTWtgiopPoVtMgVkQHcWdXv6AMc/O+F098Zp6l46D8e6g7djGUJuR2/1F3kN7wEXCvuN7GsIy2HA5fXHr6vvWu9YADozicoS4lpJYGxv4c9ydFg== 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 CS1PR8401MB0840.NAMPRD84.PROD.OUTLOOK.COM (2a01:111:e400:750f::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3589.25; Thu, 26 Nov 2020 00:39:48 +0000 Received: from CS1PR8401MB1144.NAMPRD84.PROD.OUTLOOK.COM ([fe80::a094:ed67:fb40:340e]) by CS1PR8401MB1144.NAMPRD84.PROD.OUTLOOK.COM ([fe80::a094:ed67:fb40:340e%10]) with mapi id 15.20.3589.030; Thu, 26 Nov 2020 00:39:47 +0000 From: "Abner Chang" To: Leif Lindholm , "devel@edk2.groups.io" CC: "Schaefer, Daniel" Subject: Re: [PATCH edk2-platforms 09/15] Platform/SiFive: add VariablePolicy resolutions Thread-Topic: [PATCH edk2-platforms 09/15] Platform/SiFive: add VariablePolicy resolutions Thread-Index: AQHWwypawBNn8N+u60CazPDuXde3TqnZkpPQ Date: Thu, 26 Nov 2020 00:39:47 +0000 Message-ID: References: <20201125125559.11631-1-leif@nuviainc.com> <20201125125559.11631-10-leif@nuviainc.com> In-Reply-To: <20201125125559.11631-10-leif@nuviainc.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: nuviainc.com; dkim=none (message not signed) header.d=none;nuviainc.com; dmarc=none action=none header.from=hpe.com; x-originating-ip: [16.242.247.131] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 52fb12f1-de20-46be-08f5-08d891a3c71b x-ms-traffictypediagnostic: CS1PR8401MB0840: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:1079; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: dS+MvAVbc5P3IjwIgrROIhmZMxNcYWA5HIdhRhtaztsz6ld/6YGYz+1A4N9mpQ3uIS8sYx64JKwaiNW9vAHzdxW9LYIZUtLffKLmgRgPDa6eSsf5o837ypVS6QUrDgARBEdQfmm/o4TwwenaZ5gQICS8S6rXXy/26UDiVFXaMArBt6tCOVKBxhgcCl/J73SRXVX0HszBOpbEEPR8mJP3wsItgJjCM/gtPy3RM6Re05oe7poB3AfHA+MVK8tcM3yueU0LYdSy0Lprl8AXHLEGfWYnjCNx2adC5HVyWALGaBnC2RwdMFQlMbPIHIDdOKF4tYVOGS1rNz0OBmi5ZzypFw== 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:(6029001)(366004)(346002)(376002)(396003)(136003)(39860400002)(64756008)(66556008)(9686003)(55016002)(71200400001)(66476007)(186003)(26005)(8676002)(8936002)(83380400001)(53546011)(7696005)(4326008)(86362001)(6506007)(52536014)(33656002)(2906002)(316002)(76116006)(478600001)(66446008)(110136005)(66946007)(5660300002);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?NIpvOFz0+chr/abjqbjTXXWuy4j51iGZZUvMIW/BAH1tEhr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23TW0AGTTUtMJQP6DksXNiTbUcfvdBfxJOdCLB?= =?us-ascii?Q?cnd6IhpptZf8OkH+liMUnPmJRmbhJsl/gN8OG4TlcHM=3D?= X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CS1PR8401MB1144.NAMPRD84.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-Network-Message-Id: 52fb12f1-de20-46be-08f5-08d891a3c71b X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Nov 2020 00:39:47.8270 (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: DnpN+4S4DPUkMKvx9rRGpX0sqe/4TN2vajEdnOWl0+rDeSGBogTJjUgaARaMTzkUEV7e+gHHuyNBQmZR5xbhuA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CS1PR8401MB0840 X-OriginatorOrg: hpe.com X-Proofpoint-UnRewURL: 0 URL was un-rewritten MIME-Version: 1.0 X-HPE-SCL: -1 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.312,18.0.737 definitions=2020-11-25_14:2020-11-25,2020-11-25 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 mlxscore=0 phishscore=0 mlxlogscore=999 bulkscore=0 adultscore=0 priorityscore=1501 malwarescore=0 lowpriorityscore=0 spamscore=0 impostorscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2011260000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Abner Chang > -----Original Message----- > From: Leif Lindholm [mailto:leif@nuviainc.com] > Sent: Wednesday, November 25, 2020 8:56 PM > To: devel@edk2.groups.io > Cc: Chang, Abner (HPS SW/FW Technologist) ; > Schaefer, Daniel > Subject: [PATCH edk2-platforms 09/15] Platform/SiFive: add VariablePolicy > resolutions >=20 > Add resolutions for > - SafeIntLib > - VariablePolicyLib > - VariablePolicyHelperLib > - VariablePolicyLib (DXE_RUNTIME_DRIVER) >=20 > for u500/u540 platforms. >=20 > Cc: Abner Chang > Cc: Daniel Schaefer > Signed-off-by: Leif Lindholm > --- > Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U500.dsc | 4 > ++++ > .../U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U540.dsc | 4 ++++ > 2 files changed, 8 insertions(+) >=20 > diff --git a/Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U500.dsc > b/Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U500.dsc > index 6a4e029c358b..2d652d215f82 100644 > --- a/Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U500.dsc > +++ b/Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U500.dsc > @@ -65,6 +65,7 @@ [LibraryClasses] > PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf > BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf > BaseLib|MdePkg/Library/BaseLib/BaseLib.inf > + SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf >=20 > SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchroniz > ationLib.inf > CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf >=20 > PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanc > eLibNull.inf > @@ -239,6 +240,7 @@ [LibraryClasses.common.DXE_RUNTIME_DRIVER] > BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf > !endif >=20 > UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBoo > tManagerLib.inf > + > VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLi > bRuntimeDxe.inf >=20 > [LibraryClasses.common.UEFI_DRIVER] > PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf > @@ -253,6 +255,7 @@ [LibraryClasses.common.UEFI_DRIVER] > DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf > !endif > UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf > + > VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLi > b.inf >=20 > [LibraryClasses.common.DXE_DRIVER] > PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf > @@ -447,6 +450,7 @@ [Components] > MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf { > > NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf > + > VariablePolicyHelperLib|MdeModulePkg/Library/VariablePolicyHelperLib/Va > riablePolicyHelperLib.inf > } > MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf >=20 > MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCoun > terRuntimeDxe.inf > diff --git > a/Platform/SiFive/U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U540.d > sc > b/Platform/SiFive/U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U540. > dsc > index 682504ba5fde..9f6047518905 100644 > --- > a/Platform/SiFive/U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U540.d > sc > +++ > b/Platform/SiFive/U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U540. > dsc > @@ -65,6 +65,7 @@ [LibraryClasses] > PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf > BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf > BaseLib|MdePkg/Library/BaseLib/BaseLib.inf > + SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf >=20 > SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchroniz > ationLib.inf > CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf >=20 > PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanc > eLibNull.inf > @@ -240,6 +241,7 @@ [LibraryClasses.common.DXE_RUNTIME_DRIVER] > BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf > !endif >=20 > UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBoo > tManagerLib.inf > + > VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLi > bRuntimeDxe.inf >=20 > [LibraryClasses.common.UEFI_DRIVER] > PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf > @@ -254,6 +256,7 @@ [LibraryClasses.common.UEFI_DRIVER] > DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf > !endif > UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf > + > VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLi > b.inf >=20 > [LibraryClasses.common.DXE_DRIVER] > PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf > @@ -446,6 +449,7 @@ [Components] > MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf { > > NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf > + > VariablePolicyHelperLib|MdeModulePkg/Library/VariablePolicyHelperLib/Va > riablePolicyHelperLib.inf > } > MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf >=20 > MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCoun > terRuntimeDxe.inf > -- > 2.20.1