]> git.baikalelectronics.ru Git - kernel.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)
commit8f374945bed70b3fe0a9ca594c086adee8031a67
tree72fac0e997ef187de9b0e09f36e628cdcce941e7
parentd70e253042721a914788c5188d63a352e15a076e
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