* [PATCH] Remove quirk_via_abnormal_poweroff
@ 2006-10-17 10:13 Karsten Wiese
2006-10-17 18:27 ` Dave Jones
0 siblings, 1 reply; 2+ messages in thread
From: Karsten Wiese @ 2006-10-17 10:13 UTC (permalink / raw)
To: linux-kernel; +Cc: Dave Jones, mjg59, Greg KH
Hi
My K8T800 mobo resumes fine from suspend to ram with and without
patch applied against 2.6.18.
quirk_via_abnormal_poweroff makes some boards not boot 2.6.18,
so IMO patch should go to head, 2.6.18.2 and everywhere
"ACPI: ACPICA 20060623" has been applied.
Karsten
----------------------------------------------------------------
Remove quirk_via_abnormal_poweroff
Obsoleted by "ACPI: ACPICA 20060623":
<snip>
Implemented support for "ignored" bits in the ACPI
registers. According to the ACPI specification, these
bits should be preserved when writing the registers via
a read/modify/write cycle. There are 3 bits preserved
in this manner: PM1_CONTROL[0] (SCI_EN), PM1_CONTROL[9],
and PM1_STATUS[11].
http://bugzilla.kernel.org/show_bug.cgi?id=3691
</snip>
Signed-off-by: Karsten Wiese <fzu@wemgehoertderstaat.de>
---
drivers/pci/quirks.c | 27 ---------------------------
1 files changed, 0 insertions(+), 27 deletions(-)
diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c
index 23b599d..a53f713 100644
--- a/drivers/pci/quirks.c
+++ b/drivers/pci/quirks.c
@@ -683,33 +683,6 @@ static void __devinit quirk_vt82c598_id(
}
DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_82C597_0, quirk_vt82c598_id );
-#ifdef CONFIG_ACPI_SLEEP
-
-/*
- * Some VIA systems boot with the abnormal status flag set. This can cause
- * the BIOS to re-POST the system on resume rather than passing control
- * back to the OS. Clear the flag on boot
- */
-static void __devinit quirk_via_abnormal_poweroff(struct pci_dev *dev)
-{
- u32 reg;
-
- acpi_hw_register_read(ACPI_MTX_DO_NOT_LOCK, ACPI_REGISTER_PM1_STATUS,
- ®);
-
- if (reg & 0x800) {
- printk("Clearing abnormal poweroff flag\n");
- acpi_hw_register_write(ACPI_MTX_DO_NOT_LOCK,
- ACPI_REGISTER_PM1_STATUS,
- (u16)0x800);
- }
-}
-
-DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_8235, quirk_via_abnormal_poweroff);
-DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_8237, quirk_via_abnormal_poweroff);
-
-#endif
-
/*
* CardBus controllers have a legacy base address that enables them
* to respond as i82365 pcmcia controllers. We don't want them to
--
1.4.2.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Remove quirk_via_abnormal_poweroff
2006-10-17 10:13 [PATCH] Remove quirk_via_abnormal_poweroff Karsten Wiese
@ 2006-10-17 18:27 ` Dave Jones
0 siblings, 0 replies; 2+ messages in thread
From: Dave Jones @ 2006-10-17 18:27 UTC (permalink / raw)
To: Karsten Wiese; +Cc: linux-kernel, mjg59, Greg KH
On Tue, Oct 17, 2006 at 12:13:17PM +0200, Karsten Wiese wrote:
> Hi
>
> My K8T800 mobo resumes fine from suspend to ram with and without
> patch applied against 2.6.18.
> quirk_via_abnormal_poweroff makes some boards not boot 2.6.18,
> so IMO patch should go to head, 2.6.18.2 and everywhere
> "ACPI: ACPICA 20060623" has been applied.
ACK, I applied a similar patch to the Fedora kernel which doesn't
seem to have had any immediate bad effects on the boxes I've had
access to (Tested on several different VIA systems).
Signed-off-by: Dave Jones <davej@redhat.com>
Dave
--
http://www.codemonkey.org.uk
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-10-17 18:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-17 10:13 [PATCH] Remove quirk_via_abnormal_poweroff Karsten Wiese
2006-10-17 18:27 ` Dave Jones
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox