]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
irqchip/gic-v3: Make sure read from ICC_IAR1_EL1 is visible on redestributor
authorTirumalesh Chalamarla <tchalamarla@caviumnetworks.com>
Thu, 4 Feb 2016 18:45:25 +0000 (10:45 -0800)
committerTim Gardner <tim.gardner@canonical.com>
Wed, 6 Apr 2016 09:19:39 +0000 (10:19 +0100)
commit6e6546a8f0efb7bfced83931d3a1d09d923062ff
tree722b6f827d392f23b4db4a6b7618d8e67bdce306
parent2540ecb43c94a062fd7f37e33b3d83e86aec29ce
irqchip/gic-v3: Make sure read from ICC_IAR1_EL1 is visible on redestributor

The ARM GICv3 specification mentions the need for dsb after a read
from the ICC_IAR1_EL1 register:

4.1.1 Physical CPU Interface:
The effects of reading ICC_IAR0_EL1 and ICC_IAR1_EL1
on the state of a returned INTID are not guaranteed
to be visible until after the execution of a DSB.

Not having this could result in missed interrupts, so let's add the
required barrier.

[Marc: fixed commit message]

Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Tirumalesh Chalamarla <tchalamarla@caviumnetworks.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
(cherry picked from commit 1a1ebd5fb1e203ee8cc73508cc7a38ac4b804596)
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
arch/arm64/include/asm/arch_gicv3.h