All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ata: libata-core: Disable LPM on ADATA SU650 with firmware XD0R3C0F
@ 2026-11-26 14:24 Niklas Cassel
  2026-11-26 19:21 ` Mohammad Harsij Sani
  2026-11-27 10:25 ` Niklas Cassel
  0 siblings, 2 replies; 3+ messages in thread
From: Niklas Cassel @ 2026-11-26 14:24 UTC (permalink / raw)
  To: Damien Le Moal, Niklas Cassel; +Cc: Mohammad Harsij Sani, stable, linux-ide

ADATA SU650 SSDs with firmware XD0R3C0F drop off the bus with NCQ command
timeouts when LPM is enabled. Disable LPM for this firmware only, as the
SU650 has shipped with several different controllers.

Reported-by: Mohammad Harsij Sani <mohammadsaniac@gmail.com>
Closes: https://lore.kernel.org/linux-ide/CACeOiPg=3_wY40upkFVkWQvJouomoTF6Ro+eL_DimkunYVSUFQ@mail.gmail.com/
Cc: stable@vger.kernel.org
Signed-off-by: Niklas Cassel <cassel@kernel.org>
---
Mohammad, could you please test this patch and reply with your Tested-by
tag if it fixes the problem?

 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 2a5ca1b9ee5c..d234c83e0463 100644
--- a/drivers/ata/libata-core.c
+++ b/drivers/ata/libata-core.c
@@ -4305,6 +4305,7 @@ static const struct ata_dev_quirks_entry __ata_dev_quirks[] = {
 						ATA_QUIRK_FIRMWARE_WARN },
 
 	/* ADATA devices with LPM issues. */
+	{ "ADATA SU650",	"XD0R3C0F",	ATA_QUIRK_NOLPM },
 	{ "ADATA SU680",	NULL,		ATA_QUIRK_NOLPM },
 
 	/* Seagate disks with LPM issues */

base-commit: a12cc63129380a5364e787d92b30a3257f66c250
-- 
2.56.1


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

* Re: [PATCH] ata: libata-core: Disable LPM on ADATA SU650 with firmware XD0R3C0F
  2026-11-26 14:24 [PATCH] ata: libata-core: Disable LPM on ADATA SU650 with firmware XD0R3C0F Niklas Cassel
@ 2026-11-26 19:21 ` Mohammad Harsij Sani
  2026-11-27 10:25 ` Niklas Cassel
  1 sibling, 0 replies; 3+ messages in thread
From: Mohammad Harsij Sani @ 2026-11-26 19:21 UTC (permalink / raw)
  To: Niklas Cassel; +Cc: Damien Le Moal, stable, linux-ide

Hi Niklas,

I compiled mainline Linux with your patch applied and booted it without
`libata.force=1.00:nolpm` on the kernel command line. The quirk matched
automatically and the SSD stayed completely stable with zero timeouts or
errors:

[Thu Nov 26 22:30:15 2026] ata1: SATA max UDMA/133 abar
m2048@0xb132d000 port 0xb132d100 irq 123 lpm-pol 3
[Thu Nov 26 22:30:15 2026] ata1: SATA link up 6.0 Gbps (SStatus 133
SControl 300)
[Thu Nov 26 22:30:15 2026] ata1.00: Model 'ADATA SU650', rev
'XD0R3C0F', applying quirks: nolpm
[Thu Nov 26 22:30:15 2026] ata1.00: ATA-10: ADATA SU650, XD0R3C0F, max UDMA/133
[Thu Nov 26 22:30:15 2026] ata1.00: 468862128 sectors, multi 1: LBA48
NCQ (depth 32), AA
[Thu Nov 26 22:30:15 2026] ata1.00: LPM support broken, forcing max_power
[Thu Nov 26 22:30:15 2026] ata1.00: Features: DIPM
[Thu Nov 26 22:30:15 2026] ata1.00: configured for UDMA/133

Tested-by: Mohammad Harsij Sani <mohammadsaniac@gmail.com>

Thank you!

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

* Re: [PATCH] ata: libata-core: Disable LPM on ADATA SU650 with firmware XD0R3C0F
  2026-11-26 14:24 [PATCH] ata: libata-core: Disable LPM on ADATA SU650 with firmware XD0R3C0F Niklas Cassel
  2026-11-26 19:21 ` Mohammad Harsij Sani
@ 2026-11-27 10:25 ` Niklas Cassel
  1 sibling, 0 replies; 3+ messages in thread
From: Niklas Cassel @ 2026-11-27 10:25 UTC (permalink / raw)
  To: Damien Le Moal, Niklas Cassel; +Cc: Mohammad Harsij Sani, stable, linux-ide

On Thu, 26 Nov 2026 15:24:07 +0100, Niklas Cassel wrote:
> ADATA SU650 SSDs with firmware XD0R3C0F drop off the bus with NCQ command
> timeouts when LPM is enabled. Disable LPM for this firmware only, as the
> SU650 has shipped with several different controllers.
> 
> 

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

[1/1] ata: libata-core: Disable LPM on ADATA SU650 with firmware XD0R3C0F
      https://git.kernel.org/libata/linux/c/eca06bf5

Kind regards,
Niklas


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

end of thread, other threads:[~2026-11-27 10:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-26 14:24 [PATCH] ata: libata-core: Disable LPM on ADATA SU650 with firmware XD0R3C0F Niklas Cassel
2026-11-26 19:21 ` Mohammad Harsij Sani
2026-11-27 10:25 ` Niklas Cassel

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.