SATA AHCI: Blacklist system that spins off disks during ACPI power off
commit1fd684346d41f6be2487c161f60d03a7feb68911
authorRafael J. Wysocki <rjw@sisk.pl>
Mon, 19 Jan 2009 19:57:36 +0000 (19 20:57 +0100)
committerJeff Garzik <jgarzik@redhat.com>
Tue, 27 Jan 2009 07:15:51 +0000 (27 02:15 -0500)
tree95d388b9965850cb5db8264603b6b1bba97ee37a
parent2a6e58d2731dcc05dafa7f976d935e0f0627fcd7
SATA AHCI: 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 nx6310 that uses the AHCI driver.

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