KVM: arm64: nv: Move system instructions to their own sys_reg_desc array
authorMarc Zyngier <maz@kernel.org>
Wed, 14 Feb 2024 13:18:13 +0000 (13:18 +0000)
committerOliver Upton <oliver.upton@linux.dev>
Mon, 19 Feb 2024 17:13:00 +0000 (17:13 +0000)
commit89bc63fabc8af0897b7ed4fb127006c205dc622c
tree90e67dcee87d2ddb129fb683111443a563ba8673
parent52571d058b0775d57c9d1bc62d8a19b2da51ef39
KVM: arm64: nv: Move system instructions to their own sys_reg_desc array

As NV results in a bunch of system instructions being trapped, it makes
sense to pull the system instructions into their own little array, where
they will eventually be joined by AT, TLBI and a bunch of other CMOs.

Based on an initial patch by Jintack Lim.

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