]> git.baikalelectronics.ru Git - kernel.git/commit
libata-acpi: filter out DIPM enable
authorTejun Heo <tj@kernel.org>
Sun, 6 Jul 2008 14:15:03 +0000 (23:15 +0900)
committerJeff Garzik <jgarzik@redhat.com>
Fri, 11 Jul 2008 13:38:23 +0000 (09:38 -0400)
commit8527dc079af5b2c97a06d24b4dcaab28cc024f71
treef6c7dace53bbd30ad3b79160265b5e470c52f1f2
parent8eda86cc58db0b352d67a217c0360c665e1f30ad
libata-acpi: filter out DIPM enable

Some BIOSen enable DIPM via _GTF which causes command timeouts under
certain configuration.  This didn't occur on 2.6.25 because 2.6.25
defaulted to SRST, so _GTF wasn't executed during boot probe, so ahci
host reset disabled DIPM and as _GTF wasn't executed after SRST, DIPM
wasn't enabled.  On 2.6.26, hardreset is used during probe and after
probe _GTF is executed enabling DIPM and thus the failures.

This patch could theoretically disable DIPM on machines which used to
have it enabled on 2.6.25 but AFAIK ahci is currently the only driver
which uses SATA ACPI hierarchy (_SDD) and as the host reset would have
always disabled DIPM, this shouldn't happen.

Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/libata-acpi.c