]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit680e410285f4773a0602af237e136e52f0400d68
treee6bcdc350cb946ae945a6500e4cba0522a8934be
parentdde323f4e4e9143e0b250df70f8b9a45a41cb37c
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