irqchip/gic-v4: Clear IRQ_DISABLE_UNLAZY again if mapping fails
authorMarc Zyngier <marc.zyngier@arm.com>
Fri, 10 Nov 2017 09:00:41 +0000 (09:00 +0000)
committerMarc Zyngier <marc.zyngier@arm.com>
Fri, 10 Nov 2017 09:50:36 +0000 (09:50 +0000)
commit90dc7122a3090ade1ffc6452b7b912cc73562021
treee6bcdc350cb946ae945a6500e4cba0522a8934be
parent4f8413a3a799c958f7a10a6310a451e6b8aef5ad
irqchip/gic-v4: Clear IRQ_DISABLE_UNLAZY again if mapping fails

Should the call to irq_set_vcpu_affinity() fail at map time,
we should restore the normal lazy-disable behaviour instead
of staying with the eager disable that GICv4 requires.

Reported-by: Eric Auger <eric.auger@redhat.com>
Acked-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
drivers/irqchip/irq-gic-v4.c