]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: KVM: Switch to C-based stage2 init
authorMarc Zyngier <marc.zyngier@arm.com>
Thu, 29 Jan 2015 13:19:45 +0000 (13:19 +0000)
committerMarc Zyngier <marc.zyngier@arm.com>
Mon, 29 Feb 2016 18:34:15 +0000 (18:34 +0000)
commitdb6d08b8eb3d5ef691a3a1bb897cd4d2c8f42513
tree2893ec1ae57ef923c1bfe4b8034acbc3b64f3096
parentd456d9b3030331627d18f628c3e489b802d33bde
arm64: KVM: Switch to C-based stage2 init

There is no real need to leave the stage2 initialization as part
of the early HYP bootstrap, and we can easily postpone it to
the point where we can safely run C code.

This will help VHE, which doesn't need any of this bootstrap.

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