diff options
author | Hans de Goede <hdegoede@redhat.com> | 2018-04-26 22:32:21 +0200 |
---|---|---|
committer | Sasha Levin <alexander.levin@microsoft.com> | 2018-05-22 21:36:40 -0400 |
commit | 6fd6f19ff8d7e5c988028c5cbe0bb0fc421511a8 (patch) | |
tree | 108c6019389f009a9d7355911d4070cb57b695f9 | |
parent | bca5695f705359b8b666c787ba4f72ec3a42e2ea (diff) | |
download | linux-stable-6fd6f19ff8d7e5c988028c5cbe0bb0fc421511a8.tar.gz |
libata: Apply NOLPM quirk for SanDisk SD7UB3Q*G1001 SSDs
[ Upstream commit 184add2ca23ce5edcac0ab9c3b9be13f91e7b567 ]
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>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
-rw-r--r-- | drivers/ata/libata-core.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c index d03e91a4e5ae..accad0598253 100644 --- a/drivers/ata/libata-core.c +++ b/drivers/ata/libata-core.c @@ -4245,6 +4245,9 @@ static const struct ata_blacklist_entry ata_device_blacklist [] = { ATA_HORKAGE_ZERO_AFTER_TRIM | ATA_HORKAGE_NOLPM, }, + /* Sandisk devices which are known to not handle LPM well */ + { "SanDisk SD7UB3Q*G1001", NULL, ATA_HORKAGE_NOLPM, }, + /* devices that don't properly handle queued TRIM commands */ { "Micron_M500_*", NULL, ATA_HORKAGE_NO_NCQ_TRIM | ATA_HORKAGE_ZERO_AFTER_TRIM, }, |