KVM: arm64: Expose ID_AA64FPFR0_EL1 as a writable ID reg
authorMarc Zyngier <maz@kernel.org>
Tue, 20 Aug 2024 13:18:00 +0000 (14:18 +0100)
committerMarc Zyngier <maz@kernel.org>
Tue, 27 Aug 2024 06:59:27 +0000 (07:59 +0100)
commit6d7307651a8a021e7286e90264676b893cb6032d
treee9a76684550391863919e162935ef08cbb8a4a03
parentb8f669b491ec4693d07126b20db0fbe747556d11
KVM: arm64: Expose ID_AA64FPFR0_EL1 as a writable ID reg

ID_AA64FPFR0_EL1 contains all sort of bits that contain a description
of which FP8 subfeatures are implemented.

We don't really care about them, so let's just expose that register
and allow userspace to disable subfeatures at will.

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