arm_gicv3: Fix ICC_BPR1 reset value when EL3 not implemented
commit64175afc695c0672876fbbfc31b299c86d562cb4
authorPeter Maydell <peter.maydell@linaro.org>
Wed, 7 Jun 2017 15:29:29 +0000 (7 16:29 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Wed, 7 Jun 2017 16:21:44 +0000 (7 17:21 +0100)
treec1d0c66fbfa5471767a2de6cdce1e0e1ab392d9e
parentb55a69fe5f0a504dac6359bb7e99a72b130c3661
arm_gicv3: Fix ICC_BPR1 reset value when EL3 not implemented

If EL3 is not implemented (ie only one security state) then the
one and only ICC_BPR1 register behaves like the Non-secure
ICC_BPR1 in an EL3-present configuration. In particular, its
reset value is GIC_MIN_BPR_NS, not GIC_MIN_BPR.

Correct the erroneous reset value; this fixes a problem where
we might hit the assert added in commit a89ff39ee901.

Reported-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Tested-by: Alex Bennée <alex.bennee@linaro.org>
Message-id: 1496849369-30282-1-git-send-email-peter.maydell@linaro.org
hw/intc/arm_gicv3_cpuif.c