ide: workaround suspend bug for ACPI IDE
commit90494893b5d2bf7533fb65accbfd8cbd6b51b9c3
authorShaohua Li <shaohua.li@intel.com>
Thu, 10 Jan 2008 22:03:42 +0000 (10 23:03 +0100)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Thu, 10 Jan 2008 22:03:42 +0000 (10 23:03 +0100)
treec4c4d67a4c1d2bb1fd5e6630b5d25e6f33507a5a
parentfd0b45dfd1858c6b49d06355a460bcf36d654c06
ide: workaround suspend bug for ACPI IDE

http://bugzilla.kernel.org/show_bug.cgi?id=9673

ACPI _PS3 cause S4 breaks in the second attempt. The system has a _PS3
method for IDE, which will call into SMM mode. Currently we haven't clue
why just the second attempt fails, as it's totally in BIOS code, so
blacklist the system so far for 2.6.24.

A possible suspect is ACPI NVS isn't save/restore, we will revisit the
bug after linux does ACPI NVS save/restore.

Bart:
- fix scripts/checkpatch.pl complaints
- const-ify ide_acpi_dmi_table[]

Signed-off-by: Shaohua Li <shaohua.li@intel.com>
Cc: "Rafael J. Wysocki" <rjw@sisk.pl>
Reported-by: Mikko Vinni <mmvinni@yahoo.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-acpi.c