ARM: new VGIC: Add vgic_v2_enable
authorAndre Przywara <andre.przywara@linaro.org>
Wed, 7 Feb 2018 14:53:03 +0000 (14:53 +0000)
committerStefano Stabellini <sstabellini@kernel.org>
Thu, 29 Mar 2018 17:37:03 +0000 (10:37 -0700)
commit848fc5948ac6a2351fb67bd52cde20ccb31e536c
tree91a2ac66e7811c80bae8660fcaaef3dc6ba12959
parent3a238e4763e81f78c2730a92598bca94b20db5f4
ARM: new VGIC: Add vgic_v2_enable

Enable the VGIC operation by properly initialising the registers
in the hypervisor GIC interface.

This is based on Linux commit f7b6985cc3d0, written by Eric Auger.

Signed-off-by: Andre Przywara <andre.przywara@linaro.org>
Acked-by: Julien Grall <julien.grall@arm.com>
Acked-by: Stefano Stabellini <sstabellini@kernel.org>
xen/arch/arm/vgic/vgic-v2.c
xen/arch/arm/vgic/vgic.h