kvm-arm: arm: Introduce hyp page table empty checks
authorSuzuki K Poulose <suzuki.poulose@arm.com>
Tue, 22 Mar 2016 17:15:55 +0000 (17:15 +0000)
committerChristoffer Dall <christoffer.dall@linaro.org>
Thu, 21 Apr 2016 12:57:40 +0000 (14:57 +0200)
commitb1d030a73e9039dcdec951327e9ce9e8d682067f
tree455ab65ae5f4686d4dcdc2850bc7ce723e81cab4
parentb1ae9a30f18d22e1ae544e4c37a032d018ebdac5
kvm-arm: arm: Introduce hyp page table empty checks

Introduce hyp_pxx_table_empty helpers for checking whether
a given table entry is empty. This will be used explicitly
once we switch to explicit routines for hyp page table walk.

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>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
arch/arm/include/asm/kvm_mmu.h