]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - drivers/nvme/host/pci.c
nvme: introduce a controller state machine
authorChristoph Hellwig <hch@lst.de>
Tue, 26 Apr 2016 11:51:57 +0000 (13:51 +0200)
committerJens Axboe <axboe@fb.com>
Mon, 2 May 2016 15:09:21 +0000 (09:09 -0600)
commitbb8d261e088811ef2b564d745afcd1633428010a
tree3db3e6e97c0f4cfcd40e16f3c1402fcddd51eb88
parent04a934d4c7251e6458a7898c2b4d6c2da29b132c
nvme: introduce a controller state machine

Replace the adhoc flags in the PCI driver with a state machine in the
core code.  Based on code from Sagi Grimberg for the Fabrics driver.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Acked-by Jon Derrick: <jonathan.derrick@intel.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/nvme/host/core.c
drivers/nvme/host/nvme.h
drivers/nvme/host/pci.c