All of lore.kernel.org
 help / color / mirror / Atom feed
* plat_irq_dispatch
@ 2009-02-20  8:33 Chris Rhodin
  2009-02-20 13:47 ` plat_irq_dispatch Ralf Baechle
  0 siblings, 1 reply; 2+ messages in thread
From: Chris Rhodin @ 2009-02-20  8:33 UTC (permalink / raw)
  To: linux-mips

Hi,

I've been digging through the interrupt code trying to figure out what 
would be required to make it "generic irq" clean.  I have a couple of 
questions that I haven't been able to answer myself.

1) I count 24 different versions of plat_irq_dispatch, many of them only 
seem to vary in the use and priority of the 8 sources in the cause 
register.  Is this really the case or am I missing something subtle?

2) Why isn't plat_irq_dispatch looping until all active interrupts are 
serviced?

I already have what I believe is a generic plat_irq_dispatch that finds 
the highest priority irq in (almost) constant time.  It needs one block 
of defines to identify the 8 sources and another block to set the 
priorities.

Thanks,

Chris Rhodin

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-02-20 13:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-20  8:33 plat_irq_dispatch Chris Rhodin
2009-02-20 13:47 ` plat_irq_dispatch Ralf Baechle

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.