OSDN Git Service

libata: Apply NOLPM quirk for SanDisk SD7UB3Q*G1001 SSDs
authorHans de Goede <hdegoede@redhat.com>
Thu, 26 Apr 2018 20:32:21 +0000 (22:32 +0200)
committerTejun Heo <tj@kernel.org>
Thu, 26 Apr 2018 21:08:55 +0000 (14:08 -0700)
commit184add2ca23ce5edcac0ab9c3b9be13f91e7b567
tree2a998a30db4031b8ceeab05fc9e88772ad46f90f
parentb5b4d3a52c8fd6e3fc6469c5a64ca0139c07229e
libata: Apply NOLPM quirk for SanDisk SD7UB3Q*G1001 SSDs

Richard Jones has reported that using med_power_with_dipm on a T450s
with a Sandisk SD7UB3Q256G1001 SSD (firmware version X2180501) is
causing the machine to hang.

Switching the LPM to max_performance fixes this, so it seems that
this Sandisk SSD does not handle LPM well.

Note in the past there have been bug-reports about the following
Sandisk models not working with min_power, so we may need to extend
the quirk list in the future: name - firmware
Sandisk SD6SB2M512G1022I   - X210400
Sandisk SD6PP4M-256G-1006  - A200906

Cc: stable@vger.kernel.org
Cc: Richard W.M. Jones <rjones@redhat.com>
Reported-and-tested-by: Richard W.M. Jones <rjones@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
drivers/ata/libata-core.c