summaryrefslogtreecommitdiff
path: root/crypto/Kconfig
diff options
context:
space:
mode:
authorKeith Busch <keith.busch@intel.com>2018-02-13 05:44:44 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-07-17 11:39:31 +0200
commit2a017ea2ea1448d8d9505f7589a537c2eed64f31 (patch)
tree4ad2e7fbf63442c21a06920043cd8b8145a07604 /crypto/Kconfig
parent54ca2776fccae337d0538b6b10811476cf669df1 (diff)
downloadlinux-exynos-2a017ea2ea1448d8d9505f7589a537c2eed64f31.tar.gz
linux-exynos-2a017ea2ea1448d8d9505f7589a537c2eed64f31.tar.bz2
linux-exynos-2a017ea2ea1448d8d9505f7589a537c2eed64f31.zip
nvme-pci: Remap CMB SQ entries on every controller reset
commit 815c6704bf9f1c59f3a6be380a4032b9c57b12f1 upstream. The controller memory buffer is remapped into a kernel address on each reset, but the driver was setting the submission queue base address only on the very first queue creation. The remapped address is likely to change after a reset, so accessing the old address will hit a kernel bug. This patch fixes that by setting the queue's CMB base address each time the queue is created. Fixes: f63572dff1421 ("nvme: unmap CMB and remove sysfs file in reset path") Reported-by: Christian Black <christian.d.black@intel.com> Cc: Jon Derrick <jonathan.derrick@intel.com> Cc: <stable@vger.kernel.org> # 4.9+ Signed-off-by: Keith Busch <keith.busch@intel.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Scott Bauer <scott.bauer@intel.com> Reviewed-by: Jon Derrick <jonathan.derrick@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'crypto/Kconfig')
0 files changed, 0 insertions, 0 deletions