Home Home > GIT Browse > stable
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2019-02-15 10:23:48 +0100
committerJiri Slaby <jslaby@suse.cz>2019-02-15 10:23:53 +0100
commit0a065bfb83e631776130cb824249c05c3138b415 (patch)
treeda602956531011e3c4ff3c55b316530f32f724e0
parentd268147caf23e644e9b6cb118371dd2eb0ee2346 (diff)
libata: Add NOLPM quirk for SAMSUNG MZ7TE512HMHP-000L1 SSD
-rw-r--r--patches.kernel.org/4.20.9-005-libata-Add-NOLPM-quirk-for-SAMSUNG-MZ7TE512HMH.patch42
-rw-r--r--series.conf1
2 files changed, 43 insertions, 0 deletions
diff --git a/patches.kernel.org/4.20.9-005-libata-Add-NOLPM-quirk-for-SAMSUNG-MZ7TE512HMH.patch b/patches.kernel.org/4.20.9-005-libata-Add-NOLPM-quirk-for-SAMSUNG-MZ7TE512HMH.patch
new file mode 100644
index 0000000000..e283be4b15
--- /dev/null
+++ b/patches.kernel.org/4.20.9-005-libata-Add-NOLPM-quirk-for-SAMSUNG-MZ7TE512HMH.patch
@@ -0,0 +1,42 @@
+From: Hans de Goede <hdegoede@redhat.com>
+Date: Sun, 3 Feb 2019 10:02:07 +0100
+Subject: [PATCH] libata: Add NOLPM quirk for SAMSUNG MZ7TE512HMHP-000L1 SSD
+References: bnc#1012628
+Patch-mainline: 4.20.9
+Git-commit: dd957493baa586f1431490f97f9c7c45eaf8ab10
+
+commit dd957493baa586f1431490f97f9c7c45eaf8ab10 upstream.
+
+We've received a bugreport that using LPM with a SAMSUNG
+MZ7TE512HMHP-000L1 SSD leads to system instability, we already have
+a quirk for the MZ7TD256HAFV-000L9, which is also a Samsun EVO 840 /
+PM851 OEM model, so it seems some of these models have a LPM issue.
+
+This commits adds a NOLPM quirk for the model string from the new
+bugeport, to avoid the reported stability issues.
+
+Cc: stable@vger.kernel.org
+BugLink: https://bugzilla.redhat.com/show_bug.cgi?id=1571330
+Signed-off-by: Hans de Goede <hdegoede@redhat.com>
+Signed-off-by: Jens Axboe <axboe@kernel.dk>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+Signed-off-by: Jiri Slaby <jslaby@suse.cz>
+---
+ drivers/ata/libata-core.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c
+index b8c3f9e6af89..adf28788cab5 100644
+--- a/drivers/ata/libata-core.c
++++ b/drivers/ata/libata-core.c
+@@ -4554,6 +4554,7 @@ static const struct ata_blacklist_entry ata_device_blacklist [] = {
+ { "SAMSUNG MZMPC128HBFU-000MV", "CXM14M1Q", ATA_HORKAGE_NOLPM, },
+ { "SAMSUNG SSD PM830 mSATA *", "CXM13D1Q", ATA_HORKAGE_NOLPM, },
+ { "SAMSUNG MZ7TD256HAFV-000L9", NULL, ATA_HORKAGE_NOLPM, },
++ { "SAMSUNG MZ7TE512HMHP-000L1", "EXT06L0Q", ATA_HORKAGE_NOLPM, },
+
+ /* devices that don't properly handle queued TRIM commands */
+ { "Micron_M500IT_*", "MU01", ATA_HORKAGE_NO_NCQ_TRIM |
+--
+2.20.1
+
diff --git a/series.conf b/series.conf
index ee5e4b2e94..249f08d946 100644
--- a/series.conf
+++ b/series.conf
@@ -1087,6 +1087,7 @@
patches.kernel.org/4.20.9-002-mtd-spinand-Handle-the-case-where-PROGRAM-LOAD.patch
patches.kernel.org/4.20.9-003-mtd-spinand-Fix-the-error-cleanup-path-in-spin.patch
patches.kernel.org/4.20.9-004-mtd-rawnand-gpmi-fix-MX28-bus-master-lockup-pr.patch
+ patches.kernel.org/4.20.9-005-libata-Add-NOLPM-quirk-for-SAMSUNG-MZ7TE512HMH.patch
########################################################
# Build fixes that apply to the vanilla kernel too.