Skip to contentSkip to conversation

ata: libata-core: Disable LPM on ADATA SU650 with firmware XD0R3C0F

PATCH Applied Niklas Cassel 2 participants 3 messages Nov 26 – Nov 27

Subsystems (2)
lore
Share & tools
lore

Niklas Cassel

author maintainer
#0 lore raw

PATCH 1/1 ata: libata-core: Disable LPM on ADATA SU650 with firmware XD0R3C0F

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.

---
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(+)
drivers/ata/libata-core.c +1 -0
index 2a5ca1b9ee5c..d234c83e0463 100644
@@ -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

Signature · 1 line
2.56.1
Tested-by on v1 1/1
#1 lore raw

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

Thank you!

author maintainer Applied
#2 lore raw
In reply to Niklas Cassel
Quoted 5 lines · Niklas Cassel

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