diff options
author | Mario Smarduch <m.smarduch@samsung.com> | 2015-01-15 15:58:59 -0800 |
---|---|---|
committer | Christoffer Dall <christoffer.dall@linaro.org> | 2015-01-16 14:42:48 +0100 |
commit | 8199ed0e7c28ece79674a9fbba3208e93395a646 (patch) | |
tree | 1d6fbae21b2cc6d7624b149da7b0d8cf3d326683 /arch/arm64/include/asm/kvm_asm.h | |
parent | 15a49a44fc36209e1112e9b8451d653cd07f17a8 (diff) | |
download | op-kernel-dev-8199ed0e7c28ece79674a9fbba3208e93395a646.zip op-kernel-dev-8199ed0e7c28ece79674a9fbba3208e93395a646.tar.gz |
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>
Diffstat (limited to 'arch/arm64/include/asm/kvm_asm.h')
-rw-r--r-- | arch/arm64/include/asm/kvm_asm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm64/include/asm/kvm_asm.h b/arch/arm64/include/asm/kvm_asm.h index 4838421..4f7310f 100644 --- a/arch/arm64/include/asm/kvm_asm.h +++ b/arch/arm64/include/asm/kvm_asm.h @@ -126,6 +126,7 @@ extern char __kvm_hyp_vector[]; extern void __kvm_flush_vm_context(void); extern void __kvm_tlb_flush_vmid_ipa(struct kvm *kvm, phys_addr_t ipa); +extern void __kvm_tlb_flush_vmid(struct kvm *kvm); extern int __kvm_vcpu_run(struct kvm_vcpu *vcpu); |