Home Home > GIT Browse > SLE15-AZURE
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2018-07-10 16:03:29 +0200
committerTakashi Iwai <tiwai@suse.de>2018-07-10 16:03:39 +0200
commit614d044f848c7ccede07f7f26136d5c771d7d848 (patch)
tree1c31e0f0d0eae7f28786e2e576f9bb57444e0369
parent5484231c4a7646227099fa121d0a83b9013a0313 (diff)
libata: Apply NOLPM quirk for SanDisk SD7UB3Q*G1001 SSDs
(bsc#1051510). suse-commit: 0e2fc3e1bf2fcbc6c49f6e39f0c6267eae21b039
-rw-r--r--drivers/ata/libata-core.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c
index 444647ff0210..41f654c941a3 100644
--- a/drivers/ata/libata-core.c
+++ b/drivers/ata/libata-core.c
@@ -4545,6 +4545,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, },