Skip to content

Commit f4f6a95

Browse files
author
Marc Zyngier
committed
KVM: arm64: nv: Advertise support for PAuth
Now that we (hopefully) correctly handle ERETAx, drop the masking of the PAuth feature (something that was not even complete, as APA3 and AGA3 were still exposed). Reviewed-by: Joey Gouly <[email protected]> Reviewed-by: Oliver Upton <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Marc Zyngier <[email protected]>
1 parent 213b3d1 commit f4f6a95

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

arch/arm64/kvm/nested.c

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,9 @@ static u64 limit_nv_id_reg(u32 id, u64 val)
3535
break;
3636

3737
case SYS_ID_AA64ISAR1_EL1:
38-
/* Support everything but PtrAuth and Spec Invalidation */
38+
/* Support everything but Spec Invalidation */
3939
val &= ~(GENMASK_ULL(63, 56) |
40-
NV_FTR(ISAR1, SPECRES) |
41-
NV_FTR(ISAR1, GPI) |
42-
NV_FTR(ISAR1, GPA) |
43-
NV_FTR(ISAR1, API) |
44-
NV_FTR(ISAR1, APA));
40+
NV_FTR(ISAR1, SPECRES));
4541
break;
4642

4743
case SYS_ID_AA64PFR0_EL1:

0 commit comments

Comments
 (0)