[patch 37/71] libata: OCZ Vertex cant do HPA

From: Greg KH
Date: Fri Sep 04 2009 - 20:23:57 EST

2.6.30-stable review patch. If anyone has any objections, please let us know.

From: Tejun Heo <tj@xxxxxxxxxx>

commit 7831387bda72af3059be48d39846d3eb6d8ce2f6 upstream.

OCZ Vertex SSD can't do HPA and not in a usual way. It reports HPA,
allows unlocking but then fails all IOs which fall in the unlocked
area. Quirk it so that HPA unlocking is not used for the device.

Reported by Daniel Perup in bnc#522414.


Signed-off-by: Tejun Heo <tj@xxxxxxxxxx>
Reported-by: Daniel Perup <probe@xxxxxxxx>
Signed-off-by: Jeff Garzik <jgarzik@xxxxxxxxxx>
Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxx>

drivers/ata/libata-core.c | 3 +++
1 file changed, 3 insertions(+)

--- a/drivers/ata/libata-core.c
+++ b/drivers/ata/libata-core.c
@@ -4271,6 +4271,9 @@ static const struct ata_blacklist_entry
{ "MAXTOR 6L080L4", "A93.0500", ATA_HORKAGE_BROKEN_HPA },

+ /* this one allows HPA unlocking but fails IOs on the area */
/* Devices which report 1 sector over size HPA */

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/