public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4] ata: libata: disable LPM for WDC WD20EFAX-68FB5N0 hard drives
@ 2025-04-29 16:44 Mikko Korhonen
  2025-04-30  6:35 ` Niklas Cassel
  0 siblings, 1 reply; 2+ messages in thread
From: Mikko Korhonen @ 2025-04-29 16:44 UTC (permalink / raw)
  To: linux-ide, linux-kernel, Damien Le Moal, Niklas Cassel; +Cc: Mikko Korhonen

Make WDC WD20EFAX-68FB5N0 hard drives work again after regression in
6.9.0 when LPM was enabled, so disable it for this model.

Fixes: 7627a0edef54 ("ata: ahci: Drop low power policy board type")
Signed-off-by: Mikko Korhonen <mjkorhon@gmail.com>
---
 drivers/ata/libata-core.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c
index 773799cfd443..5c2f26945d61 100644
--- a/drivers/ata/libata-core.c
+++ b/drivers/ata/libata-core.c
@@ -4239,6 +4239,11 @@ static const struct ata_dev_quirks_entry __ata_dev_quirks[] = {
 	{ "WDC WD3000JD-*",		NULL,	ATA_QUIRK_WD_BROKEN_LPM },
 	{ "WDC WD3200JD-*",		NULL,	ATA_QUIRK_WD_BROKEN_LPM },
 
+	/*
+	 * This specific WD SATA-3 model has problems with LPM.
+	 */
+	{ "WDC WD20EFAX-68FB5N0",	NULL,	ATA_QUIRK_NOLPM },
+
 	/*
 	 * This sata dom device goes on a walkabout when the ATA_LOG_DIRECTORY
 	 * log page is accessed. Ensure we never ask for this log page with
-- 
2.47.2


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

* Re: [PATCH v4] ata: libata: disable LPM for WDC WD20EFAX-68FB5N0 hard drives
  2025-04-29 16:44 [PATCH v4] ata: libata: disable LPM for WDC WD20EFAX-68FB5N0 hard drives Mikko Korhonen
@ 2025-04-30  6:35 ` Niklas Cassel
  0 siblings, 0 replies; 2+ messages in thread
From: Niklas Cassel @ 2025-04-30  6:35 UTC (permalink / raw)
  To: linux-ide, linux-kernel, Damien Le Moal, Mikko Korhonen

On Tue, 29 Apr 2025 19:44:35 +0300, Mikko Korhonen wrote:
> Make WDC WD20EFAX-68FB5N0 hard drives work again after regression in
> 6.9.0 when LPM was enabled, so disable it for this model.
> 
> 

Applied to libata/linux.git (for-6.15-fixes), thanks!

[1/1] ata: libata: disable LPM for WDC WD20EFAX-68FB5N0 hard drives
      https://git.kernel.org/libata/linux/c/f847305c

Kind regards,
Niklas


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

end of thread, other threads:[~2025-04-30  6:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-29 16:44 [PATCH v4] ata: libata: disable LPM for WDC WD20EFAX-68FB5N0 hard drives Mikko Korhonen
2025-04-30  6:35 ` Niklas Cassel

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