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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linux Kernel Mailing List
Date: Thursday, March 26, 2009 - 12:32 pm

Gitweb:     http://git.kernel.org/linus/d2f9c0614e664708978c53eca4a5963e92830e88
Commit:     d2f9c0614e664708978c53eca4a5963e92830e88
Parent:     70f8b79cf3a2eb892a01271fdfbb1903c0c982a8
Author:     Maciej Rutecki <maciej.rutecki@gmail.com>
AuthorDate: Fri Mar 20 00:06:46 2009 +0100
Committer:  Jeff Garzik <jgarzik@redhat.com>
CommitDate: Tue Mar 24 22:11:46 2009 -0400

    ahci: Blacklist HP Compaq 6720s that spins off disks during ACPI power off
    
    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>
    Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
---
 drivers/ata/ahci.c |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/drivers/ata/ahci.c b/drivers/ata/ahci.c
index 98d7a9f..699789b 100644
--- a/drivers/ata/ahci.c
+++ b/drivers/ata/ahci.c
@@ -2565,6 +2565,15 @@ static bool ahci_broken_system_poweroff(struct pci_dev *pdev)
 			/* 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 */
 	};
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
ahci: Blacklist HP Compaq 6720s that spins off disks durin ..., Linux Kernel Mailing ..., (Thu Mar 26, 12:32 pm)