]> git.baikalelectronics.ru Git - kernel.git/commit
SATA AHCI: Blacklist system that spins off disks during ACPI power off
authorRafael J. Wysocki <rjw@sisk.pl>
Mon, 19 Jan 2009 19:57:36 +0000 (20:57 +0100)
committerJeff Garzik <jgarzik@redhat.com>
Tue, 27 Jan 2009 07:15:51 +0000 (02:15 -0500)
commitd70e253042721a914788c5188d63a352e15a076e
tree95d388b9965850cb5db8264603b6b1bba97ee37a
parentbfd28987e3cda03a366ddf7516726882b26f3efd
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