* [PATCH] libata: Extend quirks for the ST1000LM024 drives with NOLPM quirk
@ 2019-06-11 14:32 Hans de Goede
2019-06-12 3:40 ` Martin K. Petersen
2019-06-13 9:18 ` Jens Axboe
0 siblings, 2 replies; 5+ messages in thread
From: Hans de Goede @ 2019-06-11 14:32 UTC (permalink / raw)
To: Jens Axboe; +Cc: Hans de Goede, linux-ide, stable
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
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
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.21.0
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH] libata: Extend quirks for the ST1000LM024 drives with NOLPM quirk
2019-06-11 14:32 [PATCH] libata: Extend quirks for the ST1000LM024 drives with NOLPM quirk Hans de Goede
@ 2019-06-12 3:40 ` Martin K. Petersen
2019-06-12 5:33 ` Hans de Goede
2019-06-13 9:18 ` Jens Axboe
1 sibling, 1 reply; 5+ messages in thread
From: Martin K. Petersen @ 2019-06-12 3:40 UTC (permalink / raw)
To: Hans de Goede; +Cc: Jens Axboe, linux-ide, stable
Hans,
> - /* 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, },
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Slightly orthogonal, and I know it's been discussed before, but I think
it would be worth considering just blacklisting all firmware revs for
this model.
There were several firmware releases for these drives. And while it's
conceivable that post-2BA30001 may fix the issues, I think it's safe to
say that all the intermediate releases between the two we have are
equally broken.
--
Martin K. Petersen Oracle Linux Engineering
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] libata: Extend quirks for the ST1000LM024 drives with NOLPM quirk
2019-06-12 3:40 ` Martin K. Petersen
@ 2019-06-12 5:33 ` Hans de Goede
2019-06-13 2:10 ` Martin K. Petersen
0 siblings, 1 reply; 5+ messages in thread
From: Hans de Goede @ 2019-06-12 5:33 UTC (permalink / raw)
To: Martin K. Petersen; +Cc: Jens Axboe, linux-ide, stable
Hi,
On 12-06-19 05:40, Martin K. Petersen wrote:
>
> Hans,
>
>> - /* 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, },
>
> Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
>
> Slightly orthogonal, and I know it's been discussed before, but I think
> it would be worth considering just blacklisting all firmware revs for
> this model.
>
> There were several firmware releases for these drives. And while it's
> conceivable that post-2BA30001 may fix the issues, I think it's safe to
> say that all the intermediate releases between the two we have are
> equally broken.
Dropping the firmware version sounds reasonable to me. Do you want me to
send a follow-up patch doing this?
Regards,
Hans
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] libata: Extend quirks for the ST1000LM024 drives with NOLPM quirk
2019-06-12 5:33 ` Hans de Goede
@ 2019-06-13 2:10 ` Martin K. Petersen
0 siblings, 0 replies; 5+ messages in thread
From: Martin K. Petersen @ 2019-06-13 2:10 UTC (permalink / raw)
To: Hans de Goede; +Cc: Martin K. Petersen, Jens Axboe, linux-ide, stable
Hans,
> Dropping the firmware version sounds reasonable to me. Do you want me to
> send a follow-up patch doing this?
Sure, that'd be great.
--
Martin K. Petersen Oracle Linux Engineering
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] libata: Extend quirks for the ST1000LM024 drives with NOLPM quirk
2019-06-11 14:32 [PATCH] libata: Extend quirks for the ST1000LM024 drives with NOLPM quirk Hans de Goede
2019-06-12 3:40 ` Martin K. Petersen
@ 2019-06-13 9:18 ` Jens Axboe
1 sibling, 0 replies; 5+ messages in thread
From: Jens Axboe @ 2019-06-13 9:18 UTC (permalink / raw)
To: Hans de Goede; +Cc: linux-ide, stable
On 6/11/19 8:32 AM, Hans de Goede wrote:
> 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.
Applied, thanks.
--
Jens Axboe
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2019-06-13 9:18 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-11 14:32 [PATCH] libata: Extend quirks for the ST1000LM024 drives with NOLPM quirk Hans de Goede
2019-06-12 3:40 ` Martin K. Petersen
2019-06-12 5:33 ` Hans de Goede
2019-06-13 2:10 ` Martin K. Petersen
2019-06-13 9:18 ` Jens Axboe
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.