]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
KVM: arm64: Move SVCR into the sysreg array
authorMarc Zyngier <maz@kernel.org>
Tue, 20 Aug 2024 13:17:55 +0000 (14:17 +0100)
committerMarc Zyngier <maz@kernel.org>
Tue, 27 Aug 2024 06:59:27 +0000 (07:59 +0100)
commitb55688943597df06f202c67341da5b9b0ec54e93
treeffc46925f46d6f0495d292d6418536d4c6a00ad4
parent8400291e289ee6b2bf9779ff1c83a291501f017b
KVM: arm64: Move SVCR into the sysreg array

SVCR is just a system register, and has no purpose being outside
of the sysreg array. If anything, it only makes it more difficult
to eventually support SME one day. If ever.

Move it into the array with its little friends, and associate it
with a visibility predicate.

Although this is dead code, it at least paves the way for the
next set of FP-related extensions.

Reviewed-by: Mark Brown <broonie@kernel.org>
Tested-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20240820131802.3547589-2-maz@kernel.org
Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm64/include/asm/kvm_host.h
arch/arm64/kvm/fpsimd.c
arch/arm64/kvm/sys_regs.c