arm64: KVM: HYP mode world switch implementation

Linux Kernel / Linux Kernel - Marc Zyngier [arm.com] - 12 June 2013 10:39 UTC

The HYP mode world switch in all its glory.

Implements save/restore of host/guest registers, EL2 trapping, IPA resolution, and additional services (tlb invalidation).

55c7401 arm64: KVM: HYP mode world switch implementation
arch/arm64/kernel/asm-offsets.c | 33 +++
arch/arm64/kvm/hyp.S | 617 +++++++++++++++++++++++++++++++++++++++
2 files changed, 650 insertions(+)

Upstream: git.kernel.org


  • Share