Messages in this thread | | | Date | Thu, 12 Jun 2003 21:34:06 +1000 | From | Anton Blanchard <> | Subject | Re: irq consolidation |
| |
> I believe Andrey's IRQ consolidation provides a single flat IRQ > structure. Unfortunately, this doesn't reflect the reality that we > have on many ARM platforms - it remains the case that we need to > decode IRQs on a multi-level basis.
Yes its still a flat structure. On ppc32/64 we offset the interrupts on the main controller to provide a space for ISA interrupts to go. Not great but it works for us.
One thing Paul suggested was to have a flag to mark an interrupt as a cascade in the irq descriptor. If its set then we also provide a get_irq() method (perhaps stashed away in the ->action field). That gives us nested interrupt handling in generic code. (assuming you can partition your irq numbers somehow)
Anton - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |