Skip to content

Commit fb30669

Browse files
author
Marc Zyngier
committed
arm64: sysreg: Add layout for VNCR_EL2
Now that we're about to emulate VNCR_EL2, we need its full layout. Add it to the sysreg file. Reviewed-by: Oliver Upton <oliver.upton@linux.dev> Link: https://lore.kernel.org/r/20250514103501.2225951-2-maz@kernel.org Signed-off-by: Marc Zyngier <maz@kernel.org>
1 parent 3e4d597 commit fb30669

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

arch/arm64/include/asm/sysreg.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,6 @@
521521
#define SYS_VTTBR_EL2 sys_reg(3, 4, 2, 1, 0)
522522
#define SYS_VTCR_EL2 sys_reg(3, 4, 2, 1, 2)
523523

524-
#define SYS_VNCR_EL2 sys_reg(3, 4, 2, 2, 0)
525524
#define SYS_HAFGRTR_EL2 sys_reg(3, 4, 3, 1, 6)
526525
#define SYS_SPSR_EL2 sys_reg(3, 4, 4, 0, 0)
527526
#define SYS_ELR_EL2 sys_reg(3, 4, 4, 0, 1)

arch/arm64/tools/sysreg

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2971,6 +2971,12 @@ Sysreg SMCR_EL2 3 4 1 2 6
29712971
Fields SMCR_ELx
29722972
EndSysreg
29732973

2974+
Sysreg VNCR_EL2 3 4 2 2 0
2975+
Field 63:57 RESS
2976+
Field 56:12 BADDR
2977+
Res0 11:0
2978+
EndSysreg
2979+
29742980
Sysreg GCSCR_EL2 3 4 2 5 0
29752981
Fields GCSCR_ELx
29762982
EndSysreg

0 commit comments

Comments
 (0)