irqchip/gic: Return IRQ_SET_MASK_OK_DONE in the set_affinity method
authorMarc Zyngier <marc.zyngier@arm.com>
Fri, 19 Feb 2016 15:00:29 +0000 (15:00 +0000)
committerJason Cooper <jason@lakedaemon.net>
Fri, 19 Feb 2016 15:42:29 +0000 (15:42 +0000)
commit0407daceedfed003eaacb850d06cbbe359348367
treec47fc329b56a23ce8d329c53357016359bc1e550
parentc27f29bbbf02168c9b1e8ba0fe7a8cb917e5a50f
irqchip/gic: Return IRQ_SET_MASK_OK_DONE in the set_affinity method

Moving an SPI around doesn't require any extra work from the rest
of the stack, and specially not for MSI-generated SPIs.

It is then worth returning IRQ_SET_MASK_OK_DONE instead of
IRQ_SET_MASK_OK, and simplify the other irqchips that rely on
this behaviour (GICv2m and Marvell's ODMI controller).

Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Link: https://lkml.kernel.org/r/1455894029-17270-1-git-send-email-marc.zyngier@arm.com
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
drivers/irqchip/irq-gic-v2m.c
drivers/irqchip/irq-gic.c
drivers/irqchip/irq-mvebu-odmi.c
This page took 0.028525 seconds and 5 git commands to generate.