public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH 0/2] Notify NVME HW when system reset happens
@ 2017-08-07  3:31 Ruiyu Ni
  2017-08-07  3:31 ` [PATCH 1/2] MdePkg/Nvme: Add NVME shutdown notification related macros Ruiyu Ni
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Ruiyu Ni @ 2017-08-07  3:31 UTC (permalink / raw)
  To: edk2-devel

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

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.

Ruiyu Ni (2):
  MdePkg/Nvme: Add NVME shutdown notification related macros
  MdeModulePkg/NvmExpressDxe: Notify NVME HW when system reset happens

 MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpress.c    |   7 +-
 MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpress.h    |  23 ++-
 .../Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf        |   3 +-
 MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressHci.c | 181 ++++++++++++++++++++-
 MdePkg/Include/IndustryStandard/Nvme.h             |   6 +-
 5 files changed, 215 insertions(+), 5 deletions(-)

-- 
2.12.2.windows.2



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-08-09  7:59 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-07  3:31 [PATCH 0/2] Notify NVME HW when system reset happens Ruiyu Ni
2017-08-07  3:31 ` [PATCH 1/2] MdePkg/Nvme: Add NVME shutdown notification related macros Ruiyu Ni
2017-08-07  3:31 ` [PATCH 2/2] MdeModulePkg/NvmExpressDxe: Notify NVME HW when system reset happens Ruiyu Ni
2017-08-07  7:14 ` [PATCH 0/2] " Wu, Hao A
2017-08-09  7:56   ` Ni, Ruiyu
2017-08-09  8:01     ` Wu, Hao A

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox