]> asedeno.scripts.mit.edu Git - linux.git/commit
KVM: arm/arm64: Remove unnecessary CMOs when creating HYP page tables
authorMarc Zyngier <marc.zyngier@arm.com>
Tue, 1 May 2018 11:09:42 +0000 (12:09 +0100)
committerMarc Zyngier <marc.zyngier@arm.com>
Mon, 9 Jul 2018 10:37:42 +0000 (11:37 +0100)
commit0a72a5ab9feb8ba6101b00bbcac14cdbae1d1df7
tree384e47031fb371f87480294c98ed93d7988f7b0d
parent0db9dd8a0fbd5c861737bf2a8a2852e56dbd7ceb
KVM: arm/arm64: Remove unnecessary CMOs when creating HYP page tables

There is no need to perform cache maintenance operations when
creating the HYP page tables if we have the multiprocessing
extensions. ARMv7 mandates them with the virtualization support,
and ARMv8 just mandates them unconditionally.

Let's remove these operations.

Acked-by: Mark Rutland <mark.rutland@arm.com>
Acked-by: Christoffer Dall <christoffer.dall@arm.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
virt/kvm/arm/mmu.c