Home Home > GIT Browse > SLE15
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2019-06-24 12:02:16 +0200
committerTakashi Iwai <tiwai@suse.de>2019-06-24 12:02:16 +0200
commit068c6e9cc9fb0b3faee8da7780be1f1a288653fc (patch)
treecc842aefa2d03ae9bee557317e0fdb016d5ea63b
parente0e908b1cd4a26198c4c9fb09b00a3594af0258f (diff)
libata: Extend quirks for the ST1000LM024 drives with NOLPM
quirk (bsc#1051510).
-rw-r--r--patches.drivers/libata-Extend-quirks-for-the-ST1000LM024-drives-with.patch46
-rw-r--r--series.conf1
2 files changed, 47 insertions, 0 deletions
diff --git a/patches.drivers/libata-Extend-quirks-for-the-ST1000LM024-drives-with.patch b/patches.drivers/libata-Extend-quirks-for-the-ST1000LM024-drives-with.patch
new file mode 100644
index 0000000000..769ebf2037
--- /dev/null
+++ b/patches.drivers/libata-Extend-quirks-for-the-ST1000LM024-drives-with.patch
@@ -0,0 +1,46 @@
+From 31f6264e225fb92cf6f4b63031424f20797c297d Mon Sep 17 00:00:00 2001
+From: Hans de Goede <hdegoede@redhat.com>
+Date: Tue, 11 Jun 2019 16:32:59 +0200
+Subject: [PATCH] libata: Extend quirks for the ST1000LM024 drives with NOLPM quirk
+Git-commit: 31f6264e225fb92cf6f4b63031424f20797c297d
+Patch-mainline: v5.2-rc5
+References: bsc#1051510
+
+We've received a bugreport that using LPM with ST1000LM024 drives leads
+to system lockups. So it seems that these models are buggy in more then
+1 way. Add NOLPM quirk to the existing quirks entry for BROKEN_FPDMA_AA.
+
+Buglink: https://bugzilla.redhat.com/show_bug.cgi?id=1571330
+Cc: stable@vger.kernel.org
+Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
+Signed-off-by: Hans de Goede <hdegoede@redhat.com>
+Signed-off-by: Jens Axboe <axboe@kernel.dk>
+Acked-by: Takashi Iwai <tiwai@suse.de>
+
+---
+ drivers/ata/libata-core.c | 9 ++++++---
+ 1 file changed, 6 insertions(+), 3 deletions(-)
+
+diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c
+index aaa57e0c809d..4a2dff303865 100644
+--- a/drivers/ata/libata-core.c
++++ b/drivers/ata/libata-core.c
+@@ -4460,9 +4460,12 @@ static const struct ata_blacklist_entry ata_device_blacklist [] = {
+ { "ST3320[68]13AS", "SD1[5-9]", ATA_HORKAGE_NONCQ |
+ ATA_HORKAGE_FIRMWARE_WARN },
+
+- /* drives which fail FPDMA_AA activation (some may freeze afterwards) */
+- { "ST1000LM024 HN-M101MBB", "2AR10001", ATA_HORKAGE_BROKEN_FPDMA_AA },
+- { "ST1000LM024 HN-M101MBB", "2BA30001", ATA_HORKAGE_BROKEN_FPDMA_AA },
++ /* drives which fail FPDMA_AA activation (some may freeze afterwards)
++ the ST disks also have LPM issues */
++ { "ST1000LM024 HN-M101MBB", "2AR10001", ATA_HORKAGE_BROKEN_FPDMA_AA |
++ ATA_HORKAGE_NOLPM, },
++ { "ST1000LM024 HN-M101MBB", "2BA30001", ATA_HORKAGE_BROKEN_FPDMA_AA |
++ ATA_HORKAGE_NOLPM, },
+ { "VB0250EAVER", "HPG7", ATA_HORKAGE_BROKEN_FPDMA_AA },
+
+ /* Blacklist entries taken from Silicon Image 3124/3132
+--
+2.16.4
+
diff --git a/series.conf b/series.conf
index e93061f4e0..fb61c0acb0 100644
--- a/series.conf
+++ b/series.conf
@@ -22590,6 +22590,7 @@
patches.drivers/ASoC-fsl_asrc-Fix-the-issue-about-unsupported-rate.patch
patches.drivers/ASoC-cs42xx8-Add-regcache-mask-dirty.patch
patches.drivers/Revert-ALSA-hda-realtek-Improve-the-headset-mic-for-.patch
+ patches.drivers/libata-Extend-quirks-for-the-ST1000LM024-drives-with.patch
patches.drm/drm-i915-sdvo-Implement-proper-HDMI-audio-support-fo.patch
patches.drm/drm-i915-perf-fix-whitelist-on-Gen10.patch
patches.suse/module-fix-livepatch-ftrace-module-text-permissions-race.patch