[PATCH 0/2] irqchip: Armada 370/XP MPIC as a slave controller

Jason Cooper jason at lakedaemon.net
Mon Feb 17 15:27:09 EST 2014


On Mon, Feb 10, 2014 at 05:00:00PM -0300, Ezequiel Garcia wrote:
> The newly introduced Armada 375 and Armada 38x Marvell SoCs are based on
> Cortex-A9 CPU cores and use the ARM GIC as their main interrupt controller.
> 
> However, for various purposes (wake-up from suspend, MSI interrupts),
> the SoCs have a separate MPIC interrupt controller, acting as a slave
> to the GIC. This MPIC was already used as the primary controller on
> previous Marvell SoCs, so this commit extends the existing driver to
> allow the MPIC to be used as a GIC slave.
> 
> This series consists in two patches: the first one adds a helper function
> to handle MSI interrupts. The second patch implements a chained handler, which
> uses the previously introduced helper.
> 
> These patches apply cleanly on v3.14-rc1 plus:
> 
>   36802fd irqchip: armada-370-xp: fix MSI race condition
>   e1603bb irqchip: armada-370-xp: fix IPI race condition
> 
> Or simply on v3.14-rc2.
> 
> Ezequiel Garcia (2):
>   irqchip: armada-370-xp: Add helper for the MSI IRQ handling
>   irqchip: armada-370-xp: Setup a chained handler for the MPIC
> 
>  .../devicetree/bindings/arm/armada-370-xp-mpic.txt |  8 +-
>  drivers/irqchip/irq-armada-370-xp.c                | 96 ++++++++++++++++------
>  2 files changed, 76 insertions(+), 28 deletions(-)

I've tentatively applied these to mvebu/irqchip with the dependencies on
v3.14-rc1 + tags/mvebu-irqchip-fixes-3.13 to get them some coverage in
-next.

thx,

Jason.



More information about the linux-arm-kernel mailing list