audk/MdeModulePkg
Ruiyu Ni 7111e46fde 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.ni@intel.com>
Reviewed-by: Hao A Wu <hao.a.wu@intel.com>
2017-08-09 15:59:13 +08:00
..
Application
Bus MdeModulePkg/NvmExpressDxe: Notify NVME HW when system reset happens 2017-08-09 15:59:13 +08:00
Core MdeModulePkg PeiCore: Install SEC HOB data 2017-08-04 08:56:05 +08:00
Include MdeModulePkg SmmAccess: Update comments to follow PI spec. 2017-07-20 14:11:15 +08:00
Library MdeModulePkg/DxeHttpLib: Fix spelling typo in EFI_HTTP_STATUS_CODE 2017-08-02 15:31:21 +08:00
Logo
Universal MdeModulePkg SerialDxe: Process timeout consistently in SerialRead 2017-08-08 14:16:28 +08:00
MdeModulePkg.dec
MdeModulePkg.dsc
MdeModulePkg.uni
MdeModulePkgExtra.uni