]> git.karo-electronics.de Git - linux-beck.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)
commitc0ef6326dd393d84c9906240164e803536b5f3fc
tree45c55dc072b94c8a0027681b4eb5b461c587b3d3
parentb1d030a73e9039dcdec951327e9ce9e8d682067f
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]