ahci: Blacklist HP Compaq 6720s that spins off disks during ACPI power off
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.
Signed-off-by Maciej Rutecki <[email protected]>
Signed-off-by Rafael J. Wysocki <[email protected]>
---
--- drivers/ata/ahci.c | 9 +++++++++ 1 file changed, 9 insertions(+)
drivers/ata/ahci.c +9 -0
@@ -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 */ };
Quoted 8 lines · Rafael J. Wysocki
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.
Signed-off-by Maciej Rutecki <[email protected]>Signed-off-by Rafael J. Wysocki <[email protected]>
Acked-by Tejun Heo <[email protected]>
Signature · 1 line
tejun
Jeff Garzik
AppliedQuoted 8 lines · Rafael J. Wysocki
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.
Signed-off-by Maciej Rutecki <[email protected]>Signed-off-by Rafael J. Wysocki <[email protected]>
applied