Skip to content

Commit cbaf0cf

Browse files
Anshuman Khandualctmarinas
authored andcommitted
arm64/sysreg: Convert TRBBASER_EL1 register to automatic generation
This converts TRBBASER_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 6669697 commit cbaf0cf

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

arch/arm64/include/asm/sysreg.h

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

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

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

236-
#define TRBBASER_EL1_BASE_MASK GENMASK_ULL(63, 12)
237-
#define TRBBASER_EL1_BASE_SHIFT 12
238235
#define TRBSR_EL1_EC_MASK GENMASK(31, 26)
239236
#define TRBSR_EL1_EC_SHIFT 26
240237
#define TRBSR_EL1_IRQ BIT(22)

arch/arm64/tools/sysreg

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2277,3 +2277,8 @@ EndSysreg
22772277
Sysreg TRBPTR_EL1 3 0 9 11 1
22782278
Field 63:0 PTR
22792279
EndSysreg
2280+
2281+
Sysreg TRBBASER_EL1 3 0 9 11 2
2282+
Field 63:12 BASE
2283+
Res0 11:0
2284+
EndSysreg

0 commit comments

Comments
 (0)