Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: a607eb97ef92605d88ac72e551bae34da7c81394
      
https://github.com/tianocore/edk2/commit/a607eb97ef92605d88ac72e551bae34da7c81394
  Author: Ruiyu Ni <ruiyu...@intel.com>
  Date:   2017-08-09 (Wed, 09 Aug 2017)

  Changed paths:
    M MdePkg/Include/IndustryStandard/Nvme.h

  Log Message:
  -----------
  MdePkg/Nvme: Add NVME shutdown notification related macros

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu...@intel.com>
Reviewed-by: Hao A Wu <hao.a...@intel.com>


  Commit: 7111e46fdebca0e03f6ddfcb029522c2fe68c74b
      
https://github.com/tianocore/edk2/commit/7111e46fdebca0e03f6ddfcb029522c2fe68c74b
  Author: Ruiyu Ni <ruiyu...@intel.com>
  Date:   2017-08-09 (Wed, 09 Aug 2017)

  Changed paths:
    M MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpress.c
    M MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpress.h
    M MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
    M MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressHci.c

  Log Message:
  -----------
  MdeModulePkg/NvmExpressDxe: Notify NVME HW when system reset happens

Per NVM Express Spec, software should notify NVME HW when shutdown
occurs.

The NVME controller requires notification for shutdown as part of
its management of internal structures. Even with FUA, failing to
notify the NVME controller to shutdown power off causes the NVME
controller to take quite some time to organize its tables on the
next power on. This time exceeds the normal timeout, so we would
fail to boot the NVME disk.

The host should set the Shutdown Notification (CC.SHN) field to 01b
to indicate a normal shutdown operation. The controller indicates
when shutdown processing is completed by updating the Shutdown Status
(CSTS.SHST) field to 10b.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu...@intel.com>
Reviewed-by: Hao A Wu <hao.a...@intel.com>


Compare: https://github.com/tianocore/edk2/compare/2913ebb2b550...7111e46fdebc
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
edk2-commits mailing list
edk2-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to