]>
Commit | Line | Data |
---|---|---|
6fa1c118 GKH |
1 | From 31f6264e225fb92cf6f4b63031424f20797c297d Mon Sep 17 00:00:00 2001 |
2 | From: Hans de Goede <hdegoede@redhat.com> | |
3 | Date: Tue, 11 Jun 2019 16:32:59 +0200 | |
4 | Subject: libata: Extend quirks for the ST1000LM024 drives with NOLPM quirk | |
5 | ||
6 | From: Hans de Goede <hdegoede@redhat.com> | |
7 | ||
8 | commit 31f6264e225fb92cf6f4b63031424f20797c297d upstream. | |
9 | ||
10 | We've received a bugreport that using LPM with ST1000LM024 drives leads | |
11 | to system lockups. So it seems that these models are buggy in more then | |
12 | 1 way. Add NOLPM quirk to the existing quirks entry for BROKEN_FPDMA_AA. | |
13 | ||
14 | BugLink: https://bugzilla.redhat.com/show_bug.cgi?id=1571330 | |
15 | Cc: stable@vger.kernel.org | |
16 | Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com> | |
17 | Signed-off-by: Hans de Goede <hdegoede@redhat.com> | |
18 | Signed-off-by: Jens Axboe <axboe@kernel.dk> | |
19 | Signed-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 |