]> asedeno.scripts.mit.edu Git - linux.git/commit
KVM: arm/arm64: vgic-its: Free caches when GITS_BASER Valid bit is cleared
authorEric Auger <eric.auger@redhat.com>
Thu, 26 Oct 2017 15:23:09 +0000 (17:23 +0200)
committerChristoffer Dall <christoffer.dall@linaro.org>
Mon, 6 Nov 2017 15:23:18 +0000 (16:23 +0100)
commit36d6961c2b481614e8d37495896436d9322df052
tree61c3425dd03217fc6887bd6fb8a2f0684ab98c69
parent2f609a03391f24ac31f12f27790194ac49dff832
KVM: arm/arm64: vgic-its: Free caches when GITS_BASER Valid bit is cleared

When the GITS_BASER<n>.Valid gets cleared, the data structures in
guest RAM are not valid anymore. The device, collection
and LPI lists stored in the in-kernel ITS represent the same
information in some form of cache. So let's void the cache.

Reviewed-by: Marc Zyngier <marc.zyngier@arm.com>
Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
virt/kvm/arm/vgic/vgic-its.c