KVM: arm64: nv: Compute NV view of idregs as a one-off
authorMarc Zyngier <maz@kernel.org>
Sun, 12 Nov 2023 21:05:14 +0000 (21:05 +0000)
committerMarc Zyngier <maz@kernel.org>
Tue, 19 Dec 2023 09:51:00 +0000 (09:51 +0000)
commit3ed0b5123cd5a2a4f1fe4e594e7bf319e9eaf1da
treee43bc4b6b8f5bf4f286593d4f5ba251f210d979d
parent111903d1f5b9334d1100e1c6ee08e740fa374d91
KVM: arm64: nv: Compute NV view of idregs as a one-off

Now that we have a full copy of the idregs for each VM, there is
no point in repainting the sysregs on each access. Instead, we
can simply perform the transmation as a one-off and be done
with it.

Reviewed-by: Oliver Upton <oliver.upton@linux.dev>
Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm64/include/asm/kvm_host.h
arch/arm64/include/asm/kvm_nested.h
arch/arm64/kvm/arm.c
arch/arm64/kvm/nested.c
arch/arm64/kvm/sys_regs.c