]> git.baikalelectronics.ru Git - kernel.git/commit
NVMe: Wait for device to acknowledge shutdown
authorMatthew Wilcox <matthew.r.wilcox@intel.com>
Sat, 4 May 2013 10:43:16 +0000 (06:43 -0400)
committerMatthew Wilcox <matthew.r.wilcox@intel.com>
Wed, 8 May 2013 13:53:49 +0000 (09:53 -0400)
commit7cbbf2893bf7fc72c4f7e4c4b6bbbe055f3e5f31
treed222ea337ee683ce0a544a818d85721a71d125c9
parent953ebd29ae4cc96765089fa837cd1cce62cbded7
NVMe: Wait for device to acknowledge shutdown

A recent update to the specification makes it clear that the host
is expected to wait for the device to acknowledge the Enable bit
transitioning to 0 as well as waiting for the device to acknowledge a
transition to 1.

Reported-by: Khosrow Panah <Khosrow.Panah@idt.com>
Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com>
Reviewed-by: Keith Busch <keith.busch@intel.com>
drivers/block/nvme-core.c