Skip to contentSkip to conversation

ahci: Blacklist HP Compaq 6720s that spins off disks during ACPI power off

PATCH Applied Rafael J. Wysocki 3 participants 3 messages Mar 19, 2009 – Mar 25, 2009 libata

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ahci: Blacklist HP Compaq 6720s that spins off disks during ACPI power off

From: Maciej Rutecki <[email protected]>

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.

---

---
 drivers/ata/ahci.c |    9 +++++++++
 1 file changed, 9 insertions(+)
drivers/ata/ahci.c +9 -0
Index: 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 */
 	};