Skip to content

Commit 5ea58a1

Browse files
James Morsewilldeacon
authored andcommitted
arm64/sysreg: Convert ID_ISAR6_EL1 to automatic generation
Convert ID_ISAR6_EL1 to be automatically generated as per DDI0487I.a, no functional changes. Reviewed-by: Mark Brown <[email protected]> Signed-off-by: James Morse <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Will Deacon <[email protected]>
1 parent f4e9ce1 commit 5ea58a1

File tree

2 files changed

+32
-10
lines changed

2 files changed

+32
-10
lines changed

arch/arm64/include/asm/sysreg.h

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -173,8 +173,6 @@
173173
#define SYS_ID_AFR0_EL1 sys_reg(3, 0, 0, 1, 3)
174174
#define SYS_ID_MMFR5_EL1 sys_reg(3, 0, 0, 3, 6)
175175

176-
#define SYS_ID_ISAR6_EL1 sys_reg(3, 0, 0, 2, 7)
177-
178176
#define SYS_MVFR0_EL1 sys_reg(3, 0, 0, 3, 0)
179177
#define SYS_MVFR1_EL1 sys_reg(3, 0, 0, 3, 1)
180178
#define SYS_MVFR2_EL1 sys_reg(3, 0, 0, 3, 2)
@@ -688,14 +686,6 @@
688686

689687
#define ID_DFR1_EL1_MTPMU_SHIFT 0
690688

691-
#define ID_ISAR6_EL1_I8MM_SHIFT 24
692-
#define ID_ISAR6_EL1_BF16_SHIFT 20
693-
#define ID_ISAR6_EL1_SPECRES_SHIFT 16
694-
#define ID_ISAR6_EL1_SB_SHIFT 12
695-
#define ID_ISAR6_EL1_FHM_SHIFT 8
696-
#define ID_ISAR6_EL1_DP_SHIFT 4
697-
#define ID_ISAR6_EL1_JSCVT_SHIFT 0
698-
699689
#define ID_MMFR5_EL1_ETS_SHIFT 0
700690

701691
#define ID_PFR0_EL1_DIT_SHIFT 24

arch/arm64/tools/sysreg

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -455,6 +455,38 @@ Enum 3:0 SEVL
455455
EndEnum
456456
EndSysreg
457457

458+
Sysreg ID_ISAR6_EL1 3 0 0 2 7
459+
Res0 63:28
460+
Enum 27:24 I8MM
461+
0b0000 NI
462+
0b0001 IMP
463+
EndEnum
464+
Enum 23:20 BF16
465+
0b0000 NI
466+
0b0001 IMP
467+
EndEnum
468+
Enum 19:16 SPECRES
469+
0b0000 NI
470+
0b0001 IMP
471+
EndEnum
472+
Enum 15:12 SB
473+
0b0000 NI
474+
0b0001 IMP
475+
EndEnum
476+
Enum 11:8 FHM
477+
0b0000 NI
478+
0b0001 IMP
479+
EndEnum
480+
Enum 7:4 DP
481+
0b0000 NI
482+
0b0001 IMP
483+
EndEnum
484+
Enum 3:0 JSCVT
485+
0b0000 NI
486+
0b0001 IMP
487+
EndEnum
488+
EndSysreg
489+
458490
Sysreg ID_MMFR4_EL1 3 0 0 2 6
459491
Res0 63:32
460492
Enum 31:28 EVT

0 commit comments

Comments
 (0)