KVM: arm64: nv: Handle TLBI ALLE1{,IS} operations
authorMarc Zyngier <maz@kernel.org>
Fri, 14 Jun 2024 14:45:45 +0000 (15:45 +0100)
committerOliver Upton <oliver.upton@linux.dev>
Wed, 19 Jun 2024 08:14:37 +0000 (08:14 +0000)
commit5cfb6cec62f2036c7391192c3fa2a0a8a8200286
tree352b623cef50d96a4f30bbd50047130ec4a69ed5
parente6c9a3015ff21a76ef8ccab54568f5fe630e6e3a
KVM: arm64: nv: Handle TLBI ALLE1{,IS} operations

TLBI ALLE1* is a pretty big hammer that invalides all S1/S2 TLBs.

This translates into the unmapping of all our shadow S2 PTs, itself
resulting in the corresponding TLB invalidations.

Co-developed-by: Jintack Lim <jintack.lim@linaro.org>
Co-developed-by: Christoffer Dall <christoffer.dall@arm.com>
Signed-off-by: Jintack Lim <jintack.lim@linaro.org>
Signed-off-by: Christoffer Dall <christoffer.dall@arm.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20240614144552.2773592-10-maz@kernel.org
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
arch/arm64/kvm/sys_regs.c