arm, arm64: KVM: allow forced dcache flush on page faults
authorLaszlo Ersek <lersek@redhat.com>
Mon, 17 Nov 2014 14:58:52 +0000 (14:58 +0000)
committerMarc Zyngier <marc.zyngier@arm.com>
Tue, 25 Nov 2014 13:57:27 +0000 (13:57 +0000)
commit840f4bfbe03f1ce94ade8fdf84e8cd925ef15a48
treed9d0e1af88829649a866a5605b522053a13e2dc4
parent1050dcda3052912984b26fb6d2695a3f41792000
arm, arm64: KVM: allow forced dcache flush on page faults

To allow handling of incoherent memslots in a subsequent patch, this
patch adds a paramater 'ipa_uncached' to cache_coherent_guest_page()
so that we can instruct it to flush the page's contents to DRAM even
if the guest has caching globally enabled.

Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
arch/arm/include/asm/kvm_mmu.h
arch/arm/kvm/mmu.c
arch/arm64/include/asm/kvm_mmu.h