* [PATCH] ata: libata-core: disable LPM on ADATA SU680 SSD
@ 2026-03-14 22:24 Damien Le Moal
2026-03-16 1:50 ` Martin K. Petersen
2026-03-16 9:14 ` Niklas Cassel
0 siblings, 2 replies; 3+ messages in thread
From: Damien Le Moal @ 2026-03-14 22:24 UTC (permalink / raw)
To: linux-ide, Niklas Cassel; +Cc: Mohammad Khaled Bayan
ADATA SU680 SSDs suffer from NCQ read and write commands timeouts or bus
errors when link power management (LPM) is enabled. Flag these devices
with the ATA_QUIRK_NOLPM quirk to prevent the use of LPM and avoid these
command failures.
Reported-by: Mohammad Khaled Bayan <mhd.khaled.bayan@gmail.com>
Closes: https://bugs.launchpad.net/ubuntu/+source/linux-hwe-6.17/+bug/2144060
Cc: stable@vger.kernel.org
Tested-by: Mohammad-Khaled Bayan <mhd.khaled.bayan@gmail.com>
Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
---
drivers/ata/libata-core.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c
index 6c4e567b6582..374993031895 100644
--- a/drivers/ata/libata-core.c
+++ b/drivers/ata/libata-core.c
@@ -4188,6 +4188,9 @@ static const struct ata_dev_quirks_entry __ata_dev_quirks[] = {
{ "ST3320[68]13AS", "SD1[5-9]", ATA_QUIRK_NONCQ |
ATA_QUIRK_FIRMWARE_WARN },
+ /* ADATA devices with LPM issues. */
+ { "ADATA SU680", NULL, ATA_QUIRK_NOLPM },
+
/* Seagate disks with LPM issues */
{ "ST1000DM010-2EP102", NULL, ATA_QUIRK_NOLPM },
{ "ST2000DM008-2FR102", NULL, ATA_QUIRK_NOLPM },
--
2.53.0
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH] ata: libata-core: disable LPM on ADATA SU680 SSD
2026-03-14 22:24 [PATCH] ata: libata-core: disable LPM on ADATA SU680 SSD Damien Le Moal
@ 2026-03-16 1:50 ` Martin K. Petersen
2026-03-16 9:14 ` Niklas Cassel
1 sibling, 0 replies; 3+ messages in thread
From: Martin K. Petersen @ 2026-03-16 1:50 UTC (permalink / raw)
To: Damien Le Moal; +Cc: linux-ide, Niklas Cassel, Mohammad Khaled Bayan
Damien,
> ADATA SU680 SSDs suffer from NCQ read and write commands timeouts or
> bus errors when link power management (LPM) is enabled. Flag these
> devices with the ATA_QUIRK_NOLPM quirk to prevent the use of LPM and
> avoid these command failures.
Looks OK.
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
--
Martin K. Petersen
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] ata: libata-core: disable LPM on ADATA SU680 SSD
2026-03-14 22:24 [PATCH] ata: libata-core: disable LPM on ADATA SU680 SSD Damien Le Moal
2026-03-16 1:50 ` Martin K. Petersen
@ 2026-03-16 9:14 ` Niklas Cassel
1 sibling, 0 replies; 3+ messages in thread
From: Niklas Cassel @ 2026-03-16 9:14 UTC (permalink / raw)
To: Damien Le Moal; +Cc: linux-ide, Mohammad Khaled Bayan
On Sun, Mar 15, 2026 at 07:24:15AM +0900, Damien Le Moal wrote:
> ADATA SU680 SSDs suffer from NCQ read and write commands timeouts or bus
> errors when link power management (LPM) is enabled. Flag these devices
> with the ATA_QUIRK_NOLPM quirk to prevent the use of LPM and avoid these
> command failures.
>
Applied to libata/linux.git (for-7.0-fixes), thanks!
[1/1] ata: libata-core: disable LPM on ADATA SU680 SSD
https://git.kernel.org/libata/linux/c/ce5ae93d
Kind regards,
Niklas
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-03-16 9:14 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-14 22:24 [PATCH] ata: libata-core: disable LPM on ADATA SU680 SSD Damien Le Moal
2026-03-16 1:50 ` Martin K. Petersen
2026-03-16 9:14 ` Niklas Cassel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox