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.web08.16066.1616983141808138284 for ; Sun, 28 Mar 2021 18:59:02 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@hpe.com header.s=pps0720 header.b=bmts73Dk; spf=pass (domain: hpe.com, ip: 148.163.143.35, mailfrom: prvs=07229378b0=abner.chang@hpe.com) Received: from pps.filterd (m0134425.ppops.net [127.0.0.1]) by mx0b-002e3701.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 12T1x1Sq013435 for ; Mon, 29 Mar 2021 01:59:01 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=ALAmyPBKw2z1+KHntSJEwl4+0tUowT163+IpiKDo7DM=; b=bmts73Dkj5xQS/We5BeKgjWMW+vIg7tyzyNO1+xjc2iKGs1s7vc9wsiWgv0lIcYvTwJh LnCeqVO+Ul+Bz985mmlSLFeXyPamopS8qWO/OeaWJZYQmTtJl/6REe1fNdkNczV4pD5P Cn4YiJPsYNAK5c/PohIQccztWFepw+YafXYXggd1SCy3cMCheIP6qwih0AAeWykJCJ6n WzBN07s1i1vbn23bOXDqk0fvhgIWpaKs8Jg/0X8M24yL4J2+NIGFvM3p7LcLwQdp9wsv dMnAZk+xH4jgRl4plh8cR/lUazo5aASHwaq9XwDldkNHulahfuJiiYH3Q4IyxFoJioAq hA== Received: from g4t3426.houston.hpe.com (g4t3426.houston.hpe.com [15.241.140.75]) by mx0b-002e3701.pphosted.com with ESMTP id 37hx0rs2jp-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 29 Mar 2021 01:59:01 +0000 Received: from G9W8454.americas.hpqcorp.net (g9w8454.houston.hp.com [16.216.161.4]) (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 3E14459 for ; Mon, 29 Mar 2021 01:58:56 +0000 (UTC) Received: from G2W6309.americas.hpqcorp.net (2002:10c5:4033::10c5:4033) by G9W8454.americas.hpqcorp.net (2002:10d8:a104::10d8:a104) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 29 Mar 2021 01:58:56 +0000 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (15.241.52.11) by G2W6309.americas.hpqcorp.net (16.197.64.51) with Microsoft SMTP Server (TLS) id 15.0.1497.2 via Frontend Transport; Mon, 29 Mar 2021 01:58:56 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bfIqzepx5O7BhxyMImj3lFPOL1eHjRAWWf8o/rMbLlQauP9C7la1ndfK4eGBXHSqq38R3ZUAlRpkQrmF/ecTa9ijm4O3Ydmm3cqv+/ukTNKI6vrLSEPfobKAZV3FNi+EgzcUUX3f/CjEzVKwaeW1nF+2ZxeR2WW/LtL4pjA5bBhPVJJa+0v0XMmFAQ/uaXkktzBRhIlQkWhmt6H9tP+bU1npGQ2oqwaLYeZWdOGAw1ip7XvwQEsggIQ9Y2LZr3+Sk+eKO6994XAALh1dqabOePLCWCDVhf+2ddVS4x1fIh3gsKYkFALHRSH2zeQiV9WdLAOU+h+537Ug+nkHSJiJLg== 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=fZy3+u4oGNymazWuqWELy2OpyAJBAe0aQTXSOBE4YDE=; b=AtDS0vOxG3nJQEAdGOpB/A9Y21OLcpsO2z2+ASrwJ4Xygrm1UTwAkRZP/8aKd05ShuarRqiIQBc83eb0CYKn3ShWSZkXQ+Wre76A7w+2H4oaShVA495kmNkbvXc3SRIIDU18zi0c5hkKaphjTBYU32D4C56OQIYfJttFnAU8dg5nOzCygeG8AHc9ZosiS0S6bvREN4Musa5I7Xqq5EggDYpU1WHJFK5mkf8fEwF6c/y9gbA7XJmB1QuyQMVJGYqkcgG/mnIoA5mIBtDNbxew4tdE2nSPFxNPexaV29NMbHgFfzR6dFLRNkFisz+ushrqdZVdYSi5OoKtFnGltKtkSA== 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 CS1PR8401MB1047.NAMPRD84.PROD.OUTLOOK.COM (2a01:111:e400:7512::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3977.25; Mon, 29 Mar 2021 01:58:54 +0000 Received: from CS1PR8401MB1144.NAMPRD84.PROD.OUTLOOK.COM ([fe80::28f5:3e45:17cf:9231]) by CS1PR8401MB1144.NAMPRD84.PROD.OUTLOOK.COM ([fe80::28f5:3e45:17cf:9231%10]) with mapi id 15.20.3977.033; Mon, 29 Mar 2021 01:58:54 +0000 From: "Abner Chang" To: Dandan Bi , "devel@edk2.groups.io" CC: "Schaefer, Daniel" , "Chen, Gilbert" Subject: Re: [edk2-platforms] [patch V3 21/35] Platform/SiFive: Consume MdeLibs.dsc.inc for RegisterFilterLib Thread-Topic: [edk2-platforms] [patch V3 21/35] Platform/SiFive: Consume MdeLibs.dsc.inc for RegisterFilterLib Thread-Index: AQHXIhu4dhnbNMS5dkqjUpTfN6iLNaqaOelA Date: Mon, 29 Mar 2021 01:58:54 +0000 Message-ID: References: <20210326083922.24340-1-dandan.bi@intel.com> <20210326083922.24340-22-dandan.bi@intel.com> In-Reply-To: <20210326083922.24340-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: f137fedd-0ef9-4506-74a4-08d8f256350b x-ms-traffictypediagnostic: CS1PR8401MB1047: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:5797; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: QsssY0HowomWOkBGVLNbvOwXOX4gPxdZI/iG5r7Jpb3aQmkhgCTR/uD6h0l/NCJ9nEcX3JjRgW5jYe3+2hTXL1UGE53gdYYY1vkvCi4T3b2ttCbY56J5JVxNjifb9gxuU0LrPeg/N0ghcvlOE/cUWVnb4nmxEcW/9Z/+EoF4BRRnQaDrlHnPPl6Sb3G+SCvL4zEzRxEo3FrtcxJSEy9K7I6pMawJuC1y1hpOt3pMadeaphLRGrvpWA+tgG9XBf+HeTPACL5wTsCQTlbm3KVYv9lUH6bsy8nJ3AVuzUOsyIBwyZ1RP+iATUE51HFY8Fn9tZeDnNaMMMdqt3eo25LVJ1f3BAtUomg+H34gfbqrekI7GArSE+FO9t8+LARY8Ku3f9RtGfitV+Tic3yZeeosEPZe62cC+1e9nlWan49ZPGopvKart7/ghq1+DvnwKt4OF2A79kNAwKKwD/3HDhKNq/RzRUGbLJiwnh0q1lgSAEVhOnZRrRaQ+fl8BiXrveIKiNNbgEx61451i1d3n5NP3MCSOIMiKQNw5qOXUcRr0NUBO9ckHfVapO2MMBVwkkie8tS71EsyvMG5hjGG5Yolu8W1QWy/1Zq8fwY+Jf7Ewmvp3c7dg/uR7iCQEe44yctvOD1x/HRyiw8n2A3IX12U8/m2gxR5OY8Vqjgx2qcXcyLyjweZFt5wV9FwPSQNj/OLLarz+hykOIa+qcMS5q51qOxWFmHCBIpgog0v3Hsr1d4= 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)(396003)(136003)(376002)(39860400002)(346002)(186003)(38100700001)(316002)(110136005)(54906003)(4326008)(8936002)(6506007)(2906002)(26005)(53546011)(7696005)(966005)(478600001)(71200400001)(8676002)(55016002)(83380400001)(9686003)(19627235002)(86362001)(52536014)(5660300002)(66946007)(66446008)(66476007)(66556008)(64756008)(33656002)(76116006);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?2Vz0x5bEKMbMWxn3Difu/RYdwxK/7PaxH6fGa3C7N5vM60cGcrSXPHDSbHQN?= =?us-ascii?Q?FyjRJLG6+IVCK/LB60kjbNdhv32m237jtyvTtEpe9fMTG66cgYTYA4IS8G9g?= =?us-ascii?Q?kA8B46QcnlyGOj7PkGx7k+qy/4maw3gSFNJi0dpDbzIOPibtoH3BS071+2Ph?= =?us-ascii?Q?9BQud3VB+Kq95WAS7pX2HupIGIlUuzYhYipcyQew92K/d/3uB72NxFqpq+m2?= =?us-ascii?Q?qfTax32Ul7Y6YQPvvwE9Mw2k9NEkJP/hJmB/JRZ2Ez8pPfoV7TT0jBiSgJG7?= =?us-ascii?Q?S6Z0N8NBccE578IyhUCUOQHX4W2MYOQsDnC5qOpT8uQ+8yTuDnWmADl1yoRR?= =?us-ascii?Q?k+CvFe4u2JHkB8Kk9+Nt3v0Mglpp8Y6w6IwaaTsxXkqsY1sbZj47pIxBpLn+?= =?us-ascii?Q?UrhK2NxT4Sybe97UJSgFNPjFH8ogVNLIKLG2GB5Kba5osCLCz1MkxayAngta?= =?us-ascii?Q?z4o1nePrwCO5Q2eegA4L8lQ8e0nqGU1J2+fNFsjZ7Fhc7Rpys4LWqXcmvUyo?= =?us-ascii?Q?SCXuPw7RzZvYQUdPwjrEjfJFf4Xh1L2hiTlDLs27Q63DLpUEvJC4imjksj/R?= =?us-ascii?Q?1o/Bt++S8i8HLAYnzs/Boif36z199VJCPvcpowtkkd7Mj7YM8M1vlQf/CYav?= =?us-ascii?Q?0/RNgKFnQ0E01vmJw0cLsupxlc2ysSiDFD6p6R30ABZZfO4iJWd2IQzqdwuP?= =?us-ascii?Q?0BH97EmFShSULvzFZcug8+aEdFberkNKUZvhJ1c7gk5VS9o3Oe6uzOh5DMDu?= =?us-ascii?Q?92IQ1Y81gDRINQT9jbJzctb4g+M+PEziAYM/jthlUgTfeDH3yylTWSMdVcAC?= =?us-ascii?Q?SUbzHhpnxbrGC6Lpoq/yEUwX/HdPy3sIN9JgCU/QzrVRIyLwX0pB1673zlmJ?= =?us-ascii?Q?ayXQqX+RJoaXUkYI5u7z2wVjEzVpAUkGRI4BDJIH3/aLctrKs5Ch6bYZDqHT?= =?us-ascii?Q?N+2J8/z2uc5/gWz4fK0sJxY70ddD0R/TObyrrPR4QgUAMymaprtCFsRom+hO?= =?us-ascii?Q?BCSoiWXxzEWgFzGed6sHy7gezp47Fg0t5FUf/tIVx3X2EeBE7uOLYsgrlTG6?= =?us-ascii?Q?/QdUEiXgM88sVCUkLAKEoGLJZEshoX53xdU4toJ/63U05bg7vTkNgvMkt0Ws?= =?us-ascii?Q?xZ0ep/sWyAB3Dg0vatITH1Y7e/jSQtRXDNfeXEvtkEQO8sXauBJgsxrhamoV?= =?us-ascii?Q?UFeVcPmt05xaEZOck+EfFoLc8u2AuS8Y7swv5bXIr2KgCQCTxBMhcS6h2vEJ?= =?us-ascii?Q?wkRyNjabOI6l2LVpJ5Ephj73h9ZU0ESz65th/nYbzLB1Xi5KoVLANNy6DUpz?= =?us-ascii?Q?KP9M9cYh/pVLLXAnAEZM5nNa?= X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CS1PR8401MB1144.NAMPRD84.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-Network-Message-Id: f137fedd-0ef9-4506-74a4-08d8f256350b X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Mar 2021 01:58:54.3467 (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: 95aFzMFeI5W5Y/lDYzcELLeKI5LD/BS9N2omsGmDjaedrw+KwhtEx/rP7lE9kcua79LxeWZ1w0tSUMPdIlGBtA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CS1PR8401MB1047 X-OriginatorOrg: hpe.com X-Proofpoint-ORIG-GUID: NRIc6ujUqsEXy-lCWlH2-iPwFl4vYHne X-Proofpoint-GUID: NRIc6ujUqsEXy-lCWlH2-iPwFl4vYHne 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-28_14:2021-03-26,2021-03-28 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 lowpriorityscore=0 malwarescore=0 phishscore=0 priorityscore=1501 suspectscore=0 clxscore=1015 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2103250000 definitions=main-2103290012 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: Friday, March 26, 2021 4:39 PM > To: devel@edk2.groups.io > Cc: Chang, Abner (HPS SW/FW Technologist) ; > Schaefer, Daniel ; Chen, Gilbert > > Subject: [edk2-platforms] [patch V3 21/35] Platform/SiFive: Consume > MdeLibs.dsc.inc for RegisterFilterLib >=20 > REF: INVALID URI REMOVED > 3A__bugzilla.tianocore.org_show-5Fbug.cgi-3Fid- > 3D3246&d=3DDwIBAg&c=3DC5b8zRQO1miGmBeVZ2LFWg&r=3D_SN6FZBN4Vgi4Ulks > kz6qU3NYRO03nHp9P7Z5q59A3E&m=3D1gS4Zk0pxQK3vF4oqFkAoL9G7NrZVlIgj > b4OcSPatDw&s=3DH54pTOE25ZxggxmX9Xs1-qH5EAngZoRCVWt6iT_h2Yk&e=3D >=20 > MdeLibs.dsc.inc was added for some basic/default library > instances provided by MdePkg and RegisterFilterLibNull Library > was also added into it as the first version of MdeLibs.dsc.inc. >=20 > So update platform dsc to consume MdeLibs.dsc.inc for > RegisterFilterLibNull which will be consumed by IoLib and BaseLib. >=20 > Cc: Abner Chang > Cc: Daniel Schaefer > Cc: Gilbert Chen > Signed-off-by: Dandan Bi > Reviewed-by: Abner Chang > --- > V3: > Update plaftom dsc to consume the MdeLibs.dsc.inc outside the common > [LibraryClasses] section since we can specify different [LibraryClasses] > section for libary instances in MdeLibs.dsc.inc. > --- > Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U500.dsc | 3 +++ > .../U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U540.dsc | 3 +++ > 2 files changed, 6 insertions(+) >=20 > diff --git a/Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U500.dsc > b/Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U500.dsc > index 2d652d215f..b91823ceeb 100644 > --- a/Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U500.dsc > +++ b/Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U500.dsc > @@ -58,10 +58,13 @@ [SkuIds] >=20 > ########################################################## > ###################### > # > # Library Class section - list of all Library Classes needed by this Pla= tform. > # >=20 > ########################################################## > ###################### > + > +!include MdePkg/MdeLibs.dsc.inc > + > [LibraryClasses] > PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf > PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf > BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf > BaseLib|MdePkg/Library/BaseLib/BaseLib.inf > diff --git > a/Platform/SiFive/U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U540.d > sc > b/Platform/SiFive/U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U540. > dsc > index 9f60475189..0eafe29880 100644 > --- > a/Platform/SiFive/U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U540.d > sc > +++ > b/Platform/SiFive/U5SeriesPkg/FreedomU540HiFiveUnleashedBoard/U540. > dsc > @@ -58,10 +58,13 @@ [SkuIds] >=20 > ########################################################## > ###################### > # > # Library Class section - list of all Library Classes needed by this Pla= tform. > # >=20 > ########################################################## > ###################### > + > +!include MdePkg/MdeLibs.dsc.inc > + > [LibraryClasses] > PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf > PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf > BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf > BaseLib|MdePkg/Library/BaseLib/BaseLib.inf > -- > 2.18.0.windows.1