Skip to content

Commit f0d4627

Browse files
Anshuman Khandualctmarinas
authored andcommitted
arm64/sysreg: Convert TRBIDR_EL1 register to automatic generation
This converts TRBIDR_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 a56035c commit f0d4627

File tree

2 files changed

+13
-6
lines changed

2 files changed

+13
-6
lines changed

arch/arm64/include/asm/sysreg.h

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

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

230-
#define SYS_TRBIDR_EL1 sys_reg(3, 0, 9, 11, 7)
231-
232230
#define TRBSR_EL1_BSC_MASK GENMASK(5, 0)
233231
#define TRBSR_EL1_BSC_SHIFT 0
234-
#define TRBIDR_EL1_F BIT(5)
235-
#define TRBIDR_EL1_P BIT(4)
236-
#define TRBIDR_EL1_Align_MASK GENMASK(3, 0)
237-
#define TRBIDR_EL1_Align_SHIFT 0
238232

239233
#define SYS_PMINTENSET_EL1 sys_reg(3, 0, 9, 14, 1)
240234
#define SYS_PMINTENCLR_EL1 sys_reg(3, 0, 9, 14, 2)

arch/arm64/tools/sysreg

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2319,3 +2319,16 @@ Sysreg TRBTRG_EL1 3 0 9 11 6
23192319
Res0 63:32
23202320
Field 31:0 TRG
23212321
EndSysreg
2322+
2323+
Sysreg TRBIDR_EL1 3 0 9 11 7
2324+
Res0 63:12
2325+
Enum 11:8 EA
2326+
0b0000 NON_DESC
2327+
0b0001 IGNORE
2328+
0b0010 SERROR
2329+
EndEnum
2330+
Res0 7:6
2331+
Field 5 F
2332+
Field 4 P
2333+
Field 3:0 Align
2334+
EndSysreg

0 commit comments

Comments
 (0)