]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
libata: Make Crucial BX100 500GB LPM quirk apply to all firmware versions
authorHans de Goede <hdegoede@redhat.com>
Mon, 19 Mar 2018 15:33:59 +0000 (16:33 +0100)
committerSasha Levin <alexander.levin@microsoft.com>
Wed, 23 May 2018 01:33:53 +0000 (21:33 -0400)
[ Upstream commit 3bf7b5d6d017c27e0d3b160aafb35a8e7cfeda1f ]

Commit b17e5729a630 ("libata: disable LPM for Crucial BX100 SSD 500GB
drive"), introduced a ATA_HORKAGE_NOLPM quirk for Crucial BX100 500GB SSDs
but limited this to the MU02 firmware version, according to:
http://www.crucial.com/usa/en/support-ssd-firmware

MU02 is the last version, so there are no newer possibly fixed versions
and if the MU02 version has broken LPM then the MU01 almost certainly
also has broken LPM, so this commit changes the quirk to apply to all
firmware versions.

Fixes: b17e5729a630 ("libata: disable LPM for Crucial BX100 SSD 500GB...")
Cc: stable@vger.kernel.org
Cc: Kai-Heng Feng <kai.heng.feng@canonical.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
drivers/ata/libata-core.c

index cb6ae24a61fb59d9a6a87c8f3e8bf4fc5f96418b..ab9f82f8b8d8621763dbcad687e2c82f199e6114 100644 (file)
@@ -4227,7 +4227,7 @@ static const struct ata_blacklist_entry ata_device_blacklist [] = {
        { "PIONEER DVD-RW  DVR-216D",   NULL,   ATA_HORKAGE_NOSETXFER },
 
        /* Crucial BX100 SSD 500GB has broken LPM support */
-       { "CT500BX100SSD1",             "MU02", ATA_HORKAGE_NOLPM },
+       { "CT500BX100SSD1",             NULL,   ATA_HORKAGE_NOLPM },
 
        /* The 512GB version of the MX100 has both queued TRIM and LPM issues */
        { "Crucial_CT512MX100*",        NULL,   ATA_HORKAGE_NO_NCQ_TRIM |