diff options
author | 2020-05-30 17:22:19 +0100 | |
---|---|---|
committer | 2020-05-31 11:31:54 +0100 | |
commit | 7ae2f3db6167aa7184529fdacd1de72619baf93b (patch) | |
tree | 60809545dc6793f9e5b6addd158af191469bcc05 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | KVM: arm64: Drop obsolete comment about sys_reg ordering (diff) | |
download | wireguard-linux-7ae2f3db6167aa7184529fdacd1de72619baf93b.tar.xz wireguard-linux-7ae2f3db6167aa7184529fdacd1de72619baf93b.zip |
KVM: arm64: Flush the instruction cache if not unmapping the VM on reboot
On a system with FWB, we don't need to unmap Stage-2 on reboot,
as even if userspace takes this opportunity to repaint the whole
of memory, FWB ensures that the data side stays consistent even
if the guest uses non-cacheable mappings.
However, the I-side is not necessarily coherent with the D-side
if CTR_EL0.DIC is 0. In this case, invalidate the i-cache to
preserve coherency.
Reported-by: Alexandru Elisei <alexandru.elisei@arm.com>
Reviewed-by: Alexandru Elisei <alexandru.elisei@arm.com>
Fixes: 892713e97ca1 ("KVM: arm64: Sidestep stage2_unmap_vm() on vcpu reset when S2FWB is supported")
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions