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

From: Benjamin Herrenschmidt
Date: Mon Feb 02 2009 - 23:22:00 EST


On Mon, 2009-02-02 at 20:09 -0800, Linus Torvalds wrote:
>
> On Tue, 3 Feb 2009, Benjamin Herrenschmidt wrote:
> >
> > The new code will basically make the core bring back everything to D0 on
> > resume. That's a huge power surge and often not needed at all...
>
> Well, we could easily do it only if it was D0 _before_ resume.
>
> But quite frankly, before I worry about "huge power surge" issues, I want
> to feel like the architecture allows for clueless driver writers, and
> still giving us reliable suspend/resume.
>
> Once we have that reliability, and only _then_, do I care at all about
> power issues. Make it work first, and not result in a dead machine if
> there is unlucky shared interrupt timings.

Right.

Ben.


--
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/