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

Linus Torvalds
2009-02-03T04:10:32Z

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.

Linus