Skip to content

Commit fac4ee7

Browse files
ouptonMarc Zyngier
authored andcommitted
KVM: arm64: nv: Expose FEAT_DF2 to NV-enabled VMs
The supporting infrastructure in KVM's abort injection code was merged a while ago, but the author (me!) forgot to relax the NV limitation when FEAT_DF2 got exposed to non-NV VMs. Fix it. Signed-off-by: Oliver Upton <oliver.upton@linux.dev> Signed-off-by: Marc Zyngier <maz@kernel.org>
1 parent 49da987 commit fac4ee7

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

arch/arm64/kvm/nested.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1463,7 +1463,6 @@ u64 limit_nv_id_reg(struct kvm *kvm, u32 reg, u64 val)
14631463
case SYS_ID_AA64PFR1_EL1:
14641464
/* Only support BTI, SSBS, CSV2_frac */
14651465
val &= ~(ID_AA64PFR1_EL1_PFAR |
1466-
ID_AA64PFR1_EL1_DF2 |
14671466
ID_AA64PFR1_EL1_MTEX |
14681467
ID_AA64PFR1_EL1_THE |
14691468
ID_AA64PFR1_EL1_GCS |

0 commit comments

Comments
 (0)