All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH #upstream-fixes] libata: OCZ Vertex can't do HPA
@ 2009-08-06 16:59 Tejun Heo
  2009-08-12 10:25 ` Jeff Garzik
  0 siblings, 1 reply; 2+ messages in thread
From: Tejun Heo @ 2009-08-06 16:59 UTC (permalink / raw)
  To: Jeff Garzik, IDE/ATA development list, probe, stable

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.

 https://bugzilla.novell.com/show_bug.cgi?id=522414

Signed-off-by: Tejun Heo <tj@kernel.org>
Reported-by: Daniel Perup <probe@spray.se>
---
 drivers/ata/libata-core.c |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c
index 8ac98ff..072ba5e 100644
--- a/drivers/ata/libata-core.c
+++ b/drivers/ata/libata-core.c
@@ -4302,6 +4302,9 @@ static const struct ata_blacklist_entry ata_device_blacklist [] = {
 	{ "WDC WD2500JD-00HBB0", "WD-WMAL71490727", ATA_HORKAGE_BROKEN_HPA },
 	{ "MAXTOR 6L080L4",	"A93.0500",	ATA_HORKAGE_BROKEN_HPA },

+	/* this one allows HPA unlocking but fails IOs on the area */
+	{ "OCZ-VERTEX",		    "1.30",	ATA_HORKAGE_BROKEN_HPA },
+
 	/* Devices which report 1 sector over size HPA */
 	{ "ST340823A",		NULL,		ATA_HORKAGE_HPA_SIZE, },
 	{ "ST320413A",		NULL,		ATA_HORKAGE_HPA_SIZE, },

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

* Re: [PATCH #upstream-fixes] libata: OCZ Vertex can't do HPA
  2009-08-06 16:59 [PATCH #upstream-fixes] libata: OCZ Vertex can't do HPA Tejun Heo
@ 2009-08-12 10:25 ` Jeff Garzik
  0 siblings, 0 replies; 2+ messages in thread
From: Jeff Garzik @ 2009-08-12 10:25 UTC (permalink / raw)
  To: Tejun Heo; +Cc: IDE/ATA development list, probe, stable

Tejun Heo wrote:
> 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.
> 
>  https://bugzilla.novell.com/show_bug.cgi?id=522414
> 
> Signed-off-by: Tejun Heo <tj@kernel.org>
> Reported-by: Daniel Perup <probe@spray.se>
> ---
>  drivers/ata/libata-core.c |    3 +++
>  1 file changed, 3 insertions(+)

applied



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

end of thread, other threads:[~2009-08-12 10:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-06 16:59 [PATCH #upstream-fixes] libata: OCZ Vertex can't do HPA Tejun Heo
2009-08-12 10:25 ` Jeff Garzik

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.