linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ahci: Blacklist HP Compaq 6720s that spins off disks during ACPI power off
@ 2009-03-19 23:06 Rafael J. Wysocki
  2009-03-19 23:11 ` Tejun Heo
  2009-03-25  2:14 ` Jeff Garzik
  0 siblings, 2 replies; 3+ messages in thread
From: Rafael J. Wysocki @ 2009-03-19 23:06 UTC (permalink / raw)
  To: Tejun Heo; +Cc: Jeff Garzik, linux-ide, LKML, Maciej Rutecki

From: Maciej Rutecki <maciej.rutecki@gmail.com>

Blacklist HP Compaq 6720s so that it doesn't play a "spin down,
spin up, spin down" ping-pong with the hard disk during system
power off.

Signed-off-by: Maciej Rutecki <maciej.rutecki@gmail.com>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
---
---
 drivers/ata/ahci.c |    9 +++++++++
 1 file changed, 9 insertions(+)

Index: linux-2.6/drivers/ata/ahci.c
===================================================================
--- linux-2.6.orig/drivers/ata/ahci.c
+++ linux-2.6/drivers/ata/ahci.c
@@ -2565,6 +2565,15 @@ static bool ahci_broken_system_poweroff(
 			/* PCI slot number of the controller */
 			.driver_data = (void *)0x1FUL,
 		},
+		{
+			.ident = "HP Compaq 6720s",
+			.matches = {
+				DMI_MATCH(DMI_SYS_VENDOR, "Hewlett-Packard"),
+				DMI_MATCH(DMI_PRODUCT_NAME, "HP Compaq 6720s"),
+			},
+			/* PCI slot number of the controller */
+			.driver_data = (void *)0x1FUL,
+		},
 
 		{ }	/* terminate list */
 	};

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

* Re: [PATCH] ahci: Blacklist HP Compaq 6720s that spins off disks during ACPI power off
  2009-03-19 23:06 [PATCH] ahci: Blacklist HP Compaq 6720s that spins off disks during ACPI power off Rafael J. Wysocki
@ 2009-03-19 23:11 ` Tejun Heo
  2009-03-25  2:14 ` Jeff Garzik
  1 sibling, 0 replies; 3+ messages in thread
From: Tejun Heo @ 2009-03-19 23:11 UTC (permalink / raw)
  To: Rafael J. Wysocki; +Cc: Jeff Garzik, linux-ide, LKML, Maciej Rutecki

Rafael J. Wysocki wrote:
> From: Maciej Rutecki <maciej.rutecki@gmail.com>
> 
> Blacklist HP Compaq 6720s so that it doesn't play a "spin down,
> spin up, spin down" ping-pong with the hard disk during system
> power off.
> 
> Signed-off-by: Maciej Rutecki <maciej.rutecki@gmail.com>
> Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>

Acked-by: Tejun Heo <tj@kernel.org>

-- 
tejun

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

* Re: [PATCH] ahci: Blacklist HP Compaq 6720s that spins off disks during ACPI power off
  2009-03-19 23:06 [PATCH] ahci: Blacklist HP Compaq 6720s that spins off disks during ACPI power off Rafael J. Wysocki
  2009-03-19 23:11 ` Tejun Heo
@ 2009-03-25  2:14 ` Jeff Garzik
  1 sibling, 0 replies; 3+ messages in thread
From: Jeff Garzik @ 2009-03-25  2:14 UTC (permalink / raw)
  To: Rafael J. Wysocki; +Cc: Tejun Heo, linux-ide, LKML, Maciej Rutecki

Rafael J. Wysocki wrote:
> From: Maciej Rutecki <maciej.rutecki@gmail.com>
> 
> Blacklist HP Compaq 6720s so that it doesn't play a "spin down,
> spin up, spin down" ping-pong with the hard disk during system
> power off.
> 
> Signed-off-by: Maciej Rutecki <maciej.rutecki@gmail.com>
> Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>

applied



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

end of thread, other threads:[~2009-03-25  2:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-19 23:06 [PATCH] ahci: Blacklist HP Compaq 6720s that spins off disks during ACPI power off Rafael J. Wysocki
2009-03-19 23:11 ` Tejun Heo
2009-03-25  2:14 ` Jeff Garzik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).