All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH stable 1/2] libata: Update Crucial/Micron blacklist
@ 2015-05-21 22:51 Ben Hutchings
  2015-05-21 22:54 ` [PATCH stable 2/2] libata: Blacklist queued TRIM on Samsung SSD 850 Pro Ben Hutchings
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Ben Hutchings @ 2015-05-21 22:51 UTC (permalink / raw)
  To: stable; +Cc: Martin K. Petersen, Tejun Heo

[-- Attachment #1: Type: text/plain, Size: 1836 bytes --]

From: "Martin K. Petersen" <martin.petersen@oracle.com>
Date: Fri, 27 Mar 2015 15:17:20 -0400

commit ff7f53fb82a7801a778e5902bdbbc5e195ab0de0 upstream.

Micron has released an updated firmware (MU02) for M510/M550/MX100
drives to fix the issues with queued TRIM. Queued TRIM remains broken on
M500 but is working fine on later drives such as M600 and MX200.

Tweak our blacklist to reflect the above.

Link: https://bugzilla.kernel.org/show_bug.cgi?id=71371
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
[bwh: Backported to 3.16: adjust context and drop ZERO_AFTER_TRIM flags]
Signed-off-by; Ben Hutchings <ben@decadent.org.uk>
---
This appears to be needed for 3.12-3.18 stable branches, although 3.12.y
already has the following patch and will therefore need further context
changes.

Ben.

 drivers/ata/libata-core.c | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)

--- a/drivers/ata/libata-core.c
+++ b/drivers/ata/libata-core.c
@@ -4225,9 +4225,10 @@ static const struct ata_blacklist_entry
 
 	/* devices that don't properly handle queued TRIM commands */
 	{ "Micron_M500*",		NULL,	ATA_HORKAGE_NO_NCQ_TRIM, },
-	{ "Crucial_CT???M500SSD*",	NULL,	ATA_HORKAGE_NO_NCQ_TRIM, },
-	{ "Micron_M550*",		NULL,	ATA_HORKAGE_NO_NCQ_TRIM, },
-	{ "Crucial_CT*M550SSD*",	NULL,	ATA_HORKAGE_NO_NCQ_TRIM, },
+	{ "Crucial_CT*M500*",		NULL,	ATA_HORKAGE_NO_NCQ_TRIM, },
+	{ "Micron_M5[15]0*",		"MU01",	ATA_HORKAGE_NO_NCQ_TRIM, },
+	{ "Crucial_CT*M550*",		"MU01",	ATA_HORKAGE_NO_NCQ_TRIM, },
+	{ "Crucial_CT*MX100*",		"MU01",	ATA_HORKAGE_NO_NCQ_TRIM, },
 
 	/*
 	 * Some WD SATA-I drives spin up and down erratically when the link

-- 
Ben Hutchings
I'm not a reverse psychological virus.  Please don't copy me into your sig.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 811 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-05-26  8:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-21 22:51 [PATCH stable 1/2] libata: Update Crucial/Micron blacklist Ben Hutchings
2015-05-21 22:54 ` [PATCH stable 2/2] libata: Blacklist queued TRIM on Samsung SSD 850 Pro Ben Hutchings
2015-05-26  8:18   ` Jiri Slaby
2015-05-25 12:55 ` [PATCH stable 1/2] libata: Update Crucial/Micron blacklist Luis Henriques
2015-05-26  8:18 ` Jiri Slaby

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.