Skip to content

Commit 6d73076

Browse files
author
Marc Zyngier
committed
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 <[email protected]> Tested-by: Mark Brown <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Marc Zyngier <[email protected]>
1 parent b8f669b commit 6d73076

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/arm64/kvm/sys_regs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2386,7 +2386,7 @@ static const struct sys_reg_desc sys_reg_descs[] = {
23862386
ID_WRITABLE(ID_AA64ZFR0_EL1, ~ID_AA64ZFR0_EL1_RES0),
23872387
ID_HIDDEN(ID_AA64SMFR0_EL1),
23882388
ID_UNALLOCATED(4,6),
2389-
ID_UNALLOCATED(4,7),
2389+
ID_WRITABLE(ID_AA64FPFR0_EL1, ~ID_AA64FPFR0_EL1_RES0),
23902390

23912391
/* CRm=5 */
23922392
{ SYS_DESC(SYS_ID_AA64DFR0_EL1),

0 commit comments

Comments
 (0)