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.web10.3549.1615968873082047215 for ; Wed, 17 Mar 2021 01:14:33 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@hpe.com header.s=pps0720 header.b=ij3H2WtL; spf=pass (domain: hpe.com, ip: 148.163.143.35, mailfrom: prvs=071087e696=abner.chang@hpe.com) Received: from pps.filterd (m0134424.ppops.net [127.0.0.1]) by mx0b-002e3701.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 12H8DZ1s031785 for ; Wed, 17 Mar 2021 08:14:32 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=n8raJTztHPIMn7GSpjARP2BJtWhoWgPqFlGMmM3SR+k=; b=ij3H2WtLhJuryu2oK7k5uy0f/4K/buQAiTvnWfon2KpgKwyYJ0gEZnqC6BB2IxRSXNN4 Zl4eDDh8eb9fgGhpETVMCOc6hV3wQOIAehjm6FCs/R7xNZw2kD9/dmuPNc/HAwtprptl hWKLF+AMJ+ciOP+824MWgIvD5ma53JnYp22RtkyC72Af16hCYhdKbtmQes769pv8oF0I x9Psanx9qgOG/2Ws+cisu3Mb1nkoCBEj0qbQo17ijFnZmBO9TwdAqdTmvjRk7OynOX2J DfgjAUXayhdSzBZBHd8EE/nn3eShYTUKAnVg2nxhoIcnO/hnnEtVZomaAdQf29aMk9Xh aQ== Received: from g4t3426.houston.hpe.com (g4t3426.houston.hpe.com [15.241.140.75]) by mx0b-002e3701.pphosted.com with ESMTP id 37aqmtafh9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 17 Mar 2021 08:14:31 +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 g4t3426.houston.hpe.com (Postfix) with ESMTPS id 5BFEB6B for ; Wed, 17 Mar 2021 08:14:31 +0000 (UTC) Received: from G4W9334.americas.hpqcorp.net (16.208.32.120) by G2W6311.americas.hpqcorp.net (16.197.64.53) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 17 Mar 2021 08:14:31 +0000 Received: from G1W8106.americas.hpqcorp.net (16.193.72.61) by G4W9334.americas.hpqcorp.net (16.208.32.120) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 17 Mar 2021 08:14:30 +0000 Received: from NAM12-BN8-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.2 via Frontend Transport; Wed, 17 Mar 2021 08:14:30 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cfFJ0TQ0yr8oKVvQM4l0eBq18ILYRKgWZd5whqEObmNSy+Q4RUM3/M0ztwjeQ91GfyK2GT/Inxm84XoPV4OIpRxcWpqqzxjYIl6gWLyB2HW1UFqF3Jcy1izJ+3MHsXbMQwKwuH9KTnn1doyzJgHpc+OWo25hrIAWRapvROgd6q+ceLQOQNaR1iMHzLC6ZNgeUbdsxqMYpUeFK6xZyVbIUyV+tNV+mY9ijZb2MRZcr9Asn/CoJLQuFI2ewG1PKzSIkR+eulofhXfMALSeNk+Brr4oeRrx84k2q+2se7X+C+09wURs/wjyNKSXt0SzYMl7FG5aQYnXOiL238S+Q1H+mg== 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=sXIHAMi1DzeJmwDTZs8USbrB0VLc+BG2u9qxklcvQ44=; b=j6oYNSc9c3n6EENRYJb/yJVBufG35r6w38qwZiKArniEY+PWo2sstTskarT8nRqb/mgr/tp9q3PMEiyinMUgH/eXug0g79B4W+jy6/PJBDOi8ZQyZAQRFMrwixKw584LtVkuGI4yybF9BzCxwNrgrMBjEsk6AeUTxbVq5J6Za2sIflOqBy3dSnvAhB68Gu3Y2etO16iMTP+qr1s7f4ZiWKbVKFg+OhYySbX8Rt9IX93guG4Uvc7YDD98EQZ3n5mTclqwtLchFacLVcmcqt6sT2AaxENqaQBvV2LR4E2pDskj7/+nWw8JxyNlG2Jn3/ThCtkVF6in/V/kzWNS80nQJQ== 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 CS1PR8401MB1045.NAMPRD84.PROD.OUTLOOK.COM (2a01:111:e400:7511::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3933.31; Wed, 17 Mar 2021 08:14:25 +0000 Received: from CS1PR8401MB1144.NAMPRD84.PROD.OUTLOOK.COM ([fe80::adb6:a875:93ca:b54a]) by CS1PR8401MB1144.NAMPRD84.PROD.OUTLOOK.COM ([fe80::adb6:a875:93ca:b54a%12]) with mapi id 15.20.3933.032; Wed, 17 Mar 2021 08:14:25 +0000 From: "Abner Chang" To: Dandan Bi , "devel@edk2.groups.io" CC: "Schaefer, Daniel" , "Chen, Gilbert" Subject: Re: [edk2-platforms] [patch 21/35] Platform/SiFive: Consume RegisterFilterLibNull instance Thread-Topic: [edk2-platforms] [patch 21/35] Platform/SiFive: Consume RegisterFilterLibNull instance Thread-Index: AQHXGnSdSl59670Mdk2ffmOC6mNnFKqH1hIw Date: Wed, 17 Mar 2021 08:14:25 +0000 Message-ID: References: <20210316145428.35616-1-dandan.bi@intel.com> <20210316145428.35616-22-dandan.bi@intel.com> In-Reply-To: <20210316145428.35616-22-dandan.bi@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.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: e6f43390-4177-4e54-1db2-08d8e91caded x-ms-traffictypediagnostic: CS1PR8401MB1045: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:196; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: jp/9x39uIOUONqkMVBKUolut21DDtBxoRmOUsO/7b3AvFZDLm0EGiU52oFbRr8aDjbNsA527zwUWF1t4Tf+pJS5it2m5HsMi1mMKfXXB8XaJ8mo7dV6pZI4g+IaZ7TjCEZ1nQBXFy3g8fxADTY7BY0sM3fPLTL4hmU+PemnOxhOTQdK4T166Hr1LVqIjfCqJfUM+IqmeD6U+9UXlzDRfS0gDo94kUxIVZNybIuvROwgTrmfDA2k8HBPgL9CjsdMu7okzYLxICFhrwXR5T4pikP6CMqnj+n/naEwYvaq8oNyFuuDJ0FYPRqvmEK2oT6GqhFo0Jr4tXxfVeUcnr6hQtsWErTbiPBcCoki1Nvx1uZwqx6HMzU9xk28Yckf9Szo4q+4gPCdQjun85kM+uCHgYjRvoIj/m1RiKs8PKJXb6yjVHkHSJInzgLVylUUdnnkmSe9z6+BJZXrvaCi2JePXKhIPOxa+wiauQZwOWcJ5pt2jlkQMve+Z/4pdIkWlZnUOc9C++hrN792CX68aBANrCtMUK4dWKecO5M/2VwSIvu+qV2nocUYkSLy8FgvkEI8LgQWwhlqntwmsX42sGRM1dClNSbNr+8HXUySpDqVb3k9T8fZv7hlWty1kn1jITW+At8VgiKsnohSQlzFareR9FQ== 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)(346002)(136003)(396003)(366004)(39860400002)(376002)(8936002)(7696005)(33656002)(54906003)(64756008)(186003)(8676002)(66446008)(66946007)(53546011)(86362001)(6506007)(9686003)(66556008)(478600001)(316002)(83380400001)(5660300002)(4326008)(2906002)(55016002)(66476007)(71200400001)(19627235002)(76116006)(52536014)(26005)(110136005)(966005);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?9dWFMtsC5KDGPCo45kQDOnhxX4q/f78vzVwlNJNlIWFdx5OpU3Llm3KuHf3K?= =?us-ascii?Q?SCtRav6Fu8dQVbPMVbunS+8oLjAyTbVFYQFBF+uFO4BL8u132pX9Yvgwg40m?= =?us-ascii?Q?F+QK2z1pbfr2FOwnvKYE79StJf234FItel6nZxxrIRvTJGVoZq0izTs+F2Ws?= =?us-ascii?Q?yW36A9s8BjLXwnJINlNplmm5fVntp8ABxeCN7ze5zAhPQEKLh1ppTWSf9974?= =?us-ascii?Q?kKSLw/xLAL9vNCqSfKu+NaLpOZ1qJWJSaFgK05VIgObxxKPCHazsfkgIsvaO?= =?us-ascii?Q?XSaSJbPQNPv7CKL/gX/NdYTX793Dt96hC7LHuGXecjDSy87LQ1XlwlefimAR?= =?us-ascii?Q?CI6Df+SslQbh275WLyRi1TPoWjTYFWdgp4fIJP5Jw2+lIJV638qQefmvBTvl?= =?us-ascii?Q?fShWF6tNqbQyDqkhmRzKhDfDMn2QKZd7rG64gwiw56QsBgcFSKZWKhz4BiYC?= =?us-ascii?Q?OdeSWLiBmYymaNjIU84uV0Ch2lDaUKPY9Tn6shyuy1uQiKibA5qk0X9dFZGI?= =?us-ascii?Q?ZXi9ci0gUsQLL4qgupR6VgWvrCPnrf0MEkvJmppUysq+EA/puDpyvCQ21xi8?= =?us-ascii?Q?80KLzXAdFS20PHpK5f/k6WQSZ+N6atP7+j71dxgpjFcNqrK2ZCvhSST66ndS?= =?us-ascii?Q?LsZqmgOOEtEfay8Kxk9zCOLJdDRvzJ1Y4nAtheTBkKY9SI1zJ2N9n5zK+kN9?= =?us-ascii?Q?EiiFkZE+Y7fjjP3OFTYsTOuiIOfow1QqrxPnwceAiI3ReximtNJJ8fybwYzZ?= =?us-ascii?Q?NJ4w1opmFo5MZTmZhCtxy0Wx7NVauAk7eFXy/xZXhn1no+mpIHajwzUwslQJ?= =?us-ascii?Q?VYGbyG7lzeCwf04+QT5aPaVbwIq9oeypIkrc+MG3L9tUNLfcIOSQlwRy/KcO?= =?us-ascii?Q?VygkqsJ/Hz8D6c84V2pMCXHrZZ5NHBKz6a46d+AwO3f2YyLyI5tbnaVTZupZ?= =?us-ascii?Q?Ld0fSnovKK/DbofI8W9jWjcmCkU5hVlNoePMEUMf7eQSKWMXEEXp6UrQGm0r?= =?us-ascii?Q?DH4/w0520p61jzTBW7lWLqhMh075ljGly09/G2QpUIvbDPyGwUg3VabU8u6+?= =?us-ascii?Q?sIIrM4Lfv7XtInOAl8Dni6ybB0R4NZxIxKVXQ72NMb5Tu6WE/SHU0+aK9qzM?= =?us-ascii?Q?sj4+HCUgU8BQFcM5VaE3jWqkfKMEjufVyfNLgnWO+YUhracVwmW6W+BvmM8B?= =?us-ascii?Q?7/nJTpw7eKWzvZLpg25DXCisZKOyBEE7Sap4jJnGtBkyAUj74TKn5LK85u1Y?= =?us-ascii?Q?Agq1gxbh2Qya1u8BTC/c4hK2ry/LJOG+K5jA7JXzuWVPXZvpQ8oBPsoEVnec?= =?us-ascii?Q?63VDThL1yRmZSsJCiPMaRrqw?= X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CS1PR8401MB1144.NAMPRD84.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-Network-Message-Id: e6f43390-4177-4e54-1db2-08d8e91caded X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Mar 2021 08:14:25.8319 (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: E5sfozf/woIhGphMnWrnjTiEyLedaDQXydJZpUl7NtPwHS1lsklweJPDZAIHLFQo9b9AjmwTxi4mSMKpxmFcYA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CS1PR8401MB1045 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.369,18.0.761 definitions=2021-03-17_02:2021-03-17,2021-03-17 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 spamscore=0 adultscore=0 mlxlogscore=999 clxscore=1015 mlxscore=0 phishscore=0 impostorscore=0 priorityscore=1501 lowpriorityscore=0 suspectscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2103170063 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Abner Chang > -----Original Message----- > From: Dandan Bi [mailto:dandan.bi@intel.com] > Sent: Tuesday, March 16, 2021 10:54 PM > To: devel@edk2.groups.io > Cc: Chang, Abner (HPS SW/FW Technologist) ; > Schaefer, Daniel ; Chen, Gilbert > > Subject: [edk2-platforms] [patch 21/35] Platform/SiFive: Consume > RegisterFilterLibNull instance >=20 > REF: INVALID URI REMOVED > 3A__bugzilla.tianocore.org_show-5Fbug.cgi-3Fid- > 3D3246&d=3DDwIBAg&c=3DC5b8zRQO1miGmBeVZ2LFWg&r=3D_SN6FZBN4Vgi4Ulks > kz6qU3NYRO03nHp9P7Z5q59A3E&m=3DCb0wvC-JhDZlZpoJFTmLyTkS- > M7F7MNmmwgIftctJKo&s=3D3tK0RQxCfxSaNAkQVhCZMm9tSQ8UFZ0u6IhZL6 > Oa4M4&e=3D >=20 > Add RegisterFilterLibNull in dsc which will be consumed by IoLib and Base= Lib. >=20 > Cc: Abner Chang > Cc: Daniel Schaefer > Cc: Gilbert Chen > Signed-off-by: Dandan Bi > --- > Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U500.dsc | 1 + > .../SiFive/U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U540.dsc | 1 + > 2 files changed, 2 insertions(+) >=20 > diff --git a/Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U500.dsc > b/Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U500.dsc > index 2d652d215f..9610f0613a 100644 > --- a/Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U500.dsc > +++ b/Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U500.dsc > @@ -94,10 +94,11 @@ [LibraryClasses] > UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf >=20 > CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/Custo > mizedDisplayLib.inf > SortLib|MdeModulePkg/Library/BaseSortLib/BaseSortLib.inf >=20 > UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBoo > tManagerLib.inf > FdtLib|EmbeddedPkg/Library/FdtLib/FdtLib.inf > + > RegisterFilterLib|MdePkg/Library/RegisterFilterLibNull/RegisterFilterLibN= ull.i > nf >=20 > # RISC-V Platform Library > TimeBaseLib|EmbeddedPkg//Library/TimeBaseLib/TimeBaseLib.inf >=20 > RealTimeClockLib|EmbeddedPkg//Library/VirtualRealTimeClockLib/VirtualRe > alTimeClockLib.inf >=20 > diff --git > a/Platform/SiFive/U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U540.d > sc > b/Platform/SiFive/U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U540. > dsc > index 9f60475189..b3d4427a8a 100644 > --- > a/Platform/SiFive/U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U540.d > sc > +++ > b/Platform/SiFive/U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U540. > dsc > @@ -94,10 +94,11 @@ [LibraryClasses] > UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf >=20 > CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/Custo > mizedDisplayLib.inf > SortLib|MdeModulePkg/Library/BaseSortLib/BaseSortLib.inf >=20 > UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBoo > tManagerLib.inf > FdtLib|EmbeddedPkg/Library/FdtLib/FdtLib.inf > + > RegisterFilterLib|MdePkg/Library/RegisterFilterLibNull/RegisterFilterLibN= ull.i > nf >=20 > # RISC-V Platform Library > TimeBaseLib|EmbeddedPkg//Library/TimeBaseLib/TimeBaseLib.inf >=20 > RealTimeClockLib|EmbeddedPkg//Library/VirtualRealTimeClockLib/VirtualRe > alTimeClockLib.inf >=20 > -- > 2.18.0.windows.1