Re: [linux-pm] [PATCH 1/3] PCI: Rework default handling of suspend and resume

From: Rafael J. Wysocki
Date: Sun Dec 07 2008 - 08:40:27 EST

On Sunday, 7 of December 2008, Linus Torvalds wrote:
> On Sat, 6 Dec 2008, Linus Torvalds wrote:
> >
> > And btw, I'm talking suspend, not hibernate.

Even as far as hibernation is concerned, I wouldn't _expect_ any BIOS to do
anything like this as long as we use the ACPI facility to enter S4.

> And, btw, even if anybody actually does this, it should be up to the
> interrupt controller logic to re-initialize the interrupts so that they
> are back where they belong. IOW, we should never show such _idiotic_
> brokenness to any actual driver, it should all be remapped and handled
> below them.
> And I still have never heard any valid reason to do it in the first place,
> so until somebody actually gives a real example and an explanation, I
> would suggest ignoring the whole issue as some insane rumblings from crazy
> hw/firmare people doing idiotic things.

While I'd really like to do that, I also think that we should make all drivers
behave in the same way in this area.

Also, we need to state clearly what the _recommended_way of doing that is,
at least as a guidance for driver writers if not for anything else.

So, can we just say that PCI drivers shouldn't free IRQs during suspend and
request them during resume, and if there's any problem that leads to, then it
should be solved differently?

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at