From 00ee06c621b66433d0e7448284f3ab6fdf4d7b4c Mon Sep 17 00:00:00 2001 From: Laurentiu Tudor Date: Tue, 26 Jul 2016 16:12:30 +0300 Subject: arm/arm64 KVM: allow specifying s2 prot bits when mapping i/o Add parameter allowing to specify s2 page table protection and type bits and update the callers accordingly. The parameter will be used in a forthcoming patch. Signed-off-by: Laurentiu Tudor --- arch/arm/include/asm/kvm_mmu.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'arch/arm/include') diff --git a/arch/arm/include/asm/kvm_mmu.h b/arch/arm/include/asm/kvm_mmu.h index 0d84d50bf9ba..d18f3ef33633 100644 --- a/arch/arm/include/asm/kvm_mmu.h +++ b/arch/arm/include/asm/kvm_mmu.h @@ -55,7 +55,8 @@ void stage2_unmap_vm(struct kvm *kvm); int kvm_alloc_stage2_pgd(struct kvm *kvm); void kvm_free_stage2_pgd(struct kvm *kvm); int kvm_phys_addr_ioremap(struct kvm *kvm, phys_addr_t guest_ipa, - phys_addr_t pa, unsigned long size, bool writable); + phys_addr_t pa, unsigned long size, bool writable, + pgprot_t prot); int kvm_handle_guest_abort(struct kvm_vcpu *vcpu, struct kvm_run *run); -- cgit v1.2.3