Skip to content

Commit ce5ae93

Browse files
damien-lemoalfloatious
authored andcommitted
ata: libata-core: disable LPM on ADATA SU680 SSD
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> Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com> Signed-off-by: Niklas Cassel <cassel@kernel.org>
1 parent ee0e6e6 commit ce5ae93

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

drivers/ata/libata-core.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4188,6 +4188,9 @@ static const struct ata_dev_quirks_entry __ata_dev_quirks[] = {
41884188
{ "ST3320[68]13AS", "SD1[5-9]", ATA_QUIRK_NONCQ |
41894189
ATA_QUIRK_FIRMWARE_WARN },
41904190

4191+
/* ADATA devices with LPM issues. */
4192+
{ "ADATA SU680", NULL, ATA_QUIRK_NOLPM },
4193+
41914194
/* Seagate disks with LPM issues */
41924195
{ "ST1000DM010-2EP102", NULL, ATA_QUIRK_NOLPM },
41934196
{ "ST2000DM008-2FR102", NULL, ATA_QUIRK_NOLPM },

0 commit comments

Comments
 (0)