Skip to content

Commit 2b4bb9f

Browse files
jwrdegoedegregkh
authored andcommitted
libata: Modify quirks for MX100 to limit NCQ_TRIM quirk to MU01 version
commit d418ff5 upstream. When commit 9c7be59 ("libata: Apply NOLPM quirk to Crucial MX100 512GB SSDs") was added it inherited the ATA_HORKAGE_NO_NCQ_TRIM quirk from the existing "Crucial_CT*MX100*" entry, but that entry sets model_rev to "MU01", where as the entry adding the NOLPM quirk sets it to NULL. This means that after this commit we no apply the NO_NCQ_TRIM quirk to all "Crucial_CT512MX100*" SSDs even if they have the fixed "MU02" firmware. This commit splits the "Crucial_CT512MX100*" quirk into 2 quirks, one for the "MU01" firmware and one for all other firmware versions, so that we once again only apply the NO_NCQ_TRIM quirk to the "MU01" firmware version. Fixes: 9c7be59 ("libata: Apply NOLPM quirk to ... MX100 512GB SSDs") Cc: stable@vger.kernel.org Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Tejun Heo <tj@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 65ab580 commit 2b4bb9f

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

‎drivers/ata/libata-core.c‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4523,10 +4523,13 @@ static const struct ata_blacklist_entry ata_device_blacklist [] = {
45234523
/* Crucial BX100 SSD 500GB has broken LPM support */
45244524
{ "CT500BX100SSD1", NULL, ATA_HORKAGE_NOLPM },
45254525

4526-
/* The 512GB version of the MX100 has both queued TRIM and LPM issues */
4527-
{ "Crucial_CT512MX100*", NULL, ATA_HORKAGE_NO_NCQ_TRIM |
4526+
/* 512GB MX100 with MU01 firmware has both queued TRIM and LPM issues */
4527+
{ "Crucial_CT512MX100*", "MU01", ATA_HORKAGE_NO_NCQ_TRIM |
45284528
ATA_HORKAGE_ZERO_AFTER_TRIM |
45294529
ATA_HORKAGE_NOLPM, },
4530+
/* 512GB MX100 with newer firmware has only LPM issues */
4531+
{ "Crucial_CT512MX100*", NULL, ATA_HORKAGE_ZERO_AFTER_TRIM |
4532+
ATA_HORKAGE_NOLPM, },
45304533

45314534
/* 480GB+ M500 SSDs have both queued TRIM and LPM issues */
45324535
{ "Crucial_CT480M500*", NULL, ATA_HORKAGE_NO_NCQ_TRIM |

0 commit comments

Comments
 (0)