]> git.karo-electronics.de Git - karo-tx-linux.git/commit
nvme: Adjust the Samsung APST quirk
authorAndy Lutomirski <luto@kernel.org>
Thu, 20 Apr 2017 20:37:55 +0000 (13:37 -0700)
committerJens Axboe <axboe@fb.com>
Thu, 20 Apr 2017 20:42:09 +0000 (14:42 -0600)
commitff5350a86b20de23991e474e006e2ff2732b218e
tree825aa0a8058499cd7eea77ee9413cc8dd4a09261
parent4981d04dd8f1ab19e2cce008da556d7f099b6e68
nvme: Adjust the Samsung APST quirk

I got a couple more reports: the Samsung APST issues appears to
affect multiple 950-series devices in Dell XPS 15 9550 and Precision
5510 laptops.  Change the quirk: rather than blacklisting the
firmware on the first problematic SSD that was reported, disable
APST on all 144d:a802 devices if they're installed in the two
affected Dell models.  While we're at it, disable only the deepest
sleep state instead of all of them -- the reporters say that this is
sufficient to fix the problem.

(I have a device that appears to be entirely identical to one of the
affected devices, but I have a different Dell laptop, so it's not
the case that all Samsung devices with firmware BXW75D0Q are broken
under all circumstances.)

Samsung engineers have an affected system, and hopefully they'll
give us a better workaround some time soon.  In the mean time, this
should minimize regressions.

See https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1678184

Cc: Kai-Heng Feng <kai.heng.feng@canonical.com>
Signed-off-by: Andy Lutomirski <luto@kernel.org>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/nvme/host/core.c
drivers/nvme/host/nvme.h
drivers/nvme/host/pci.c