]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/blame - pending-4.19/libata-extend-quirks-for-the-st1000lm024-drives-with-nolpm-quirk.patch
move existing queues out of the way for the moment...
[thirdparty/kernel/stable-queue.git] / pending-4.19 / libata-extend-quirks-for-the-st1000lm024-drives-with-nolpm-quirk.patch
CommitLineData
6fa1c118
GKH
1From 31f6264e225fb92cf6f4b63031424f20797c297d Mon Sep 17 00:00:00 2001
2From: Hans de Goede <hdegoede@redhat.com>
3Date: Tue, 11 Jun 2019 16:32:59 +0200
4Subject: libata: Extend quirks for the ST1000LM024 drives with NOLPM quirk
5
6From: Hans de Goede <hdegoede@redhat.com>
7
8commit 31f6264e225fb92cf6f4b63031424f20797c297d upstream.
9
10We've received a bugreport that using LPM with ST1000LM024 drives leads
11to system lockups. So it seems that these models are buggy in more then
121 way. Add NOLPM quirk to the existing quirks entry for BROKEN_FPDMA_AA.
13
14BugLink: https://bugzilla.redhat.com/show_bug.cgi?id=1571330
15Cc: stable@vger.kernel.org
16Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
17Signed-off-by: Hans de Goede <hdegoede@redhat.com>
18Signed-off-by: Jens Axboe <axboe@kernel.dk>
19Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
20
21---
22 drivers/ata/libata-core.c | 9 ++++++---
23 1 file changed, 6 insertions(+), 3 deletions(-)
24
25--- a/drivers/ata/libata-core.c
26+++ b/drivers/ata/libata-core.c
27@@ -4476,9 +4476,12 @@ static const struct ata_blacklist_entry
28 { "ST3320[68]13AS", "SD1[5-9]", ATA_HORKAGE_NONCQ |
29 ATA_HORKAGE_FIRMWARE_WARN },
30
31- /* drives which fail FPDMA_AA activation (some may freeze afterwards) */
32- { "ST1000LM024 HN-M101MBB", "2AR10001", ATA_HORKAGE_BROKEN_FPDMA_AA },
33- { "ST1000LM024 HN-M101MBB", "2BA30001", ATA_HORKAGE_BROKEN_FPDMA_AA },
34+ /* drives which fail FPDMA_AA activation (some may freeze afterwards)
35+ the ST disks also have LPM issues */
36+ { "ST1000LM024 HN-M101MBB", "2AR10001", ATA_HORKAGE_BROKEN_FPDMA_AA |
37+ ATA_HORKAGE_NOLPM, },
38+ { "ST1000LM024 HN-M101MBB", "2BA30001", ATA_HORKAGE_BROKEN_FPDMA_AA |
39+ ATA_HORKAGE_NOLPM, },
40 { "VB0250EAVER", "HPG7", ATA_HORKAGE_BROKEN_FPDMA_AA },
41
42 /* Blacklist entries taken from Silicon Image 3124/3132