[PATCH] ata: libata-core: Disable LPM on ST1000DM010-2EP102

Maximilian Pezzullo via B4 Relay posted 1 patch 1 month, 1 week ago
There is a newer version of this series
drivers/ata/libata-core.c | 1 +
1 file changed, 1 insertion(+)
[PATCH] ata: libata-core: Disable LPM on ST1000DM010-2EP102
Posted by Maximilian Pezzullo via B4 Relay 1 month, 1 week ago
From: Maximilian Pezzullo <maximilianpezzullo@gmail.com>

According to a user report, the ST1000DM010-2EP102 has problems with LPM,
causing random system freezes since kernel 6.15. The drive belongs to the
same BarraCuda family as the ST2000DM008-2FR102 which has the same issue.

Reported-by: Filippo Baiamonte <filippo.ba03@bugzilla.kernel.org>
Closes: https://bugzilla.kernel.org/show_bug.cgi?id=221163
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: Maximilian Pezzullo <maximilianpezzullo@gmail.com>
---
 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 ccbf320524da..76b012f544ea 100644
--- a/drivers/ata/libata-core.c
+++ b/drivers/ata/libata-core.c
@@ -4189,6 +4189,7 @@ static const struct ata_dev_quirks_entry __ata_dev_quirks[] = {
 						ATA_QUIRK_FIRMWARE_WARN },
 
 	/* Seagate disks with LPM issues */
+	{ "ST1000DM010-2EP102",	NULL,		ATA_QUIRK_NOLPM },
 	{ "ST2000DM008-2FR102",	NULL,		ATA_QUIRK_NOLPM },
 
 	/* drives which fail FPDMA_AA activation (some may freeze afterwards)

---
base-commit: af4e9ef3d78420feb8fe58cd9a1ab80c501b3c08
change-id: 20260303-ata-libata-core-disable-lpm-on-st1000dm010-2ep102-b0b85608e034

Best regards,
-- 
Maximilian Pezzullo <maximilianpezzullo@gmail.com>
Re: [PATCH] ata: libata-core: Disable LPM on ST1000DM010-2EP102
Posted by Damien Le Moal 1 month, 1 week ago
On 3/4/26 07:52, Maximilian Pezzullo via B4 Relay wrote:
> From: Maximilian Pezzullo <maximilianpezzullo@gmail.com>
> 
> According to a user report, the ST1000DM010-2EP102 has problems with LPM,
> causing random system freezes since kernel 6.15. The drive belongs to the
> same BarraCuda family as the ST2000DM008-2FR102 which has the same issue.
> 
> Reported-by: Filippo Baiamonte <filippo.ba03@bugzilla.kernel.org>
> Closes: https://bugzilla.kernel.org/show_bug.cgi?id=221163
> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Seriously ?

> Signed-off-by: Maximilian Pezzullo <maximilianpezzullo@gmail.com>

Looks good.

Reviewed-by: Damien Le Moal <dlemoal@kernel.org>

> ---
>  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 ccbf320524da..76b012f544ea 100644
> --- a/drivers/ata/libata-core.c
> +++ b/drivers/ata/libata-core.c
> @@ -4189,6 +4189,7 @@ static const struct ata_dev_quirks_entry __ata_dev_quirks[] = {
>  						ATA_QUIRK_FIRMWARE_WARN },
>  
>  	/* Seagate disks with LPM issues */
> +	{ "ST1000DM010-2EP102",	NULL,		ATA_QUIRK_NOLPM },
>  	{ "ST2000DM008-2FR102",	NULL,		ATA_QUIRK_NOLPM },

Note: if we see one more of these, I am going to be tempted to replace this with
a big hammer :)

	{ "ST?000DM0*",		NULL,		ATA_QUIRK_NOLPM },

>  
>  	/* drives which fail FPDMA_AA activation (some may freeze afterwards)
> 
> ---
> base-commit: af4e9ef3d78420feb8fe58cd9a1ab80c501b3c08
> change-id: 20260303-ata-libata-core-disable-lpm-on-st1000dm010-2ep102-b0b85608e034
> 
> Best regards,


-- 
Damien Le Moal
Western Digital Research