]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
kvm: add a memslot flag for incoherent memory regions
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Mon, 4 May 2015 01:25:05 +0000 (09:25 +0800)
committerSasha Levin <sasha.levin@oracle.com>
Mon, 11 May 2015 11:07:30 +0000 (07:07 -0400)
commit02f88a7f2ae921317c91f629d61c39e107b9af23
tree570f26ae28c546f1cb3a6813a7762d5552b011e8
parent72d391fefcd4729206d2e17f557e7a918de9b6d8
kvm: add a memslot flag for incoherent memory regions

commit 1050dcda3052912984b26fb6d2695a3f41792000 upstream.

Memory regions may be incoherent with the caches, typically when the
guest has mapped a host system RAM backed memory region as uncached.
Add a flag KVM_MEMSLOT_INCOHERENT so that we can tag these memslots
and handle them appropriately when mapping them.

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>
include/linux/kvm_host.h