hw/cpu/a15mpcore: If CPU has EL2, enable it on the GIC and wire it up
commitba3287d117066fef2ebfea9555197f94c950afc5
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 24 Aug 2018 12:17:34 +0000 (24 13:17 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 24 Aug 2018 12:17:34 +0000 (24 13:17 +0100)
treea4f2e4fa2a3b1dd1c70db649393608eecb74b4f4
parentb558e295211deecdc769835a0a400f8aa59c53fd
hw/cpu/a15mpcore: If CPU has EL2, enable it on the GIC and wire it up

For the A15MPCore internal peripheral object, we handle GIC
security extensions support by checking whether the CPUs
have EL3 enabled; if so then we enable it also on the GIC.
Handle the virtualization extensions in the same way: if the
CPU has EL2 then enable it on the GIC and wire up the
virtualization-specific memory regions and the maintenance
interrupt.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Luc Michel <luc.michel@greensocs.com>
Message-id: 20180821132811.17675-8-peter.maydell@linaro.org
hw/cpu/a15mpcore.c