KVM: arm64: Reset VM feature ID regs from kvm_reset_sys_regs()
authorOliver Upton <oliver.upton@linux.dev>
Thu, 2 May 2024 23:35:24 +0000 (23:35 +0000)
committerMarc Zyngier <maz@kernel.org>
Thu, 9 May 2024 17:39:45 +0000 (18:39 +0100)
commit44cbe80b7616702b0a7443853feff2459a599b33
tree813b17ef1a0d3c635147f68cb245040546d89f5a
parent592efc606b549692c7ba6c8f232c4e6028d0382c
KVM: arm64: Reset VM feature ID regs from kvm_reset_sys_regs()

A subsequent change to KVM will expand the range of feature ID registers
that get special treatment at reset. Fold the existing ones back in to
kvm_reset_sys_regs() to avoid the need for an additional table walk.

Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
Link: https://lore.kernel.org/r/20240502233529.1958459-3-oliver.upton@linux.dev
Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm64/kvm/sys_regs.c