Re: PCI PM: Restore standard config registers of all devices early

From: Linus Torvalds
Date: Mon Feb 02 2009 - 19:30:13 EST




On Tue, 3 Feb 2009, Rafael J. Wysocki wrote:
>
> BTW, on the PMAC the problematic driver appears to be the radeon driver,
> according to Ben, and the breakage is not related to USB.

Hmm. atyfb_base.c has the same kind of things with magic PMAC code, but it
doesn't follow the USB pattern - it just replaces "pci_set_power_state()"
_entirely_.

It seems a very interesting suspend routine, btw. It doesn't seem to do
any of the pci_save_state() at all, just re-initializes from scratch.
Maybe it is unhappy with the PM layer deciding to try to restore state
since it clearly didn't..

Linus
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/