hw/intc/arm_gic: Make ICCBPR/GICC_BPR banked
commit822e9cc310484f77e0b1c16fbef763a5d0eec80a
authorFabian Aggeler <aggelerf@ethz.ch>
Tue, 12 May 2015 10:57:17 +0000 (12 11:57 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 12 May 2015 10:57:17 +0000 (12 11:57 +0100)
tree810e3bbd1b9d2108e7ff82e6ff96b449475843c8
parent679aa175e84f5f80b32b307fce5a6b92729e0e61
hw/intc/arm_gic: Make ICCBPR/GICC_BPR banked

This register is banked in GICs with Security Extensions. Storing the
non-secure copy of BPR in the abpr, which is an alias to the non-secure
copy for secure access. ABPR itself is only accessible from secure state
if the GIC implements Security Extensions.

Signed-off-by: Fabian Aggeler <aggelerf@ethz.ch>
Signed-off-by: Greg Bellows <greg.bellows@linaro.org>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 1430502643-25909-8-git-send-email-peter.maydell@linaro.org
Message-id: 1429113742-8371-10-git-send-email-greg.bellows@linaro.org
[PMM: rewrote to fix style issues and correct handling of GICv2
 without security extensions]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/intc/arm_gic.c
include/hw/intc/arm_gic_common.h