From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=134.134.136.31; helo=mga06.intel.com; envelope-from=ruiyu.ni@intel.com; receiver=edk2-devel@lists.01.org Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 7A519210DA158 for ; Thu, 21 Jun 2018 00:53:03 -0700 (PDT) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 21 Jun 2018 00:53:03 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,251,1526367600"; d="scan'208";a="65057760" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by fmsmga004.fm.intel.com with ESMTP; 21 Jun 2018 00:53:02 -0700 Received: from fmsmsx118.amr.corp.intel.com (10.18.116.18) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 21 Jun 2018 00:53:02 -0700 Received: from shsmsx102.ccr.corp.intel.com (10.239.4.154) by fmsmsx118.amr.corp.intel.com (10.18.116.18) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 21 Jun 2018 00:53:02 -0700 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.87]) by shsmsx102.ccr.corp.intel.com ([169.254.2.223]) with mapi id 14.03.0319.002; Thu, 21 Jun 2018 15:53:00 +0800 From: "Ni, Ruiyu" To: "Wu, Hao A" , "edk2-devel@lists.01.org" CC: "Yao, Jiewen" Thread-Topic: [PATCH 4/4] FatPkg/FatPei: Add the recognition of recovery capsule on NVME device Thread-Index: AQHUBHcGI/6INRX6yUexWLdxAjXiEqRqYMnw Date: Thu, 21 Jun 2018 07:52:43 +0000 Deferred-Delivery: Thu, 21 Jun 2018 07:53:00 +0000 Message-ID: <734D49CCEBEEF84792F5B80ED585239D5BD40C41@SHSMSX104.ccr.corp.intel.com> References: <20180615070342.13388-1-hao.a.wu@intel.com> <20180615070342.13388-5-hao.a.wu@intel.com> In-Reply-To: <20180615070342.13388-5-hao.a.wu@intel.com> Accept-Language: en-US, zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [PATCH 4/4] FatPkg/FatPei: Add the recognition of recovery capsule on NVME device X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jun 2018 07:53:03 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Ruiyu Ni Thanks/Ray > -----Original Message----- > From: Wu, Hao A > Sent: Friday, June 15, 2018 3:04 PM > To: edk2-devel@lists.01.org > Cc: Wu, Hao A ; Ni, Ruiyu ; Yao, > Jiewen > Subject: [PATCH 4/4] FatPkg/FatPei: Add the recognition of recovery capsu= le > on NVME device >=20 > The driver now can recognize the BlockIo2 PPI for NVM Express devices. > And support identifying the recovery capsule on those devices. >=20 > Cc: Ruiyu Ni > Cc: Jiewen Yao > Contributed-under: TianoCore Contribution Agreement 1.1 > Signed-off-by: Hao Wu > --- > FatPkg/FatPei/FatLiteApi.c | 6 +++++- > FatPkg/FatPei/FatPei.inf | 3 ++- > 2 files changed, 7 insertions(+), 2 deletions(-) >=20 > diff --git a/FatPkg/FatPei/FatLiteApi.c b/FatPkg/FatPei/FatLiteApi.c inde= x > e302657132..b455390610 100644 > --- a/FatPkg/FatPei/FatLiteApi.c > +++ b/FatPkg/FatPei/FatLiteApi.c > @@ -1,7 +1,7 @@ > /** @file > FAT recovery PEIM entry point, Ppi Functions and FAT Api functions. >=20 > -Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.
> +Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
>=20 > This program and the accompanying materials are licensed and made > available under the terms and conditions of the BSD License which > accompanies this @@ -485,6 +485,10 @@ GetRecoveryCapsuleInfo ( > CopyGuid (CapsuleType, &gRecoveryOnFatUsbDiskGuid); > break; >=20 > + case MSG_NVME_NAMESPACE_DP: > + CopyGuid (CapsuleType, &gRecoveryOnFatNvmeDiskGuid); > + break; > + > default: > break; > } > diff --git a/FatPkg/FatPei/FatPei.inf b/FatPkg/FatPei/FatPei.inf index > 273f72da2f..00b08df2b9 100644 > --- a/FatPkg/FatPei/FatPei.inf > +++ b/FatPkg/FatPei/FatPei.inf > @@ -1,7 +1,7 @@ > ## @file > # Lite Fat driver only used in Pei Phase. > # > -# Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved. > +# Copyright (c) 2006 - 2018, Intel Corporation. All rights > +reserved.
> # > # This program and the accompanying materials are licensed and made > available # under the terms and conditions of the BSD License which > accompanies this @@ -58,6 +58,7 @@ > gRecoveryOnFatUsbDiskGuid ## SOMETIMES_CONSUMES ## > UNDEFINED > gRecoveryOnFatIdeDiskGuid ## SOMETIMES_CONSUMES ## > UNDEFINED > gRecoveryOnFatFloppyDiskGuid ## SOMETIMES_CONSUMES ## > UNDEFINED > + gRecoveryOnFatNvmeDiskGuid ## SOMETIMES_CONSUMES ## > UNDEFINED >=20 >=20 > [Ppis] > -- > 2.12.0.windows.1