lkml.org 
[lkml]   [2008]   [Dec]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [linux-pm] [PATCH 1/3] PCI: Rework default handling of suspend and resume
Date
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?

Rafael


\
 
 \ /
  Last update: 2008-12-07 14:43    [W:0.167 / U:7.300 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site