Skip to content

Commit 6669697

Browse files
Anshuman Khandualctmarinas
authored andcommitted
arm64/sysreg: Convert TRBPTR_EL1 register to automatic generation
This converts TRBPTR_EL1 register to automatic generation without causing any functional change. Cc: Will Deacon <[email protected]> Cc: Marc Zyngier <[email protected]> Cc: Mark Brown <[email protected]> Cc: Rob Herring <[email protected]> Cc: Suzuki K Poulose <[email protected]> Cc: James Morse <[email protected]> Cc: [email protected] Cc: [email protected] Reviewed-by: Mark Brown <[email protected]> Signed-off-by: Anshuman Khandual <[email protected]> Reviewed-by: Suzuki K Poulose <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Catalin Marinas <[email protected]>
1 parent eee6416 commit 6669697

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

arch/arm64/include/asm/sysreg.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -227,15 +227,12 @@
227227

228228
/*** End of Statistical Profiling Extension ***/
229229

230-
#define SYS_TRBPTR_EL1 sys_reg(3, 0, 9, 11, 1)
231230
#define SYS_TRBBASER_EL1 sys_reg(3, 0, 9, 11, 2)
232231
#define SYS_TRBSR_EL1 sys_reg(3, 0, 9, 11, 3)
233232
#define SYS_TRBMAR_EL1 sys_reg(3, 0, 9, 11, 4)
234233
#define SYS_TRBTRG_EL1 sys_reg(3, 0, 9, 11, 6)
235234
#define SYS_TRBIDR_EL1 sys_reg(3, 0, 9, 11, 7)
236235

237-
#define TRBPTR_EL1_PTR_MASK GENMASK_ULL(63, 0)
238-
#define TRBPTR_EL1_PTR_SHIFT 0
239236
#define TRBBASER_EL1_BASE_MASK GENMASK_ULL(63, 12)
240237
#define TRBBASER_EL1_BASE_SHIFT 12
241238
#define TRBSR_EL1_EC_MASK GENMASK(31, 26)

arch/arm64/tools/sysreg

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2273,3 +2273,7 @@ Enum 2:1 FM
22732273
EndEnum
22742274
Field 0 E
22752275
EndSysreg
2276+
2277+
Sysreg TRBPTR_EL1 3 0 9 11 1
2278+
Field 63:0 PTR
2279+
EndSysreg

0 commit comments

Comments
 (0)