KVM: arm64: nv: Drop sanitised_sys_reg() helper
authorMarc Zyngier <maz@kernel.org>
Wed, 14 Feb 2024 13:18:08 +0000 (13:18 +0000)
committerOliver Upton <oliver.upton@linux.dev>
Mon, 19 Feb 2024 17:13:00 +0000 (17:13 +0000)
commit76b457a5cdeae453481910b2b3978d775e9563dc
tree6197364ac09383c3e545d125dcc99f3c412b795a
parentd39051d39269dff2ec82c61f3da60edec08d5643
KVM: arm64: nv: Drop sanitised_sys_reg() helper

Now that we have the infrastructure to enforce a sanitised register
value depending on the VM configuration, drop the helper that only
used the architectural RES0 value.

Reviewed-by: Joey Gouly <joey.gouly@arm.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20240214131827.2856277-8-maz@kernel.org
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
arch/arm64/kvm/emulate-nested.c