KVM: arm64: Don't zero VTTBR in __tlb_switch_to_host()
authorOliver Upton <oliver.upton@linux.dev>
Wed, 18 Oct 2023 23:32:08 +0000 (23:32 +0000)
committerOliver Upton <oliver.upton@linux.dev>
Fri, 20 Oct 2023 17:52:00 +0000 (17:52 +0000)
commit38ce26bf26666779565c2770e7ef36c02e0212d7
tree2d51352545f086153c10cf29f281210a94747a02
parent6465e260f48790807eef06b583b38ca9789b6072
KVM: arm64: Don't zero VTTBR in __tlb_switch_to_host()

HCR_EL2.TGE=0 is sufficient to disable stage-2 translation, so there's
no need to explicitly zero VTTBR_EL2.

Link: https://lore.kernel.org/r/20231018233212.2888027-2-oliver.upton@linux.dev
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
arch/arm64/kvm/hyp/vhe/tlb.c