Skip to content

Commit d121f7d

Browse files
martinkpetersenhtejun
authored andcommitted
libata: Update queued trim blacklist for M5x0 drives
Crucial/Micron M500 drives properly support queued DSM TRIM starting with firmware MU05. Update the blacklist so we only disable queued trim for older firmware releases. Early M550 series drives suffer from the same issue as M500. A bugfix firmware is in the pipeline but not ready yet. Until then, blacklist queued trim for M550. Signed-off-by: Martin K. Petersen <[email protected]> Cc: Chris Samuel <[email protected]> Cc: Marc MERLIN <[email protected]> Signed-off-by: Tejun Heo <[email protected]> Cc: [email protected]
1 parent 74c03eb commit d121f7d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

drivers/ata/libata-core.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4224,8 +4224,10 @@ static const struct ata_blacklist_entry ata_device_blacklist [] = {
42244224
{ "PIONEER DVD-RW DVR-216D", NULL, ATA_HORKAGE_NOSETXFER },
42254225

42264226
/* devices that don't properly handle queued TRIM commands */
4227-
{ "Micron_M500*", NULL, ATA_HORKAGE_NO_NCQ_TRIM, },
4228-
{ "Crucial_CT???M500SSD*", NULL, ATA_HORKAGE_NO_NCQ_TRIM, },
4227+
{ "Micron_M500*", "MU0[1-4]*", ATA_HORKAGE_NO_NCQ_TRIM, },
4228+
{ "Crucial_CT???M500SSD*", "MU0[1-4]*", ATA_HORKAGE_NO_NCQ_TRIM, },
4229+
{ "Micron_M550*", NULL, ATA_HORKAGE_NO_NCQ_TRIM, },
4230+
{ "Crucial_CT???M550SSD*", NULL, ATA_HORKAGE_NO_NCQ_TRIM, },
42294231

42304232
/*
42314233
* Some WD SATA-I drives spin up and down erratically when the link

0 commit comments

Comments
 (0)