KVM: arm64: ARMv8 header changes for page logging
authorMario Smarduch <m.smarduch@samsung.com>
Thu, 15 Jan 2015 23:58:59 +0000 (15:58 -0800)
committerChristoffer Dall <christoffer.dall@linaro.org>
Fri, 16 Jan 2015 13:42:48 +0000 (14:42 +0100)
commit8199ed0e7c28ece79674a9fbba3208e93395a646
tree1d6fbae21b2cc6d7624b149da7b0d8cf3d326683
parent15a49a44fc36209e1112e9b8451d653cd07f17a8
KVM: arm64: ARMv8 header changes for page logging

This patch adds arm64 helpers to write protect pmds/ptes and retrieve
permissions while logging dirty pages. Also adds prototype to write protect
a memory slot and adds a pmd define to check for read-only pmds.

Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Mario Smarduch <m.smarduch@samsung.com>
arch/arm64/include/asm/kvm_asm.h
arch/arm64/include/asm/kvm_host.h
arch/arm64/include/asm/kvm_mmu.h
arch/arm64/include/asm/pgtable-hwdef.h