]> git.baikalelectronics.ru Git - kernel.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)
committerJens Axboe <axboe@fb.com>
Tue, 1 Dec 2015 20:23:22 +0000 (13:23 -0700)
commitc057dd6a1d8eeeba2b71cf7faa9ab72ed3a8dba3
treed84e25cbfbdab69b8b12da857557a20a232b8e6d
parent08e4649922475003a9999a4106aeee6b8dec904b
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>
drivers/nvme/host/pci.c