]> www.infradead.org Git - users/hch/misc.git/commitdiff
ata: libata-core: Add ATA_HORKAGE_NOLPM for all Crucial BX SSD1 models
authorNiklas Cassel <cassel@kernel.org>
Thu, 27 Jun 2024 10:55:52 +0000 (12:55 +0200)
committerNiklas Cassel <cassel@kernel.org>
Fri, 28 Jun 2024 14:33:50 +0000 (16:33 +0200)
We got another report that CT1000BX500SSD1 does not work with LPM.

If you look in libata-core.c, we have six different Crucial devices that
are marked with ATA_HORKAGE_NOLPM. This model would have been the seventh.
(This quirk is used on Crucial models starting with both CT* and
Crucial_CT*)

It is obvious that this vendor does not have a great history of supporting
LPM properly, therefore, add the ATA_HORKAGE_NOLPM quirk for all Crucial
BX SSD1 models.

Fixes: 7627a0edef54 ("ata: ahci: Drop low power policy board type")
Cc: stable@vger.kernel.org
Reported-by: Alessandro Maggio <alex.tkd.alex@gmail.com>
Closes: https://bugzilla.kernel.org/show_bug.cgi?id=218832
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Link: https://lore.kernel.org/r/20240627105551.4159447-2-cassel@kernel.org
Signed-off-by: Niklas Cassel <cassel@kernel.org>
drivers/ata/libata-core.c

index e1bf8a19b3c89e2cdfc257578bdc9b92cc95cb80..efb5195da60c56161ae88aa025c3015d2f3cf335 100644 (file)
@@ -4137,8 +4137,7 @@ static const struct ata_blacklist_entry ata_device_blacklist [] = {
        { "PIONEER BD-RW   BDR-205",    NULL,   ATA_HORKAGE_NOLPM },
 
        /* Crucial devices with broken LPM support */
-       { "CT500BX100SSD1",             NULL,   ATA_HORKAGE_NOLPM },
-       { "CT240BX500SSD1",             NULL,   ATA_HORKAGE_NOLPM },
+       { "CT*0BX*00SSD1",              NULL,   ATA_HORKAGE_NOLPM },
 
        /* 512GB MX100 with MU01 firmware has both queued TRIM and LPM issues */
        { "Crucial_CT512MX100*",        "MU01", ATA_HORKAGE_NO_NCQ_TRIM |