lkml.org 
[lkml]   [2009]   [Feb]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: PCI PM: Restore standard config registers of all devices early
Date
On Tuesday 03 February 2009, Ingo Molnar wrote:
>
> * Linus Torvalds <torvalds@linux-foundation.org> wrote:
>
> > Ingo: how do we walk over all the interrupt descriptors in todays world?
> > The whole sparse-vs-nonsparse makes things a bit more complex.
>
> this:
>
> struct irq_desc *desc;
> int irq;
>
> for_each_irq_desc(i, desc) {
> ...
> }
>
> should do the trick.

So, what do I do in the loop to disable irqs for all devices on the IOAPIC
level. Would disable_irq(irq) be sufficient?

Also, how can I skip the timer interrupt (we don't want to disable that)?

Rafael


\
 
 \ /
  Last update: 2009-02-03 23:13    [W:1.099 / U:0.276 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site