Skip to content

Commit 642c23e

Browse files
Marc Zyngieroupton
authored andcommitted
KVM: arm64: Make ID_AA64MMFR4_EL1.NV_frac writable
We want to make sure that it is possible for userspace to configure whether recursive NV is possible. Make NV_frac writable for that purpose. Signed-off-by: Marc Zyngier <maz@kernel.org> Reviewed-by: Joey Gouly <joey.gouly@arm.com> Link: https://lore.kernel.org/r/20250220134907.554085-12-maz@kernel.org Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
1 parent f83c41f commit 642c23e

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
@@ -2683,7 +2683,7 @@ static const struct sys_reg_desc sys_reg_descs[] = {
26832683
ID_WRITABLE(ID_AA64MMFR3_EL1, (ID_AA64MMFR3_EL1_TCRX |
26842684
ID_AA64MMFR3_EL1_S1PIE |
26852685
ID_AA64MMFR3_EL1_S1POE)),
2686-
ID_SANITISED(ID_AA64MMFR4_EL1),
2686+
ID_WRITABLE(ID_AA64MMFR4_EL1, ID_AA64MMFR4_EL1_NV_frac),
26872687
ID_UNALLOCATED(7,5),
26882688
ID_UNALLOCATED(7,6),
26892689
ID_UNALLOCATED(7,7),

0 commit comments

Comments
 (0)