summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/kvm_mmu.h
diff options
context:
space:
mode:
authorMarc Zyngier2017-01-25 14:33:11 +0100
committerMarc Zyngier2017-01-30 14:47:38 +0100
commit13b7756cec3d6e8329fa21c314fe150c12601c6c (patch)
tree0e7cccbb4dd4151a7da95c12c33c82d767265c5f /arch/arm/include/asm/kvm_mmu.h
parentarm/arm64: KVM: Enforce unconditional flush to PoC when mapping to stage-2 (diff)
downloadkernel-qcow2-linux-13b7756cec3d6e8329fa21c314fe150c12601c6c.tar.gz
kernel-qcow2-linux-13b7756cec3d6e8329fa21c314fe150c12601c6c.tar.xz
kernel-qcow2-linux-13b7756cec3d6e8329fa21c314fe150c12601c6c.zip
arm/arm64: KVM: Stop propagating cacheability status of a faulted page
Now that we unconditionally flush newly mapped pages to the PoC, there is no need to care about the "uncached" status of individual pages - they must all be visible all the way down. Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'arch/arm/include/asm/kvm_mmu.h')
-rw-r--r--arch/arm/include/asm/kvm_mmu.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/include/asm/kvm_mmu.h b/arch/arm/include/asm/kvm_mmu.h
index a58bbaa3ec60..95f38dcd611d 100644
--- a/arch/arm/include/asm/kvm_mmu.h
+++ b/arch/arm/include/asm/kvm_mmu.h
@@ -129,8 +129,7 @@ static inline bool vcpu_has_cache_enabled(struct kvm_vcpu *vcpu)
static inline void __coherent_cache_guest_page(struct kvm_vcpu *vcpu,
kvm_pfn_t pfn,
- unsigned long size,
- bool ipa_uncached)
+ unsigned long size)
{
/*
* If we are going to insert an instruction page and the icache is