]> www.infradead.org Git - users/jedix/linux-maple.git/commit
nvme: add a common helper to read Identify Controller data
authorChristoph Hellwig <hch@lst.de>
Mon, 19 Dec 2016 22:33:53 +0000 (14:33 -0800)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 1 Jun 2017 20:40:39 +0000 (13:40 -0700)
commit81ae5b86610a673f5ec1a31069e1d6a95680bb59
tree70a53920c7aca5e14c6064dbbdd6db25b13da1ff
parentc1cf2f2110196427af7d7d2f44625cceb2b7723b
nvme: add a common helper to read Identify Controller data

And add the 64-bit register read operation for it.

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

Orabug: 25130845
Conflicts:
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/core.c
drivers/nvme/host/nvme.h
drivers/nvme/host/pci.c