]> git.baikalelectronics.ru Git - kernel.git/commit
kvm-arm: arm64: Introduce stage2 page table helpers
authorSuzuki K Poulose <suzuki.poulose@arm.com>
Tue, 22 Mar 2016 14:16:52 +0000 (14:16 +0000)
committerChristoffer Dall <christoffer.dall@linaro.org>
Thu, 21 Apr 2016 12:57:50 +0000 (14:57 +0200)
commitb08a8ace559ba19ec8ff6b496283a5008cbe2d54
tree45c55dc072b94c8a0027681b4eb5b461c587b3d3
parent3963f42383190854692329ea7eafc13eb9767002
kvm-arm: arm64: Introduce stage2 page table helpers

Introduce stage2 page table helpers for arm64. With the fake
page table level still in place, the stage2 table has the same
number of levels as that of the host (and hyp), so they all
fallback to the host version.

Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
arch/arm64/include/asm/kvm_mmu.h
arch/arm64/include/asm/stage2_pgtable.h [new file with mode: 0644]