xen/arm: IRQ: Handle multiple action per IRQ
authorJulien Grall <julien.grall@linaro.org>
Fri, 16 May 2014 14:40:32 +0000 (15:40 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Wed, 21 May 2014 11:48:02 +0000 (12:48 +0100)
commitba30e2bdc15918982242315717541bd76dd527e7
tree82d099334eba64e3356fc4fefb8bfb954e10e127
parent660deea8935a7dcb99e1114f15729bf56fb9d4d8
xen/arm: IRQ: Handle multiple action per IRQ

On ARM, it may happen (eg ARM SMMU) to setup multiple handler for the same
interrupt.

To be able to use multiple action, the driver has to explicitly call
{setup,request}_irq with IRQF_SHARED as 2nd parameter.

The behavior stays the same on x86, e.g only one action is handled.

Signed-off-by: Julien Grall <julien.grall@linaro.org>
Acked-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
xen/arch/arm/irq.c
xen/include/asm-arm/config.h
xen/include/xen/irq.h