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.41955.1609126968119787522 for ; Sun, 27 Dec 2020 19:42:48 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@hpe.com header.s=pps0720 header.b=img7ZTwT; spf=pass (domain: hpe.com, ip: 148.163.147.86, mailfrom: prvs=0631b2466e=abner.chang@hpe.com) Received: from pps.filterd (m0150241.ppops.net [127.0.0.1]) by mx0a-002e3701.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 0BS3XL3R014965 for ; Mon, 28 Dec 2020 03:42:47 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=R13REPYU4cl/7Eg1XONri460WvQcT0aWr2BfrNa110I=; b=img7ZTwTdEvr/EK3z6dXEnyJgtHL62T4WttkRK6H/W0JwJbBbc76jKdbB+L3HBESx3Mg AzaQEZ++DLtg5GJtzWUfdJwhiomj4qytF8sK8RR5LwU39iKF2KS/0EDp5437FgmaRdgS sDWI8kEV4ifMZUfW6wRa0jNbRcowhDhZDMrxGNBsXZJp3u3oPSk4uu8YTUX0NrMC+/HI s8gKgjtMix47FSdjCX1wxkZU1iv7JbygEJHjzeKjESX/FL/06CFJIAKhXG/EAdDESbZ5 AaDmwdzjYBMe5R9Hqnc09pc4RvjzKT71rqcx55f/JBiz/JrGYWehoD7CZDlWOBbJG+/4 Jw== Received: from g9t5008.houston.hpe.com (g9t5008.houston.hpe.com [15.241.48.72]) by mx0a-002e3701.pphosted.com with ESMTP id 35pf11462a-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 28 Dec 2020 03:42:47 +0000 Received: from G2W6309.americas.hpqcorp.net (g2w6309.austin.hp.com [16.197.64.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by g9t5008.houston.hpe.com (Postfix) with ESMTPS id A30CB70 for ; Mon, 28 Dec 2020 03:42:45 +0000 (UTC) Received: from G1W8108.americas.hpqcorp.net (2002:10c1:483c::10c1:483c) by G2W6309.americas.hpqcorp.net (2002:10c5:4033::10c5:4033) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 28 Dec 2020 03:42:30 +0000 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (15.241.52.13) by G1W8108.americas.hpqcorp.net (16.193.72.60) with Microsoft SMTP Server (TLS) id 15.0.1497.2 via Frontend Transport; Mon, 28 Dec 2020 03:42:30 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XATtOo6UoFdgcKH1T4kY10Y4Y7HsFE6meIkIQDfX5o+pSyx8MocHKVKfr/yuxrf8YJc+vFfL9eMtJCMY5KUVPxQLqzFKqEYuButzHCNcL2R+G2m8ZUcjnxJjGE9EkvCXmf+jDZ01hstzK4tl6L/Q14ZJhqItYPs7ht722OZiEC/FYZw1Vhmiqj1rZ7uoJjrW20vjApTTzxFJj+86YNAS680sQl0IzBlkhj4sk250vp+/D0hjJ9+H8LRbuUJgLYpzGiscnMBH4XoiSQObIt+nPM6Jw4UmFNHumZKsED9IH/cKkWzg+W06yRhcU+shqUI0PHzcXew7OoiVwcGBiBw+DQ== 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=DLiZdjkLqVEV/gOyVa/j2Dlq+8mEZWC4QKsMgTwcgtQ=; b=U/Oz2IRKw26dJZaOVVrq/bo4VQJMjCMioK6KOXr7rN7oemuv+2tmTQtr64EVw/sV6YXHYiHRiJykFqvOv0TYzXDpIGD7HeX1oPfTzA4BA5InqXWZ8WV5RsHuWZvVAAEBBaIh+lc2/qRhaKjQp9nEAKTn64Ji0hmeLd9FqwjRgXoTorCmoUrWuKfY9ZGH4rdzfO8opN763SZpxgdqz/CiFu23LymkEVFZepR8Fi2pMNVwTVImIpe2/0E7qMuo9yI5p1o2641l+Op3mbZ5IvAvh7Wx1A3F5nVzk2P1TtVpSzjqNNgf/2IcK0c7ERrOaZnrS5FmW/w/HUY1Ho2rrnc4Kg== 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 CS1PR8401MB0517.NAMPRD84.PROD.OUTLOOK.COM (2a01:111:e400:7513::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3700.27; Mon, 28 Dec 2020 03:42:27 +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.3700.031; Mon, 28 Dec 2020 03:42:27 +0000 From: "Abner Chang" To: "devel@edk2.groups.io" , "zhichao.gao@intel.com" CC: "Ni, Ray" , "Wang, Nickle (HPS SW)" , "O'Hanley, Peter (EXL)" Subject: Re: [edk2-devel] [EFI Shell PATCH v2 2/2] ShellPkg/UefiHandleParsingLib: Support EFI Redfish protocols Thread-Topic: [edk2-devel] [EFI Shell PATCH v2 2/2] ShellPkg/UefiHandleParsingLib: Support EFI Redfish protocols Thread-Index: AQHW3MiQm19cUgZ+fkGhMvB3JqbtzqoL3OEw Date: Mon, 28 Dec 2020 03:42:27 +0000 Message-ID: References: <20201106074748.21286-1-abner.chang@hpe.com> <20201106074748.21286-3-abner.chang@hpe.com> In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: edk2.groups.io; dkim=none (message not signed) header.d=none;edk2.groups.io; dmarc=none action=none header.from=hpe.com; x-originating-ip: [1.34.113.40] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 022906d9-430d-4369-18f1-08d8aae298af x-ms-traffictypediagnostic: CS1PR8401MB0517: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:449; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: UFX2rFYP3qMwE7JUoSsGZMv99JtmmgcoEFdZi7mdjiRrcZctYV3j8CYnk8sfPsK8cnVAXMdfsjW8mtN9k9VnXEJWOrdbms6S89Lovw0yhAIZ7jUvg5eHezy3lFBjHFnxkHhdVmhH6qDAGyTO/ig1GtImKk40nAu4JKb3fOLaNHwmgPRF1vKMQbvWZ2ioOWFS1CxCt89MKk8Aeq8HopAVdGe/NY2F/W1txvO3VGlSgtW1Fy/U+umsmvTP0mMrK39crCDRgrY2M4xy9Z9Zw9flQqR6r6G+wD3HCSgijsSGn0k+Ot6PK62giCk0eWmaZaWx4PoEd9XLGTG63HmG2dIVWhJ6AiLqJjqo6vbXsaJ5QTQMnmoE+DRyGZ094K9YEWhH4Vh7a91ml8WODWepwPxwJtv/g85NPLixwheh1Dk3WHzV5Rmrojd6aGU50MNk68UpaPSV9CBRnEPbpg934OBo9Q== 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:(346002)(136003)(39860400002)(376002)(396003)(366004)(966005)(478600001)(5660300002)(66556008)(316002)(26005)(71200400001)(4326008)(9686003)(55016002)(6506007)(8936002)(110136005)(66946007)(19627235002)(54906003)(2906002)(8676002)(33656002)(76116006)(83380400001)(52536014)(86362001)(64756008)(7696005)(186003)(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Aw25tXNheG5wXYzV4vl?= =?us-ascii?Q?AONzU1BbrKGo2sz5UHzV0wTHTJJrM44ltaDbUPpkn36mAnwRWDzMjSH1G+Wv?= =?us-ascii?Q?N3y2dvQsLHAKLQ6PhXQhO3CwoXlWY3oqaykpLr62Yy6SLy7Iz+q5LHPPOAj/?= =?us-ascii?Q?Rcc08Ye+dPgfFG94n8gg8OToOls67PRTTaTtByI1Qm8=3D?= X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CS1PR8401MB1144.NAMPRD84.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-Network-Message-Id: 022906d9-430d-4369-18f1-08d8aae298af X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Dec 2020 03:42:27.2718 (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: yLOFMGSRd7iSlgx+hy34yIJsdReWAW0H5WoJ/LegLCi3pN7tCqEVoenQ1qvkpcAIddPFIPiM+bm2o937+Bj8ow== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CS1PR8401MB0517 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.343,18.0.737 definitions=2020-12-28_03:2020-12-24,2020-12-28 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 mlxlogscore=999 impostorscore=0 bulkscore=0 phishscore=0 mlxscore=0 lowpriorityscore=0 malwarescore=0 priorityscore=1501 clxscore=1015 spamscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2012280020 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Sure. Thanks Zhichao.=20 We will have to wait for UEFI 2.9 release then merge these two patches to = master branch. Abner > -----Original Message----- > From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] On Behalf Of > Gao, Zhichao > Sent: Monday, December 28, 2020 11:22 AM > To: devel@edk2.groups.io; Chang, Abner (HPS SW/FW Technologist) > > Cc: Ni, Ray ; Wang, Nickle (HPS SW) > ; O'Hanley, Peter (EXL) > Subject: Re: [edk2-devel] [EFI Shell PATCH v2 2/2] > ShellPkg/UefiHandleParsingLib: Support EFI Redfish protocols >=20 > Reviewed-by: Zhichao Gao >=20 > Please make sure #1 pass the review and it should be merged along with #= 1. >=20 > Thanks, > Zhichao >=20 > > -----Original Message----- > > From: devel@edk2.groups.io On Behalf Of Abner > > Chang > > Sent: Friday, November 6, 2020 3:48 PM > > To: devel@edk2.groups.io > > Cc: Ni, Ray ; Gao, Zhichao ; > > Nickle Wang ; Peter O'Hanley > > > > Subject: [edk2-devel] [EFI Shell PATCH v2 2/2] > ShellPkg/UefiHandleParsingLib: > > Support EFI Redfish protocols > > > > Add handle parsing for EFI Redfish Discover protocol. > > Add handle parsing for EFI RestEx protocol. > > > > Signed-off-by: Abner Chang > > Cc: Ray Ni > > Cc: Zhichao Gao > > Cc: Nickle Wang > > Cc: Peter O'Hanley > > --- > > .../Library/UefiHandleParsingLib/UefiHandleParsingLib.c | 8 ++++++-= - > > .../Library/UefiHandleParsingLib/UefiHandleParsingLib.inf | 4 +++- > > .../Library/UefiHandleParsingLib/UefiHandleParsingLib.uni | 4 +++- > > 3 files changed, 12 insertions(+), 4 deletions(-) > > > > diff --git > > a/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c > > b/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c > > index 500a95a89a..c00337d6b2 100644 > > --- a/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c > > +++ b/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c > > @@ -3,7 +3,7 @@ > > > > Copyright (c) 2010 - 2017, Intel Corporation. All rights reserved.<= BR> > > (C) Copyright 2013-2015 Hewlett-Packard Development Company, > > L.P.
> > - (C) Copyright 2015-2016 Hewlett Packard Enterprise Development > > LP
> > + (C) Copyright 2015-2020 Hewlett Packard Enterprise Development > > + LP
> > SPDX-License-Identifier: BSD-2-Clause-Patent > > > > **/ > > @@ -2355,7 +2355,11 @@ STATIC CONST GUID_INFO_BLOCK > mGuidStringList[] > > =3D { > > {STRING_TOKEN(STR_NET_HTTP), &gEfiHttpProtocolGuid, > > NULL}, > > {STRING_TOKEN(STR_NET_HTTP_U), &gEfiHttpUtilitiesProtoco= lGuid, > > NULL}, > > {STRING_TOKEN(STR_REST), &gEfiRestProtocolGuid, > > NULL}, > > - > > +// > > +// UEFI 2.8 > > +// > > + {STRING_TOKEN(STR_REST_EX), &gEfiRestExProtocolGuid, > > NULL}, > > + {STRING_TOKEN(STR_REDFISH_DISCOVER), > > &gEfiRedfishDiscoverProtocolGuid, NULL}, > > // > > // PI 1.5 > > // > > diff --git > > a/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf > > b/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf > > index 93b69cd8e9..446cd8d609 100644 > > --- a/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf > > +++ b/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf > > @@ -2,7 +2,7 @@ > > # Provides interface to advanced shell functionality for parsing > > both handle and protocol database. > > # Copyright (c) 2010 - 2018, Intel Corporation. All rights reserved. > >
# (C) Copyright 2013-2015 Hewlett-Packard Development Company, > > L.P.
-# (C) Copyright 2015 Hewlett Packard Enterprise Development > > LP
> > +# (C) Copyright 2015-2020 Hewlett Packard Enterprise Development > > +LP
> > # > > # SPDX-License-Identifier: BSD-2-Clause-Patent # @@ -269,6 +269,8 @= @ > > gEfiHttpProtocolGuid ## UNDEFINE= D > > gEfiHttpUtilitiesProtocolGuid ## UNDEFINE= D > > gEfiRestProtocolGuid ## UNDEFINE= D > > + gEfiRestExProtocolGuid ## UNDEFINE= D > > + gEfiRedfishDiscoverProtocolGuid ## UNDEFINE= D > > gEfiMmEndOfDxeProtocolGuid ## UNDEFINE= D > > gEfiMmIoTrapDispatchProtocolGuid ## UNDEFINE= D > > gEfiMmPowerButtonDispatchProtocolGuid ## UNDEFINE= D > > diff --git > > a/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.uni > > b/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.uni > > index 9c8028d0d5..69fcbdfe0e 100644 > > --- a/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.uni > > +++ b/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.uni > > @@ -2,7 +2,7 @@ > > // > > // Copyright (c) 2010 - 2017, Intel Corporation. All rights reserved. > >
// (C) Copyright 2013-2015 Hewlett-Packard Development Company, > > L.P.
-// (C) Copyright 2015-2016 Hewlett Packard Enterprise > > Development LP
> > +// (C) Copyright 2015-2020 Hewlett Packard Enterprise Development > > +LP
> > // SPDX-License-Identifier: BSD-2-Clause-Patent // // Module Name: > > @@ -308,6 +308,8 @@ > > #string STR_NET_HTTP #language en-US "Http" > > #string STR_NET_HTTP_U #language en-US "HttpUtilities" > > #string STR_REST #language en-US "Rest" > > +#string STR_REST_EX #language en-US "RestEx" > > +#string STR_REDFISH_DISCOVER #language en-US "RedfishDiscover" > > > > #string STR_MM_EOD #language en-US "MmEndOfDxe" > > #string STR_MM_ITD #language en-US "MmIoTrapDispatch" > > -- > > 2.17.1 > > > > > > > > > > >=20 >=20 >=20 >=20 >=20