1 From: Tejun Heo <tj@kernel.org>
2 Subject: libata: OCZ Vertex can't do HPA
5 OCZ Vertex SSD can't do HPA and not in a usual way. It reports HPA,
6 allows unlocking but then fails all IOs which fall in the unlocked
7 area. Quirk it so that HPA unlocking is not used for the device.
9 Reported by Daniel Perup in bnc#522414.
11 https://bugzilla.novell.com/show_bug.cgi?id=522414
13 Signed-off-by: Tejun Heo <tj@kernel.org>
14 Reported-by: Daniel Perup <probe@spray.se>
15 Signed-off-by: Tejun Heo <teheo@suse.de>
17 drivers/ata/libata-core.c | 3 +++
18 1 file changed, 3 insertions(+)
20 Index: linux-2.6.27-SLE11_BRANCH/drivers/ata/libata-core.c
21 ===================================================================
22 --- linux-2.6.27-SLE11_BRANCH.orig/drivers/ata/libata-core.c
23 +++ linux-2.6.27-SLE11_BRANCH/drivers/ata/libata-core.c
24 @@ -4132,6 +4132,9 @@ static const struct ata_blacklist_entry
25 { "WDC WD2500JD-00HBB0", "WD-WMAL71490727", ATA_HORKAGE_BROKEN_HPA },
26 { "MAXTOR 6L080L4", "A93.0500", ATA_HORKAGE_BROKEN_HPA },
28 + /* this one allows HPA unlocking but fails IOs on the area */
29 + { "OCZ-VERTEX", "1.30", ATA_HORKAGE_BROKEN_HPA },
31 /* Devices which report 1 sector over size HPA */
32 { "ST340823A", NULL, ATA_HORKAGE_HPA_SIZE, },
33 { "ST320413A", NULL, ATA_HORKAGE_HPA_SIZE, },