]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
SATA PIIX: Blacklist system that spins off disks during ACPI power off
authorRafael J. Wysocki <rjw@sisk.pl>
Mon, 19 Jan 2009 19:59:22 +0000 (20:59 +0100)
committerJeff Garzik <jgarzik@redhat.com>
Tue, 27 Jan 2009 07:15:53 +0000 (02:15 -0500)
commit5f451fe1ab5d73b987051f0d23c85216c552e163
tree59ad2caa4979127f8a2b3c13d6fec6fd6dbbe3b0
parente57db7bde7bff95ae812736ca00c73bd5271455b
SATA PIIX: Blacklist system that spins off disks during ACPI power off

Some notebooks from HP have the problem that their BIOSes attempt to
spin down hard drives before entering ACPI system states S4 and S5.
This leads to a yo-yo effect during system power-off shutdown and the
last phase of hibernation when the disk is first spun down by the
kernel and then almost immediately turned on and off by the BIOS.
This, in turn, may result in shortening the disk's life times.

To prevent this from happening we can blacklist the affected systems
using DMI information.

Blacklist HP 2510p that uses the ata_piix driver.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/ata_piix.c