nvme: move the workaround for I/O queue-less controllers from PCIe to core
authorChristoph Hellwig <hch@lst.de>
Mon, 6 Jun 2016 21:20:50 +0000 (23:20 +0200)
committerJens Axboe <axboe@fb.com>
Sun, 12 Jun 2016 13:29:43 +0000 (07:29 -0600)
commitf5fa90dc0a5b0bcfa3fa851dbee9e3ab6381076b
tree07a5c62291b435396d29792bb5361d5d4e488177
parent7a5abb4b48570c3552e33ff4c72ae1e8dac3ba15
nvme: move the workaround for I/O queue-less controllers from PCIe to core

We want to apply this to Fabrics drivers as well, so move it to common
code.

Reviewed-by: Jay Freyensee <james.p.freyensee@intel.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Tested-by: Ming Lin <ming.l@ssi.samsung.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/nvme/host/core.c
drivers/nvme/host/pci.c