]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
SATA Sil: Blacklist system that spins off disks during ACPI power off
authorRafael J. Wysocki <rjw@sisk.pl>
Mon, 19 Jan 2009 19:58:29 +0000 (20:58 +0100)
committerJeff Garzik <jgarzik@redhat.com>
Tue, 27 Jan 2009 07:15:52 +0000 (02:15 -0500)
commite57db7bde7bff95ae812736ca00c73bd5271455b
tree72fac0e997ef187de9b0e09f36e628cdcce941e7
parent1fd684346d41f6be2487c161f60d03a7feb68911
SATA Sil: 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 nx6325 that uses the sata_sil driver.

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