]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
arm, arm64: KVM: allow forced dcache flush on page faults
authorLaszlo Ersek <lersek@redhat.com>
Mon, 4 May 2015 01:25:06 +0000 (09:25 +0800)
committerSasha Levin <sasha.levin@oracle.com>
Mon, 11 May 2015 11:07:30 +0000 (07:07 -0400)
commit4529fdd323d9614d548811d4d12dc7be02b6d80f
tree317a73e9a71abae9d2f3dc2b07678755fb07aaa3
parent02f88a7f2ae921317c91f629d61c39e107b9af23
arm, arm64: KVM: allow forced dcache flush on page faults

commit 840f4bfbe03f1ce94ade8fdf84e8cd925ef15a48 upstream.

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>
Signed-off-by: Shannon Zhao <shannon.zhao@linaro.org>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
arch/arm/include/asm/kvm_mmu.h
arch/arm/kvm/mmu.c
arch/arm64/include/asm/kvm_mmu.h