KVM: arm64: Move existing feature disabling over to FGU infrastructure
authorMarc Zyngier <maz@kernel.org>
Wed, 14 Feb 2024 13:18:20 +0000 (13:18 +0000)
committerOliver Upton <oliver.upton@linux.dev>
Mon, 19 Feb 2024 17:13:01 +0000 (17:13 +0000)
commitc5bac1ef7df6bcce4feaa5a609119cab5d5e4730
tree45d2beb431d589ed7a73cc88d7d6d33037bea523
parentf5a5a406b4b8bb6c1fc7a1e92a872bd86061a53f
KVM: arm64: Move existing feature disabling over to FGU infrastructure

We already trap a bunch of existing features for the purpose of
disabling them (MAIR2, POR, ACCDATA, SME...).

Let's move them over to our brand new FGU infrastructure.

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