ARM: GIC: function to retrieve the physical address of the SGIR
authorNicolas Pitre <nicolas.pitre@linaro.org>
Wed, 28 Nov 2012 23:17:25 +0000 (18:17 -0500)
committerChristoffer Dall <christoffer.dall@linaro.org>
Thu, 2 Oct 2014 07:30:40 +0000 (09:30 +0200)
commitf4bf1bf03b1d82dea6f7f2f22dfbda1847933502
tree10f9b842a6969a50e0580ec3a369a8ce6b6430e2
parent0f4e18f6c9cdc1246da523f25b83776ece5b4b8a
ARM: GIC: function to retrieve the physical address of the SGIR

In order to have early assembly code signal other CPUs in the system,
we need to get the physical address for the SGIR register used to
send IPIs.  Because the register will be used with a precomputed CPU
interface ID number, there is no need for any locking in the assembly
code where this register is written to.

Signed-off-by: Nicolas Pitre <nico@linaro.org>
(cherry picked from commit eeb446581ba23a5a36b4f5c7bfa2b1f8f7c9fb66)
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
drivers/irqchip/irq-gic.c
include/linux/irqchip/arm-gic.h