]> git.baikalelectronics.ru Git - kernel.git/commit
kvm: add a memslot flag for incoherent memory regions
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Mon, 17 Nov 2014 14:58:51 +0000 (14:58 +0000)
committerMarc Zyngier <marc.zyngier@arm.com>
Tue, 25 Nov 2014 13:57:27 +0000 (13:57 +0000)
commitb90d2a02c941eb62e87cb7ab65580731f99b3026
tree606079295f03562379cbca804d785ccb5cdf5326
parentc5a99972e25368ed0a8bb8c1ccbb5887cf9ad0b5
kvm: add a memslot flag for incoherent memory regions

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