ARM: KVM: Switch to C-based stage2 init
authorMarc Zyngier <marc.zyngier@arm.com>
Mon, 1 Feb 2016 19:56:31 +0000 (19:56 +0000)
committerMarc Zyngier <marc.zyngier@arm.com>
Mon, 29 Feb 2016 18:34:14 +0000 (18:34 +0000)
commitd4c7688c51e57be20ca5f3dffa4c8771888a42fc
treeef37556f1e5e57e9d9e5a582bf25f3daf1dfc636
parentb98e2e728eed3091edbce64cfcc447a482b7726c
ARM: KVM: Switch to C-based stage2 init

As we now have hooks to setup VTCR from C code, let's drop the
original VTCR setup and reimplement it as part of the HYP code.

Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
arch/arm/include/asm/kvm_asm.h
arch/arm/include/asm/kvm_host.h
arch/arm/kvm/hyp/Makefile
arch/arm/kvm/hyp/hyp.h
arch/arm/kvm/hyp/s2-setup.c [new file with mode: 0644]
arch/arm/kvm/init.S