]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] PCI: Clear abnormal poweroff flag on VIA southbridges, fix resume
authorMatthew Garrett <mjg59@srcf.ucam.org>
Fri, 30 Jun 2006 09:31:25 +0000 (02:31 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 12 Jul 2006 23:05:48 +0000 (16:05 -0700)
commit1106b9cb9b0a64f90c6bab3eeacb72cff3b83971
treec610d474abc12eaf241ab6d2f6950260371d1669
parent8b0af285f4e0faa104fd907a9ead87febc84ec71
[PATCH] PCI: Clear abnormal poweroff flag on VIA southbridges, fix resume

Some VIA southbridges contain a flag in the ACPI register space that
indicates whether an abnormal poweroff has occured, presumably with the
intention that it can be cleared on clean shutdown.  Some BIOSes check this
flag at resume time, and will re-POST the system rather than jump back to
the OS if it's set.  Clearing it at boot time appears to be sufficient.
I'm not sure if drivers/pci/quirks.c is the right place to do it, but I'm
not sure where would be cleaner.

[akpm@osdl.org: cleanups, build fix]
Signed-off-by: Matthew Garrett <mjg59@srcf.ucam.org>
Cc: Greg KH <greg@kroah.com>
Cc: "Brown, Len" <len.brown@intel.com>
Cc: "Yu, Luming" <luming.yu@intel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/pci/quirks.c