]> www.infradead.org Git - users/jedix/linux-maple.git/commit
nvme: temporary fix for Apple controller reset
authorStephan Günther <guenther@tum.de>
Tue, 1 Dec 2015 20:23:22 +0000 (13:23 -0700)
committerChuck Anderson <chuck.anderson@oracle.com>
Wed, 6 Jul 2016 23:32:08 +0000 (16:32 -0700)
commit68868cef7e3abdf1430649eafadd4ab6c80ab413
tree09a38c52daf69a9edb06192a375eec86beddf016
parentd20457fd75ada8b30c39d1406f3f7fb65bc85ee8
nvme: temporary fix for Apple controller reset

Recent patches added basic support for the Apple NVMe controller but
still cause resets and data corruption on that particular controller
when a specific pattern of read/flush commands occurs. Limiting the
queue depth to 2 works around that issue.

This patch enforces that limit only for the Apple controller and is
considered a temporary fix until we find the root source of that
problem.

Signed-off-by: Stephan Günther <guenther@tum.de>
Signed-off-by: Maurice Leclaire <leclaire@in.tum.de>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
(cherry picked from commit 1f390c1fde3a96974784be53cb3a645da3e4849c)

Orabug: 22620486
Signed-off-by: Jason Luo <zhangqing.luo@oracle.com>
drivers/nvme/host/pci.c