]> www.infradead.org Git - users/jedix/linux-maple.git/commit
NVMe: Don't unmap controller registers on reset
authorKeith Busch <keith.busch@intel.com>
Sun, 18 Dec 2016 18:18:59 +0000 (10:18 -0800)
committerDhaval Giani <dhaval.giani@oracle.com>
Sat, 21 Jan 2017 00:21:59 +0000 (19:21 -0500)
commit75502b9da27d7be3132b9eb3b7da52eae48c3556
tree5aa224e167964044dfcaef941a65740362030aa7
parent6b807ab0979a2c2db179d5b1e7b790f8fec39903
NVMe: Don't unmap controller registers on reset

Unmapping the registers on reset or shutdown is not necessary. Keeping
the mapping simplifies reset handling.

Signed-off-by: Keith Busch <keith.busch@intel.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
(cherry picked from commit b00a726a9fd82ddd4c10344e46f0d371e1674303)

Orabug: 24758839
Conflicts:
The changes are merged manually as the nvme upstream is not in sync with
UEK4 QU2
    drivers/nvme/host/pci.c

Signed-off-by: Ashok Vairavan <ashok.vairavan@oracle.com>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Dhaval Giani <dhaval.giani@oracle.com>
drivers/nvme/host/pci.c