]> www.infradead.org Git - users/jedix/linux-maple.git/commit
nvme: split command submission helpers out of pci.c
authorChristoph Hellwig <hch@lst.de>
Mon, 19 Dec 2016 05:54:06 +0000 (21:54 -0800)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 1 Jun 2017 20:40:33 +0000 (13:40 -0700)
commit352d152931d86926a649d64ff36608c444159581
tree81c6da6913399008575f37ecc373fdac3b285098
parenta6c7dbe2b89c0f1dbd9787947ab94d1d916c497e
nvme: split command submission helpers out of pci.c

Create a new core.c and start by adding the command submission helpers
to it, which are already abstracted away from the actual hardware queues
by the block layer.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
(cherry picked from commit 21d34711e1b5970acfb22bddf1fefbfbd7e0123b)

Orabug: 25130845
Conflicts:
        drivers/nvme/host/Makefile
        drivers/nvme/host/nvme.h
        drivers/nvme/host/pci.c

Signed-off-by: Ashok Vairavan <ashok.vairavan@oracle.com>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/nvme/host/Makefile
drivers/nvme/host/core.c [new file with mode: 0644]
drivers/nvme/host/nvme.h
drivers/nvme/host/pci.c