arm64: KVM: HYP mode world switch implementation
authorMarc Zyngier <marc.zyngier@arm.com>
Mon, 10 Dec 2012 16:40:18 +0000 (16:40 +0000)
committerChristoffer Dall <christoffer.dall@linaro.org>
Thu, 2 Oct 2014 15:10:28 +0000 (17:10 +0200)
commit066bddb132227937d1f68dc5ec4554786e393345
treef5936947644df60f3602a7861eb8a87a3685919a
parentf756a17fc0ab844b88c1282cf5df2ffb03185825
arm64: KVM: HYP mode world switch implementation

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).

Reviewed-by: Christopher Covington <cov@codeaurora.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
(cherry picked from commit 55c7401d92e16360e0987afe39355f1eb6300f31)
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
arch/arm64/kernel/asm-offsets.c
arch/arm64/kvm/hyp.S [new file with mode: 0644]