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

From: Linus Torvalds
Date: Mon Feb 02 2009 - 23:10:33 EST




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