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.13172.1599892608817656962 for ; Fri, 11 Sep 2020 23:36:49 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@hpe.com header.s=pps0720 header.b=N7qyJa7h; spf=pass (domain: hpe.com, ip: 148.163.143.35, mailfrom: prvs=052443b876=abner.chang@hpe.com) Received: from pps.filterd (m0134423.ppops.net [127.0.0.1]) by mx0b-002e3701.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 08C6Op8c030075; Sat, 12 Sep 2020 06:36: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=cQT4DQvW6lbhGvZh3t8bHE9sKGizY9KwXrRuf1vu7nQ=; b=N7qyJa7h33XGH9uTI22zOCgSeJKBj6Ob/FKbPyl3ZP9hnNCNlWAVCsP2S0oQOoGurZk/ iDhfZmQMjqvl5zsKnrcAg1D6borPJRT0yqj6VaJgl85oAMiddm1/fdu4n/PzLUXoEuHx K9DP9KaUsgfyyVySY+OLp2Swh6sS+JiZuU7CqD94SIHAOHPTa/1hMC5xaGEOGmGRx1d8 JDLIhtffyZ6bZyd3sYphPSmtvDoolxSi6cH9Jj+306r+zJfQXaHcoMWk2K2QhLL6bE19 59MlnJJ6PqOe+mey2J9XLItD3a6W65LWRPyktnWaMWvvuv2zy9mmtxN+8NHYpXZ4vrMf Fw== Received: from g2t2353.austin.hpe.com (g2t2353.austin.hpe.com [15.233.44.26]) by mx0b-002e3701.pphosted.com with ESMTP id 33gku91c3e-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 12 Sep 2020 06:36:47 +0000 Received: from G4W9120.americas.hpqcorp.net (g4w9120.houston.hp.com [16.210.21.15]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by g2t2353.austin.hpe.com (Postfix) with ESMTPS id 08E678D; Sat, 12 Sep 2020 06:36:47 +0000 (UTC) Received: from G2W6309.americas.hpqcorp.net (2002:10c5:4033::10c5:4033) by G4W9120.americas.hpqcorp.net (2002:10d2:150f::10d2:150f) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Sat, 12 Sep 2020 06:29:13 +0000 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (15.241.52.13) by G2W6309.americas.hpqcorp.net (16.197.64.51) with Microsoft SMTP Server (TLS) id 15.0.1497.2 via Frontend Transport; Sat, 12 Sep 2020 06:29:14 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=eV3l8e/hJ07RuDeTKuA6O97wbfB2qXNsre+gFW8RUTJlO3sHlXiXadGnEG6PI4Wm+NlyOvdEfssOXIXI0QPOErXz8JqO5x0DlQ1xLERKVb9kgU3p7Iy2rq9nVHNWYNepwyclrm96XNNV8Iph736GmjYkj2u0+YS6OdCjQRVMNrfZah/1RaYz9om+9AOMtU5VzPAU1sfQy/1C8Liqv7xWvoVHKYnSbejZfnDiwKKx+vlmYwPxGCTlXg4/94Dq/4P6Oeft/czvRaymXeutNkyVqA0+wU//laebfj7EAfonP6YMcdFz2l//euLn6ejScD1ww89yKCtDGCJnqN9goTjKyQ== 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=cQT4DQvW6lbhGvZh3t8bHE9sKGizY9KwXrRuf1vu7nQ=; b=OYRrdVDYKl/QGidN9Sb3oobwQ9QwgsYwQnM7iRKGsL1CeajxegyEqJUfOdAtWFqh8b+PQcRIn6SI1wwiNezrJmfeO4GhnQuJcUuEzyp/wp70aVirM+rfC16z/4elRHyjpaeY8+B3ZE7htvkEVaIw02kwKcATpMQuLF3La7TOHG5RAO+d8+sMNc4uU83GMzy1wxUitJtmfoILkdybk6SgnhgTCNpudRfhm66KBGv8pR73uxzibnLNck0bqdoSUUE2o/8GHE8pqREscCNu2GJ9+C9MB5nT9Wcl+TfXU79wcK0sLg09o8Du33r2K/6gGVg0aIi4h3PK/pifVQqVx9SCNg== 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 (10.169.13.16) by CS1PR8401MB1143.NAMPRD84.PROD.OUTLOOK.COM (10.169.97.10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3370.17; Sat, 12 Sep 2020 06:29:12 +0000 Received: from CS1PR8401MB1144.NAMPRD84.PROD.OUTLOOK.COM ([fe80::4ed:e814:836b:f074]) by CS1PR8401MB1144.NAMPRD84.PROD.OUTLOOK.COM ([fe80::4ed:e814:836b:f074%10]) with mapi id 15.20.3348.019; Sat, 12 Sep 2020 06:29:12 +0000 From: "Abner Chang" To: "Schaefer, Daniel" , "devel@edk2.groups.io" CC: Leif Lindholm Subject: Re: [edk2-platforms][PATCH 1/2] ProcessorPkg/RiscVEdk2SbiLib: Error handling for locating firmware context Thread-Topic: [edk2-platforms][PATCH 1/2] ProcessorPkg/RiscVEdk2SbiLib: Error handling for locating firmware context Thread-Index: AQHWhanRQ2/Ni7DIhE+3JHUkIrhTFaljF30AgAF5LzA= Date: Sat, 12 Sep 2020 06:29:12 +0000 Message-ID: References: <20200908054844.25755-1-abner.chang@hpe.com> <556055a0-5056-7949-903f-0f17999fa855@hpe.com> In-Reply-To: <556055a0-5056-7949-903f-0f17999fa855@hpe.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: hpe.com; dkim=none (message not signed) header.d=none;hpe.com; 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: cf9b1a8e-cd50-4c39-dce1-08d856e52a1d x-ms-traffictypediagnostic: CS1PR8401MB1143: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 1y3OM7fw+KPmwVPnLUCZoOEPCx8tkjtHWgryEYEsPdtBhpSS+W4RtqYD0SIkqsC8FkSy2phZJbQ9yfHs0H1rxn/I2r23ItGqzrlVvUTA/rXvdp5jwZ1KzodaaxdHAwyy/c3vyj2TeFXy1jhChm2lHRHiPudCmK0BzNdZYP7HXsRyRbJTxB2buNEhD6RVO6sdLGAdvQwP6BUW8sTN76fiAI8WQs8eCjqHpcVHGbwR2n1WW94w6PLGzmSB5s2nK+K1Hlx+097rD9PuzcMW0IuRZcA1tO27ch1/9S4OFXSjr22J3ZqLgr78r+Jf34rYa1jN 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:(396003)(376002)(136003)(346002)(39860400002)(366004)(83380400001)(66556008)(64756008)(66446008)(33656002)(8936002)(4326008)(316002)(86362001)(55016002)(71200400001)(66476007)(478600001)(8676002)(9686003)(52536014)(6506007)(110136005)(5660300002)(2906002)(26005)(53546011)(76116006)(66946007)(7696005)(186003);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata: Kdx7tQ9MWiYxkU5BmzHvEfCaWPjSM9xZRqozljm8ksa5A4PSGHwia0067YW/cY+bpal3xsxwXA3edvgv8MoRJUy6RGQTgPEFnAwe6zZzca6BtzDQDR0HWo7nQxFHqN3JdeD1xR/Q+8/1vEANxoNzSwsAVLgpehsWG81zHZ9A/fZdwZMYfyAcZo0c3TklHFWd7GMueKhCBsOIBuiKzfcUhV0PC9fXwCTvsTuTbcHoM2B4aAxcWDlXxN2hKogVdsbzaGTq3dG7skS7zDwBu309ndw7JfO0GNiyrVGcvEcYGB2+Y0PoxvbB0V84WLbdewpVLhl8/b04ODOoF0Nw+pN1xa7SCOmI07Vq7GgiHKcwTBL1I+UhoW8j4hcNKId/oyFYADnJ0otcvRNEW30luamaNmvt+oEy/qI+fojQqSqVQVUwWweDEaupKL9ZkA34Wd3QgDZg8VJzpaEEmoXKnYqylHayObNUS62c8yPkSUxcKAq33mr8QunWe6xMDcQao17ziBX6nz3AKiQQPy/ITsbL7JZ0y72rvtC12uhuQ04fcM3fU31wCZ9nH6gxlCFbBex4bPyyJYfY+2XIPGxytPA0HcoIAbiH2xjpLnCDi2xsbobBp1saFLGxhdB3RcJY4TYmmxnnXoIRc5Sr6FP55o7hpg== MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CS1PR8401MB1144.NAMPRD84.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-Network-Message-Id: cf9b1a8e-cd50-4c39-dce1-08d856e52a1d X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Sep 2020 06:29:12.5455 (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: IE2UtXGRXuD99oIjbGx+z5wRNFlbhG1LID4B0OtdnaZDdczFk1GP25BrKe/mxtyuIhZ0fnhFCcd7/TFDnVztyg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CS1PR8401MB1143 X-OriginatorOrg: hpe.com X-HPE-SCL: -1 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.235,18.0.687 definitions=2020-09-12_02:2020-09-10,2020-09-12 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=999 adultscore=0 lowpriorityscore=0 impostorscore=0 mlxscore=0 spamscore=0 phishscore=0 malwarescore=0 bulkscore=0 priorityscore=1501 suspectscore=0 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2009120062 Content-Language: en-US Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 VGhhbmtzIERhbmllbC4NCg0KPiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBT Y2hhZWZlciwgRGFuaWVsDQo+IFNlbnQ6IEZyaWRheSwgU2VwdGVtYmVyIDExLCAyMDIwIDM6NTkg UE0NCj4gVG86IENoYW5nLCBBYm5lciAoSFBTIFNXL0ZXIFRlY2hub2xvZ2lzdCkgPGFibmVyLmNo YW5nQGhwZS5jb20+Ow0KPiBkZXZlbEBlZGsyLmdyb3Vwcy5pbw0KPiBDYzogTGVpZiBMaW5kaG9s bSA8bGVpZkBudXZpYWluYy5jb20+DQo+IFN1YmplY3Q6IFJlOiBbZWRrMi1wbGF0Zm9ybXNdW1BB VENIIDEvMl0gUHJvY2Vzc29yUGtnL1Jpc2NWRWRrMlNiaUxpYjoNCj4gRXJyb3IgaGFuZGxpbmcg Zm9yIGxvY2F0aW5nIGZpcm13YXJlIGNvbnRleHQNCj4gDQo+IE9oIG5vLCB3aGF0IGRpZCBJIGRv IGhlcmUuLi4gSSBkb24ndCByZXR1cm4gcHJvcGVyIGVycm9yIGNvZGVzIGF0IGFsbCBpbiB0aGlz IGZpbGUuDQo+IEkgZm9yZ290IHRvIHJldmlzZSB0aGlzIGFmdGVyIHRoZSBpbml0aWFsIGltcGxl bWVudGF0aW9uLg0KPiBTbywgZ29vZCBjaGFuZ2UgYnV0IHdlIHNob3VsZCBkbyB0aGF0IGZvciBh bGwgZnVuY3Rpb25zIGluIHRoaXMgZmlsZS4NCj4gSSdsbCBk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