public inbox for linux-ide@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] ata: libata-core: Disable LPM on ST1000DM010-2EP102
@ 2026-03-04  7:22 Maximilian Pezzullo via B4 Relay
  2026-03-04  7:29 ` Damien Le Moal
  2026-03-04  8:18 ` Niklas Cassel
  0 siblings, 2 replies; 4+ messages in thread
From: Maximilian Pezzullo via B4 Relay @ 2026-03-04  7:22 UTC (permalink / raw)
  To: Damien Le Moal, Niklas Cassel
  Cc: linux-ide, linux-kernel, Filippo Baiamonte, Maximilian Pezzullo

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
Signed-off-by: Maximilian Pezzullo <maximilianpezzullo@gmail.com>
---
Changes in v2:
- EDITME: describe what is new in this series revision.
- EDITME: use bulletpoints and terse descriptions.
- Link to v1: https://lore.kernel.org/r/20260303-ata-libata-core-disable-lpm-on-st1000dm010-2ep102-v1-1-40d5db367f67@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>



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH v2] ata: libata-core: Disable LPM on ST1000DM010-2EP102
  2026-03-04  7:22 [PATCH v2] ata: libata-core: Disable LPM on ST1000DM010-2EP102 Maximilian Pezzullo via B4 Relay
@ 2026-03-04  7:29 ` Damien Le Moal
  2026-03-04  8:33   ` Niklas Cassel
  2026-03-04  8:18 ` Niklas Cassel
  1 sibling, 1 reply; 4+ messages in thread
From: Damien Le Moal @ 2026-03-04  7:29 UTC (permalink / raw)
  To: maximilianpezzullo, Niklas Cassel
  Cc: linux-ide, linux-kernel, Filippo Baiamonte

On 3/4/26 16:22, 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
> Signed-off-by: Maximilian Pezzullo <maximilianpezzullo@gmail.com>

Beside removing the copilot related tag, no changes here. Still looks good.

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

Niklas,

This I think needs a CC-stable. Can you add that when applying ?

-- 
Damien Le Moal
Western Digital Research

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH v2] ata: libata-core: Disable LPM on ST1000DM010-2EP102
  2026-03-04  7:22 [PATCH v2] ata: libata-core: Disable LPM on ST1000DM010-2EP102 Maximilian Pezzullo via B4 Relay
  2026-03-04  7:29 ` Damien Le Moal
@ 2026-03-04  8:18 ` Niklas Cassel
  1 sibling, 0 replies; 4+ messages in thread
From: Niklas Cassel @ 2026-03-04  8:18 UTC (permalink / raw)
  To: Damien Le Moal, Maximilian Pezzullo
  Cc: linux-ide, linux-kernel, Filippo Baiamonte

On Wed, 04 Mar 2026 08:22:59 +0100, Maximilian Pezzullo wrote:
> 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.
> 
> 

Applied to local tree (libata-for-7.0-fixes), thanks!

[1/1] ata: libata-core: Disable LPM on ST1000DM010-2EP102
      commit: b3b1d3ae1d87bc9398fb715c945968bf4c75a09a

Kind regards,
Niklas


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH v2] ata: libata-core: Disable LPM on ST1000DM010-2EP102
  2026-03-04  7:29 ` Damien Le Moal
@ 2026-03-04  8:33   ` Niklas Cassel
  0 siblings, 0 replies; 4+ messages in thread
From: Niklas Cassel @ 2026-03-04  8:33 UTC (permalink / raw)
  To: Damien Le Moal; +Cc: maximilianpezzullo, linux-ide, Filippo Baiamonte

On Wed, Mar 04, 2026 at 04:29:38PM +0900, Damien Le Moal wrote:
> On 3/4/26 16:22, 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
> > Signed-off-by: Maximilian Pezzullo <maximilianpezzullo@gmail.com>
> 
> Beside removing the copilot related tag, no changes here. Still looks good.
> 
> Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
> 
> Niklas,
> 
> This I think needs a CC-stable. Can you add that when applying ?

CC-stable added.

Also dropped reference to 6.15, since if this drive has LPM problems the
fix should be backported as far back as possible, not only to 6.15.

We've had mobile platforms with LPM support for a very long time.
We enabled LPM for non-mobile platforms in v6.9, so to be pragmatic,
that is the Fixes tag I chose, even though in reality mobile platforms
would have seen issues with this drive even before then:
https://git.kernel.org/pub/scm/linux/kernel/git/libata/linux.git/commit/?h=libata-for-7.0-fixes


Kind regards,
Niklas

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-03-04  8:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-04  7:22 [PATCH v2] ata: libata-core: Disable LPM on ST1000DM010-2EP102 Maximilian Pezzullo via B4 Relay
2026-03-04  7:29 ` Damien Le Moal
2026-03-04  8:33   ` Niklas Cassel
2026-03-04  8:18 ` Niklas Cassel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox