public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Ni, Ruiyu" <ruiyu.ni@intel.com>
To: "Wu, Hao A" <hao.a.wu@intel.com>,
	"edk2-devel@lists.01.org" <edk2-devel@lists.01.org>
Cc: "Yao, Jiewen" <jiewen.yao@intel.com>
Subject: Re: [PATCH 4/4] FatPkg/FatPei: Add the recognition of recovery capsule on NVME device
Date: Thu, 21 Jun 2018 07:52:43 +0000	[thread overview]
Message-ID: <734D49CCEBEEF84792F5B80ED585239D5BD40C41@SHSMSX104.ccr.corp.intel.com> (raw)
In-Reply-To: <20180615070342.13388-5-hao.a.wu@intel.com>

Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>

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 <hao.a.wu@intel.com>; Ni, Ruiyu <ruiyu.ni@intel.com>; Yao,
> Jiewen <jiewen.yao@intel.com>
> Subject: [PATCH 4/4] FatPkg/FatPei: Add the recognition of recovery capsule
> on NVME device
> 
> The driver now can recognize the BlockIo2 PPI for NVM Express devices.
> And support identifying the recovery capsule on those devices.
> 
> Cc: Ruiyu Ni <ruiyu.ni@intel.com>
> Cc: Jiewen Yao <jiewen.yao@intel.com>
> Contributed-under: TianoCore Contribution Agreement 1.1
> Signed-off-by: Hao Wu <hao.a.wu@intel.com>
> ---
>  FatPkg/FatPei/FatLiteApi.c | 6 +++++-
>  FatPkg/FatPei/FatPei.inf   | 3 ++-
>  2 files changed, 7 insertions(+), 2 deletions(-)
> 
> diff --git a/FatPkg/FatPei/FatLiteApi.c b/FatPkg/FatPei/FatLiteApi.c index
> 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.
> 
> -Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.<BR>
> +Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
> 
>  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;
> 
> +          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.<BR>
> +#  Copyright (c) 2006 - 2018, Intel Corporation. All rights
> +reserved.<BR>
>  #
>  #  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
> 
> 
>  [Ppis]
> --
> 2.12.0.windows.1



      reply	other threads:[~2018-06-21  7:53 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-15  7:03 [PATCH 0/4] Add PEI BlockIo support for NVM Express devices Hao Wu
2018-06-15  7:03 ` [PATCH 1/4] MdeModulePkg: Add definitions for EDKII PEI NVME host controller PPI Hao Wu
2018-06-21  7:35   ` Ni, Ruiyu
2018-06-21  8:31     ` Wu, Hao A
2018-06-22  1:42   ` Zeng, Star
2018-06-15  7:03 ` [PATCH 2/4] MdeModulePkg/NvmExpressPei: Add the NVME device PEI BlockIo support Hao Wu
2018-06-21  7:45   ` Ni, Ruiyu
2018-06-21  8:31     ` Wu, Hao A
2018-06-22  1:43   ` Zeng, Star
2018-06-15  7:03 ` [PATCH 3/4] MdeModulePkg: Add GUID for recovery capsule on NVM Express devices Hao Wu
2018-06-21  7:54   ` Ni, Ruiyu
2018-06-22  1:42   ` Zeng, Star
2018-06-15  7:03 ` [PATCH 4/4] FatPkg/FatPei: Add the recognition of recovery capsule on NVME device Hao Wu
2018-06-21  7:52   ` Ni, Ruiyu [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=734D49CCEBEEF84792F5B80ED585239D5BD40C41@SHSMSX104.ccr.corp.intel.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox