RE: [PATCH 3/4] powerpc/mpic: Move internal interrupt source vector allocation to a separate function.
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2012-04-04 23:29:55
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2012-04-04 23:29:55
On Wed, 2012-04-04 at 19:09 +0000, Sethi Varun-B16395 wrote:
quoted
I think that is more due to how you added the MPIC error interruptsandquoted
issues w/that code. If you are treating the MPIC error interruptsas aquoted
cascade than they should have a distinct linux IRQ space from the standard MPIC interrupts. This is how the MSIs work (as anexample). In case of error interrupts we are depending on the mpic_host_maps for mapping and interrupt specifier translations. There is no separate initialization as in case of MSIs. That's the reason I am treating error interrupts as mpic internal interrupt sources.
It makes sense to have an allocator for MPIC vectors but it should be a single allocator shared with the MSI code. Cheers, Ben.