]> git.karo-electronics.de Git - linux-beck.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)
commit3a3604bc5eb4ae21ec95b13fdd15959e8f70c434
tree2893ec1ae57ef923c1bfe4b8034acbc3b64f3096
parent57c841f131ef295b583365d2fddd6b0d16e82c10
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]