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.web11.16057.1616983129973227924 for ; Sun, 28 Mar 2021 18:58:50 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@hpe.com header.s=pps0720 header.b=b0U2HCZu; spf=pass (domain: hpe.com, ip: 148.163.143.35, mailfrom: prvs=07229378b0=abner.chang@hpe.com) Received: from pps.filterd (m0150244.ppops.net [127.0.0.1]) by mx0b-002e3701.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 12T1w5Ei025099 for ; Mon, 29 Mar 2021 01:58:48 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=vN4E9JE1v5/JYtXGvDO2LlE7YXii7tz/1+VbvY/go1s=; b=b0U2HCZuqJ0pWIB2raNsetNyVSX1eBMvSoqARB8ycQPYrhb1RLB9T9Z+OzmbbLcfgdAM +/XWWJqq+m9wM52Veu9gY+foRx+miXbwRhtNMDGLwHfTxjTzHZiFbKJmji21ooBDETyS DQGCPpsmeVyA8A75ZbtMfWbowSFYVeyGK4tqUw+OMO5ksHqL+jw0Sw4NRQvlsXYx52v4 AOcYC91P39GAcj0wEr4Hl9Upta0USrYyc9wj7VVGXGIKJmuuRjFGNcNH5VMxz9uNSJgx qiW98nUMURr8e4zg09yfPoY3Cce21BQJv5uAmqLlCunGjyoMUgSwIMqdLJcpUETG5t0q Bw== Received: from g9t5009.houston.hpe.com (g9t5009.houston.hpe.com [15.241.48.73]) by mx0b-002e3701.pphosted.com with ESMTP id 37hwc4h691-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 29 Mar 2021 01:58:48 +0000 Received: from G9W8456.americas.hpqcorp.net (g9w8456.houston.hp.com [16.216.161.95]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by g9t5009.houston.hpe.com (Postfix) with ESMTPS id E532C58 for ; Mon, 29 Mar 2021 01:58:47 +0000 (UTC) Received: from G4W9121.americas.hpqcorp.net (2002:10d2:1510::10d2:1510) by G9W8456.americas.hpqcorp.net (2002:10d8:a15f::10d8:a15f) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 29 Mar 2021 01:58:47 +0000 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (15.241.52.10) by G4W9121.americas.hpqcorp.net (16.210.21.16) with Microsoft SMTP Server (TLS) id 15.0.1497.2 via Frontend Transport; Mon, 29 Mar 2021 01:58:47 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GZIRYm6UjIcm9cRNFxL3V1qUPf947DwerCBCgzpqlgg8qD3VEaQDRkwXWRRq0eicLJPAPMRMospPnrUzceKoB6Jzmh95mpw/OgQHCxKAVk6Y2nnSnfMrhue+YvXnfvM0ulxhWHNJ1/eKdFTD0NHJR/zZyU3oBmbS2LU8h//glFnzfk+y4DGes9Bv8hUj5fQKZxP5QZ+W2z2LQ/b7Zx+jQk2gN8RFzYL686bG9L51dm2sjIYh4TmVY5sT+PaOXVrAMnyJGl5zfnMm9FBelDNFKPtkOwrBlhFDPwQiVG7Dadc0T94PQMbfHFPXNeqSNdu7vjXIXTdYnXA/ZLbVb66wAw== 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=R73f1VoAGhkWghWCDk8TBCsn2C8sf6hRXI+uJwCWq8o=; b=l7EB2sqlaHXxtodAY0HSxootjXDLG3gVVX40+oObhKd9OzYD6cq5yRwaW5gfWTWaCbsvw9YsSHLxhhqcUfW3hYVPsL05xGXkPRfl8FKG2rqMGJZ4dNJXfHvU1RsT9tXviITg9rApFzv1p+0L/Nei7dOJo3f+xDYBxE7KsQdPfwMgN4XIWzItqr13HVYnpOe0X8ziCpMCea/h3Rji6SPeadu4jJHkThpW6zRmbM+EIY5QPQGOUbzpYybdppAkP1MDnlI3Vq4D1Fjx2E8nIke1O6Y9JtTgwnAM2sLI5/UoZ4oL8D8OkhkdSvw0CebfCmAImGVxVJq/7ehLnTXoeMgOKg== 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:45 +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:45 +0000 From: "Abner Chang" To: Dandan Bi , "devel@edk2.groups.io" CC: "Schaefer, Daniel" , "Chen, Gilbert" Subject: Re: [edk2-platforms] [patch V3 20/35] Platform/RISC-V: Consume MdeLibs.dsc.inc for RegisterFilterLib Thread-Topic: [edk2-platforms] [patch V3 20/35] Platform/RISC-V: Consume MdeLibs.dsc.inc for RegisterFilterLib Thread-Index: AQHXIhueDktgH0Ja0U2MSR+d8hiVi6qaOdzg Date: Mon, 29 Mar 2021 01:58:45 +0000 Message-ID: References: <20210326083922.24340-1-dandan.bi@intel.com> <20210326083922.24340-21-dandan.bi@intel.com> In-Reply-To: <20210326083922.24340-21-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: 07e3ec67-6630-47e4-4693-08d8f2562fdf x-ms-traffictypediagnostic: CS1PR8401MB1047: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:5236; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: JtYhsB6InMT4lsMrAJ7a5b7LSNZYt0nkNM2CYF8p6QbEdFLclt0unIzLoLE1xrIomscoTJtnl/8A2locSG7P/I3h4l95rBUZrTsSoF7z7Lbl8tw/GR3DXgIxApkqgRqiqQupq4LmrPAzpc51DAQ1lWgaL8qIdKAhcukTDpA875+CQ+yQ+Onzt4VOAe1BZm/p9CTQzeyfN2klgybyVxi3m7fZpTl+YXfCvBg/oQehtE4JbUm5Yt+AzzMHr16cN98BoUxDOFK8IIyD3P/T9Hw/LkRlk4M+KrT3cfKrlBWsauDGJtCXsQgLXB1Amkix2DuGv2v9sMDRTQJzn9CVeytDiBeEuyDHQ8xcgq/fFBJTvDH0KXxH1PsPvvqc1IyVluOxhvO2Qe0x2uEDWljjtvZHhQ2j3sPTawCbLBDEsSdNkDWoXf+CMSdK4Fibz34aBwv06HbM5x8sxz0SR0Yug/tXd1ml1v8EZMRWTygvMui/kLYz3emanLkkjCL01synO836QTvuzZcc+izl0xWDqUuKS2VLsRam4TTgD0ZFe43RK59TLWjJcPldaKGZRih1fBheSOIkMEb6k8Ma4rzSKHTSeMV+lT63xC6kGEN4lHsXxeaI/bIuDb97M+9irhEuxsdeLycJ/EWr1x9UF9e3sPRG4whTLUlEUzwUGsma6HitjTP7tHzR22dNoXrz5LCgLVoUduOXeickFwgcWkzS69982wNaCUB5uaxpNjuNbGb4gs0= 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)(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?oYzusRdKEfnTX6eOrKN+fEvSZGb2+oRminxatiwZMII5bfWTlqxakPL5EHQ1?= =?us-ascii?Q?vtTx+4gQqvr6FGxj2uCav5bmR7s5ze1Je/+z2IycDMTBSuqeZRD9i62UnZyx?= =?us-ascii?Q?Z4siw285q0yG83ktwgcNNO4/xiCVCSncaHps4WKqhyU240/tOOaYP6E+iOPG?= =?us-ascii?Q?HVR+QjtIOSanuPCO/WmZYDCNRiPPVwR7pQddxYmpxcAO5g6/ntQkcPoRmXQ/?= =?us-ascii?Q?LbwMQ0PocdBFCdmaXBAtKIizz5tWOUUSuCh6sO3z+HSvEQh+wZ0Dx1wWSx7k?= =?us-ascii?Q?tO9s3cx4oE+hV0ASG7me5ZmXDlu/dgU4trehrW8T+RrfnZNKXpZkEQq1OvL4?= =?us-ascii?Q?V9FdDxo3u8ytECSFn2Dzwrb/6rgn4Fp1H7fKUt9vZMRYFN+ikUkAoE92WF4l?= =?us-ascii?Q?0Bks3uztydrVBWQb4gE46mSTfvlYDWhtRNyXpjTNxF/30aLWmJCBJWlDyN+1?= =?us-ascii?Q?MKdideY6hCyC7nngudp+g+YIZQRnUpoSShs1aUKpr8BfdloT1TPYF10QRN2Q?= =?us-ascii?Q?aIh/2KEvx9tijY9+umVl21P15jni0bcdPG3Ygm82/H0CjaGEOAQpk+AaW261?= =?us-ascii?Q?eR3Z8MoJReQf6s83gchlwp5ICjkcS8nxFCEa8IWj5cffpFScW/aBOWw/OofE?= =?us-ascii?Q?1Z8NSx6Nr8HWlYMg8k+Htw/i0Y/1okoW/FH3/NCjNm7sl1Yv5PuycgwHfx/p?= =?us-ascii?Q?yGfvfcazuRXz8xpDMYfcQEYU0QV5X5jMTDXa0StkC3we+Jki6E3MQtE8lMdB?= =?us-ascii?Q?0VcfFS3GbYMOGmRf3JrMv4v+enVUvsm9rNXCG3cvvtYnDmxP5Y88ixdhISyd?= =?us-ascii?Q?zaKVABn4BmOtjOxUO4wlrL9+JfshloAW5wUaJLIBfXwzWlJOppCLWLNobHz0?= =?us-ascii?Q?rewdmwgksw++JcU6fLzLJJR0Lcdsv1XnVfOOYcr5J81Ah24MLUoWtA2QNUR1?= =?us-ascii?Q?Ug95GQxZ0JlIblBupqClZUyPwq0aFOkMZnXZndAOp6mZUsBeP8ziyd5/MUK9?= =?us-ascii?Q?EbWB2eRH+cUmR8rDZFIEVVglbM7FGW1/atH9/qB0FCGSqfuktsEeGk/Iq6da?= =?us-ascii?Q?mf0wzLmeCAgp+x/+o726J0y0dAR90jluWZ8vvdwQCVwANa/kRjICyEru9Zsa?= =?us-ascii?Q?6Yhta+6E5idw4+QKy+Lpx1mV8hktUFtUoe+eGBdY0nSIbkSO/GqgIIv+ygZL?= =?us-ascii?Q?AaIjXq7/DbbPaIfZlAZmZLKmLsDLKLeRDKs5Gs2sZgZ83/sdYrrF90lW7U7D?= =?us-ascii?Q?LjSNPdxcM9Hbj/hkMfeKm1bznaUVBidRjs2/A8w6qmA/EgoPP/i7d0lJ8KXn?= =?us-ascii?Q?lTtoS9OdclxaQqF5Y4JgG7+n?= X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CS1PR8401MB1144.NAMPRD84.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-Network-Message-Id: 07e3ec67-6630-47e4-4693-08d8f2562fdf X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Mar 2021 01:58:45.6626 (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: 34U9gyzaNMGF6jXnbCEEhVmx4xeg/uwcK8P+9CbjAARAffWytdlE8tRjpSYkGPlE5vuPcXLYhZ8eJuYs6bgtWw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CS1PR8401MB1047 X-OriginatorOrg: hpe.com X-Proofpoint-ORIG-GUID: EsJ3MiY9Ibi9PxL_2f3V_PDZfszDPjpN X-Proofpoint-GUID: EsJ3MiY9Ibi9PxL_2f3V_PDZfszDPjpN 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 priorityscore=1501 lowpriorityscore=0 spamscore=0 malwarescore=0 bulkscore=0 suspectscore=0 mlxlogscore=999 clxscore=1015 impostorscore=0 phishscore=0 adultscore=0 mlxscore=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 20/35] Platform/RISC-V: 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=3D3Ut4hhEyZDbul2hIaDzUdz- > eIVkbh4MI_N9NkTGHQRA&s=3Dysb22szNtvQEtzB-0NYy- > UJ577b0hqVcww9rqwibN4k&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/RISC-V/PlatformPkg/RiscVPlatformPkg.dsc | 2 ++ > 1 file changed, 2 insertions(+) >=20 > diff --git a/Platform/RISC-V/PlatformPkg/RiscVPlatformPkg.dsc > b/Platform/RISC-V/PlatformPkg/RiscVPlatformPkg.dsc > index 092717d2ef..5d9674a965 100644 > --- a/Platform/RISC-V/PlatformPkg/RiscVPlatformPkg.dsc > +++ b/Platform/RISC-V/PlatformPkg/RiscVPlatformPkg.dsc > @@ -34,10 +34,12 @@ [BuildOptions] > # >=20 > ########################################################## > ###################### > [SkuIds] > 0|DEFAULT >=20 > +!include MdePkg/MdeLibs.dsc.inc > + > [LibraryClasses.common] > RiscVOpensbiPlatformLib|Platform/RISC- > V/PlatformPkg/Library/OpensbiPlatformLibNull/OpensbiPlatformLibNull.inf > RiscVCpuLib|Silicon/RISC- > V/ProcessorPkg/Library/RiscVCpuLib/RiscVCpuLib.inf > RiscVEdk2SbiLib|Silicon/RISC- > V/ProcessorPkg/Library/RiscVEdk2SbiLib/RiscVEdk2SbiLib.inf > RiscVOpensbiLib|Silicon/RISC- > V/ProcessorPkg/Library/RiscVOpensbiLib/RiscVOpensbiLib.inf > -- > 2.18.0.windows.1