xref: /openbmc/linux/arch/arm64/tools/sysreg (revision f0d4627f)
1# SPDX-License-Identifier: GPL-2.0-only
2#
3# System register metadata
4
5# Each System register is described by a Sysreg block:
6
7# Sysreg 	<name>	<op0> 	<op1>	<crn>	<crm>	<op2>
8# <field>
9# ...
10# EndSysreg
11
12# Within a Sysreg block, each field can be described as one of:
13
14# Res0	<msb>[:<lsb>]
15
16# Res1	<msb>[:<lsb>]
17
18# Unkn	<msb>[:<lsb>]
19
20# Field	<msb>[:<lsb>]	<name>
21
22# Enum	<msb>[:<lsb>]	<name>
23#	<enumval>	<enumname>
24#	...
25# EndEnum
26
27# Alternatively if multiple registers share the same layout then
28# a SysregFields block can be used to describe the shared layout
29
30# SysregFields	<fieldsname>
31# <field>
32# ...
33# EndSysregFields
34
35# and referenced from within the Sysreg:
36
37# Sysreg 	<name>	<op0> 	<op1>	<crn>	<crm>	<op2>
38# Fields	<fieldsname>
39# EndSysreg
40
41# For ID registers we adopt a few conventions for translating the
42# language in the ARM into defines:
43#
44# NI  - Not implemented
45# IMP - Implemented
46#
47# In general it is recommended that new enumeration items be named for the
48# feature that introduces them (eg, FEAT_LS64_ACCDATA introduces enumeration
49# item ACCDATA) though it may be more taseful to do something else.
50
51Sysreg	OSDTRRX_EL1	2	0	0	0	2
52Res0	63:32
53Field	31:0	DTRRX
54EndSysreg
55
56Sysreg	MDCCINT_EL1	2	0	0	2	0
57Res0	63:31
58Field	30	RX
59Field	29	TX
60Res0	28:0
61EndSysreg
62
63Sysreg	MDSCR_EL1	2	0	0	2	2
64Res0	63:36
65Field	35	EHBWE
66Field	34	EnSPM
67Field	33	TTA
68Field	32	EMBWE
69Field	31	TFO
70Field	30	RXfull
71Field	29	TXfull
72Res0	28
73Field	27	RXO
74Field	26	TXU
75Res0	25:24
76Field	23:22	INTdis
77Field	21	TDA
78Res0	20
79Field	19	SC2
80Res0	18:16
81Field	15	MDE
82Field	14	HDE
83Field	13	KDE
84Field	12	TDCC
85Res0	11:7
86Field	6	ERR
87Res0	5:1
88Field	0	SS
89EndSysreg
90
91Sysreg	OSDTRTX_EL1	2	0	0	3	2
92Res0	63:32
93Field	31:0	DTRTX
94EndSysreg
95
96Sysreg	OSECCR_EL1	2	0	0	6	2
97Res0	63:32
98Field	31:0	EDECCR
99EndSysreg
100
101Sysreg	OSLAR_EL1	2	0	1	0	4
102Res0	63:1
103Field	0	OSLK
104EndSysreg
105
106Sysreg ID_PFR0_EL1	3	0	0	1	0
107Res0	63:32
108UnsignedEnum	31:28	RAS
109	0b0000	NI
110	0b0001	RAS
111	0b0010	RASv1p1
112EndEnum
113UnsignedEnum	27:24	DIT
114	0b0000	NI
115	0b0001	IMP
116EndEnum
117UnsignedEnum	23:20	AMU
118	0b0000	NI
119	0b0001	AMUv1
120	0b0010	AMUv1p1
121EndEnum
122UnsignedEnum	19:16	CSV2
123	0b0000	UNDISCLOSED
124	0b0001	IMP
125	0b0010	CSV2p1
126EndEnum
127UnsignedEnum	15:12	State3
128	0b0000	NI
129	0b0001	IMP
130EndEnum
131Enum	11:8	State2
132	0b0000	NI
133	0b0001	NO_CV
134	0b0010	CV
135EndEnum
136UnsignedEnum	7:4	State1
137	0b0000	NI
138	0b0001	THUMB
139	0b0010	THUMB2
140EndEnum
141UnsignedEnum	3:0	State0
142	0b0000	NI
143	0b0001	IMP
144EndEnum
145EndSysreg
146
147Sysreg ID_PFR1_EL1	3	0	0	1	1
148Res0	63:32
149UnsignedEnum	31:28	GIC
150	0b0000	NI
151	0b0001	GICv3
152	0b0010	GICv4p1
153EndEnum
154UnsignedEnum	27:24	Virt_frac
155	0b0000	NI
156	0b0001	IMP
157EndEnum
158Enum	23:20	Sec_frac
159	0b0000	NI
160	0b0001	WALK_DISABLE
161	0b0010	SECURE_MEMORY
162EndEnum
163UnsignedEnum	19:16	GenTimer
164	0b0000	NI
165	0b0001	IMP
166	0b0010	ECV
167EndEnum
168UnsignedEnum	15:12	Virtualization
169	0b0000	NI
170	0b0001	IMP
171EndEnum
172UnsignedEnum	11:8	MProgMod
173	0b0000	NI
174	0b0001	IMP
175EndEnum
176Enum	7:4	Security
177	0b0000	NI
178	0b0001	EL3
179	0b0001	NSACR_RFR
180EndEnum
181UnsignedEnum	3:0	ProgMod
182	0b0000	NI
183	0b0001	IMP
184EndEnum
185EndSysreg
186
187Sysreg ID_DFR0_EL1	3	0	0	1	2
188Res0	63:32
189UnsignedEnum	31:28	TraceFilt
190	0b0000	NI
191	0b0001	IMP
192EndEnum
193UnsignedEnum	27:24	PerfMon
194	0b0000	NI
195	0b0001	PMUv1
196	0b0010	PMUv2
197	0b0011	PMUv3
198	0b0100	PMUv3p1
199	0b0101	PMUv3p4
200	0b0110	PMUv3p5
201	0b0111	PMUv3p7
202	0b1000	PMUv3p8
203	0b1111	IMPDEF
204EndEnum
205Enum	23:20	MProfDbg
206	0b0000	NI
207	0b0001	IMP
208EndEnum
209Enum	19:16	MMapTrc
210	0b0000	NI
211	0b0001	IMP
212EndEnum
213Enum	15:12	CopTrc
214	0b0000	NI
215	0b0001	IMP
216EndEnum
217Enum	11:8	MMapDbg
218	0b0000	NI
219	0b0100	Armv7
220	0b0101	Armv7p1
221EndEnum
222Field	7:4	CopSDbg
223Enum	3:0	CopDbg
224	0b0000	NI
225	0b0010	Armv6
226	0b0011	Armv6p1
227	0b0100	Armv7
228	0b0101	Armv7p1
229	0b0110	Armv8
230	0b0111	VHE
231	0b1000	Debugv8p2
232	0b1001	Debugv8p4
233	0b1010	Debugv8p8
234EndEnum
235EndSysreg
236
237Sysreg ID_AFR0_EL1	3	0	0	1	3
238Res0	63:16
239Field	15:12	IMPDEF3
240Field	11:8	IMPDEF2
241Field	7:4	IMPDEF1
242Field	3:0	IMPDEF0
243EndSysreg
244
245Sysreg ID_MMFR0_EL1	3	0	0	1	4
246Res0	63:32
247Enum	31:28	InnerShr
248	0b0000	NC
249	0b0001	HW
250	0b1111	IGNORED
251EndEnum
252UnsignedEnum	27:24	FCSE
253	0b0000	NI
254	0b0001	IMP
255EndEnum
256Enum	23:20	AuxReg
257	0b0000	NI
258	0b0001	ACTLR
259	0b0010	AIFSR
260EndEnum
261Enum	19:16	TCM
262	0b0000	NI
263	0b0001	IMPDEF
264	0b0010	TCM
265	0b0011	TCM_DMA
266EndEnum
267Enum	15:12	ShareLvl
268	0b0000	ONE
269	0b0001	TWO
270EndEnum
271Enum	11:8	OuterShr
272	0b0000	NC
273	0b0001	HW
274	0b1111	IGNORED
275EndEnum
276Enum	7:4	PMSA
277	0b0000	NI
278	0b0001	IMPDEF
279	0b0010	PMSAv6
280	0b0011	PMSAv7
281EndEnum
282Enum	3:0	VMSA
283	0b0000	NI
284	0b0001	IMPDEF
285	0b0010	VMSAv6
286	0b0011	VMSAv7
287	0b0100	VMSAv7_PXN
288	0b0101	VMSAv7_LONG
289EndEnum
290EndSysreg
291
292Sysreg ID_MMFR1_EL1	3	0	0	1	5
293Res0	63:32
294Enum	31:28	BPred
295	0b0000	NI
296	0b0001	BP_SW_MANGED
297	0b0010	BP_ASID_AWARE
298	0b0011	BP_NOSNOOP
299	0b0100	BP_INVISIBLE
300EndEnum
301Enum	27:24	L1TstCln
302	0b0000	NI
303	0b0001	NOINVALIDATE
304	0b0010	INVALIDATE
305EndEnum
306Enum	23:20	L1Uni
307	0b0000	NI
308	0b0001	INVALIDATE
309	0b0010	CLEAN_AND_INVALIDATE
310EndEnum
311Enum	19:16	L1Hvd
312	0b0000	NI
313	0b0001	INVALIDATE_ISIDE_ONLY
314	0b0010	INVALIDATE
315	0b0011	CLEAN_AND_INVALIDATE
316EndEnum
317Enum	15:12	L1UniSW
318	0b0000	NI
319	0b0001	CLEAN
320	0b0010	CLEAN_AND_INVALIDATE
321	0b0011	INVALIDATE
322EndEnum
323Enum	11:8	L1HvdSW
324	0b0000	NI
325	0b0001	CLEAN_AND_INVALIDATE
326	0b0010	INVALIDATE_DSIDE_ONLY
327	0b0011	INVALIDATE
328EndEnum
329Enum	7:4	L1UniVA
330	0b0000	NI
331	0b0001	CLEAN_AND_INVALIDATE
332	0b0010	INVALIDATE_BP
333EndEnum
334Enum	3:0	L1HvdVA
335	0b0000	NI
336	0b0001	CLEAN_AND_INVALIDATE
337	0b0010	INVALIDATE_BP
338EndEnum
339EndSysreg
340
341Sysreg ID_MMFR2_EL1	3	0	0	1	6
342Res0	63:32
343Enum	31:28	HWAccFlg
344	0b0000	NI
345	0b0001	IMP
346EndEnum
347Enum	27:24	WFIStall
348	0b0000	NI
349	0b0001	IMP
350EndEnum
351Enum	23:20	MemBarr
352	0b0000	NI
353	0b0001	DSB_ONLY
354	0b0010	IMP
355EndEnum
356Enum	19:16	UniTLB
357	0b0000	NI
358	0b0001	BY_VA
359	0b0010	BY_MATCH_ASID
360	0b0011	BY_ALL_ASID
361	0b0100	OTHER_TLBS
362	0b0101	BROADCAST
363	0b0110	BY_IPA
364EndEnum
365Enum	15:12	HvdTLB
366	0b0000	NI
367EndEnum
368Enum	11:8	L1HvdRng
369	0b0000	NI
370	0b0001	IMP
371EndEnum
372Enum	7:4	L1HvdBG
373	0b0000	NI
374	0b0001	IMP
375EndEnum
376Enum	3:0	L1HvdFG
377	0b0000	NI
378	0b0001	IMP
379EndEnum
380EndSysreg
381
382Sysreg ID_MMFR3_EL1	3	0	0	1	7
383Res0	63:32
384Enum	31:28	Supersec
385	0b0000	IMP
386	0b1111	NI
387EndEnum
388Enum	27:24	CMemSz
389	0b0000	4GB
390	0b0001	64GB
391	0b0010	1TB
392EndEnum
393Enum	23:20	CohWalk
394	0b0000	NI
395	0b0001	IMP
396EndEnum
397Enum	19:16	PAN
398	0b0000	NI
399	0b0001	PAN
400	0b0010	PAN2
401EndEnum
402Enum	15:12	MaintBcst
403	0b0000	NI
404	0b0001	NO_TLB
405	0b0010	ALL
406EndEnum
407Enum	11:8	BPMaint
408	0b0000	NI
409	0b0001	ALL
410	0b0010	BY_VA
411EndEnum
412Enum	7:4	CMaintSW
413	0b0000	NI
414	0b0001	IMP
415EndEnum
416Enum	3:0	CMaintVA
417	0b0000	NI
418	0b0001	IMP
419EndEnum
420EndSysreg
421
422Sysreg ID_ISAR0_EL1	3	0	0	2	0
423Res0	63:28
424Enum	27:24	Divide
425	0b0000	NI
426	0b0001	xDIV_T32
427	0b0010	xDIV_A32
428EndEnum
429UnsignedEnum	23:20	Debug
430	0b0000	NI
431	0b0001	IMP
432EndEnum
433Enum	19:16	Coproc
434	0b0000	NI
435	0b0001	MRC
436	0b0010	MRC2
437	0b0011	MRRC
438	0b0100	MRRC2
439EndEnum
440UnsignedEnum	15:12	CmpBranch
441	0b0000	NI
442	0b0001	IMP
443EndEnum
444UnsignedEnum	11:8	BitField
445	0b0000	NI
446	0b0001	IMP
447EndEnum
448UnsignedEnum	7:4	BitCount
449	0b0000	NI
450	0b0001	IMP
451EndEnum
452UnsignedEnum	3:0	Swap
453	0b0000	NI
454	0b0001	IMP
455EndEnum
456EndSysreg
457
458Sysreg ID_ISAR1_EL1	3	0	0	2	1
459Res0	63:32
460Enum	31:28	Jazelle
461	0b0000	NI
462	0b0001	IMP
463EndEnum
464Enum	27:24	Interwork
465	0b0000	NI
466	0b0001	BX
467	0b0010	BLX
468	0b0011	A32_BX
469EndEnum
470Enum	23:20	Immediate
471	0b0000	NI
472	0b0001	IMP
473EndEnum
474Enum	19:16	IfThen
475	0b0000	NI
476	0b0001	IMP
477EndEnum
478Enum	15:12	Extend
479	0b0000	NI
480	0b0001	SXTB
481	0b0010	SXTB16
482EndEnum
483Enum	11:8	Except_AR
484	0b0000	NI
485	0b0001	IMP
486EndEnum
487Enum	7:4	Except
488	0b0000	NI
489	0b0001	IMP
490EndEnum
491Enum	3:0	Endian
492	0b0000	NI
493	0b0001	IMP
494EndEnum
495EndSysreg
496
497Sysreg ID_ISAR2_EL1	3	0	0	2	2
498Res0	63:32
499Enum	31:28	Reversal
500	0b0000	NI
501	0b0001	REV
502	0b0010	RBIT
503EndEnum
504Enum	27:24	PSR_AR
505	0b0000	NI
506	0b0001	IMP
507EndEnum
508Enum	23:20	MultU
509	0b0000	NI
510	0b0001	UMULL
511	0b0010	UMAAL
512EndEnum
513Enum	19:16	MultS
514	0b0000	NI
515	0b0001	SMULL
516	0b0010	SMLABB
517	0b0011	SMLAD
518EndEnum
519Enum	15:12	Mult
520	0b0000	NI
521	0b0001	MLA
522	0b0010	MLS
523EndEnum
524Enum	11:8	MultiAccessInt
525	0b0000	NI
526	0b0001	RESTARTABLE
527	0b0010	CONTINUABLE
528EndEnum
529Enum	7:4	MemHint
530	0b0000	NI
531	0b0001	PLD
532	0b0010	PLD2
533	0b0011	PLI
534	0b0100	PLDW
535EndEnum
536Enum	3:0	LoadStore
537	0b0000	NI
538	0b0001	DOUBLE
539	0b0010	ACQUIRE
540EndEnum
541EndSysreg
542
543Sysreg ID_ISAR3_EL1	3	0	0	2	3
544Res0	63:32
545Enum	31:28	T32EE
546	0b0000	NI
547	0b0001	IMP
548EndEnum
549Enum	27:24	TrueNOP
550	0b0000	NI
551	0b0001	IMP
552EndEnum
553Enum	23:20	T32Copy
554	0b0000	NI
555	0b0001	IMP
556EndEnum
557Enum	19:16	TabBranch
558	0b0000	NI
559	0b0001	IMP
560EndEnum
561Enum	15:12	SynchPrim
562	0b0000	NI
563	0b0001	EXCLUSIVE
564	0b0010	DOUBLE
565EndEnum
566Enum	11:8	SVC
567	0b0000	NI
568	0b0001	IMP
569EndEnum
570Enum	7:4	SIMD
571	0b0000	NI
572	0b0001	SSAT
573	0b0011	PKHBT
574EndEnum
575Enum	3:0	Saturate
576	0b0000	NI
577	0b0001	IMP
578EndEnum
579EndSysreg
580
581Sysreg ID_ISAR4_EL1	3	0	0	2	4
582Res0	63:32
583Enum	31:28	SWP_frac
584	0b0000	NI
585	0b0001	IMP
586EndEnum
587Enum	27:24	PSR_M
588	0b0000	NI
589	0b0001	IMP
590EndEnum
591Enum	23:20	SynchPrim_frac
592	0b0000	NI
593	0b0011	IMP
594EndEnum
595Enum	19:16	Barrier
596	0b0000	NI
597	0b0001	IMP
598EndEnum
599Enum	15:12	SMC
600	0b0000	NI
601	0b0001	IMP
602EndEnum
603Enum	11:8	Writeback
604	0b0000	NI
605	0b0001	IMP
606EndEnum
607Enum	7:4	WithShifts
608	0b0000	NI
609	0b0001	LSL3
610	0b0011	LS
611	0b0100	REG
612EndEnum
613Enum	3:0	Unpriv
614	0b0000	NI
615	0b0001	REG_BYTE
616	0b0010	SIGNED_HALFWORD
617EndEnum
618EndSysreg
619
620Sysreg ID_ISAR5_EL1	3	0	0	2	5
621Res0	63:32
622UnsignedEnum	31:28	VCMA
623	0b0000	NI
624	0b0001	IMP
625EndEnum
626UnsignedEnum	27:24	RDM
627	0b0000	NI
628	0b0001	IMP
629EndEnum
630Res0	23:20
631UnsignedEnum	19:16	CRC32
632	0b0000	NI
633	0b0001	IMP
634EndEnum
635UnsignedEnum	15:12	SHA2
636	0b0000	NI
637	0b0001	IMP
638EndEnum
639UnsignedEnum	11:8	SHA1
640	0b0000	NI
641	0b0001	IMP
642EndEnum
643UnsignedEnum	7:4	AES
644	0b0000	NI
645	0b0001	IMP
646	0b0010  VMULL
647EndEnum
648UnsignedEnum	3:0	SEVL
649	0b0000	NI
650	0b0001	IMP
651EndEnum
652EndSysreg
653
654Sysreg ID_ISAR6_EL1	3	0	0	2	7
655Res0	63:28
656UnsignedEnum	27:24	I8MM
657	0b0000	NI
658	0b0001	IMP
659EndEnum
660UnsignedEnum	23:20	BF16
661	0b0000	NI
662	0b0001	IMP
663EndEnum
664UnsignedEnum	19:16	SPECRES
665	0b0000	NI
666	0b0001	IMP
667EndEnum
668UnsignedEnum	15:12	SB
669	0b0000	NI
670	0b0001	IMP
671EndEnum
672UnsignedEnum	11:8	FHM
673	0b0000	NI
674	0b0001	IMP
675EndEnum
676UnsignedEnum	7:4	DP
677	0b0000	NI
678	0b0001	IMP
679EndEnum
680UnsignedEnum	3:0	JSCVT
681	0b0000	NI
682	0b0001	IMP
683EndEnum
684EndSysreg
685
686Sysreg ID_MMFR4_EL1	3	0	0	2	6
687Res0	63:32
688UnsignedEnum	31:28	EVT
689	0b0000	NI
690	0b0001	NO_TLBIS
691	0b0010	TLBIS
692EndEnum
693UnsignedEnum	27:24	CCIDX
694	0b0000	NI
695	0b0001	IMP
696EndEnum
697UnsignedEnum	23:20	LSM
698	0b0000	NI
699	0b0001	IMP
700EndEnum
701UnsignedEnum	19:16	HPDS
702	0b0000	NI
703	0b0001	AA32HPD
704	0b0010	HPDS2
705EndEnum
706UnsignedEnum	15:12	CnP
707	0b0000	NI
708	0b0001	IMP
709EndEnum
710UnsignedEnum	11:8	XNX
711	0b0000	NI
712	0b0001	IMP
713EndEnum
714UnsignedEnum	7:4	AC2
715	0b0000	NI
716	0b0001	IMP
717EndEnum
718UnsignedEnum	3:0	SpecSEI
719	0b0000	NI
720	0b0001	IMP
721EndEnum
722EndSysreg
723
724Sysreg MVFR0_EL1	3	0	0	3	0
725Res0	63:32
726UnsignedEnum	31:28	FPRound
727	0b0000	NI
728	0b0001	IMP
729EndEnum
730UnsignedEnum	27:24	FPShVec
731	0b0000	NI
732	0b0001	IMP
733EndEnum
734UnsignedEnum	23:20	FPSqrt
735	0b0000	NI
736	0b0001	IMP
737EndEnum
738UnsignedEnum	19:16	FPDivide
739	0b0000	NI
740	0b0001	IMP
741EndEnum
742UnsignedEnum	15:12	FPTrap
743	0b0000	NI
744	0b0001	IMP
745EndEnum
746UnsignedEnum	11:8	FPDP
747	0b0000	NI
748	0b0001	VFPv2
749	0b0010	VFPv3
750EndEnum
751UnsignedEnum	7:4	FPSP
752	0b0000	NI
753	0b0001	VFPv2
754	0b0010	VFPv3
755EndEnum
756Enum	3:0	SIMDReg
757	0b0000	NI
758	0b0001	IMP_16x64
759	0b0010	IMP_32x64
760EndEnum
761EndSysreg
762
763Sysreg MVFR1_EL1	3	0	0	3	1
764Res0	63:32
765UnsignedEnum	31:28	SIMDFMAC
766	0b0000	NI
767	0b0001	IMP
768EndEnum
769UnsignedEnum	27:24	FPHP
770	0b0000	NI
771	0b0001	FPHP
772	0b0010	FPHP_CONV
773	0b0011	FP16
774EndEnum
775UnsignedEnum	23:20	SIMDHP
776	0b0000	NI
777	0b0001	SIMDHP
778	0b0010	SIMDHP_FLOAT
779EndEnum
780UnsignedEnum	19:16	SIMDSP
781	0b0000	NI
782	0b0001	IMP
783EndEnum
784UnsignedEnum	15:12	SIMDInt
785	0b0000	NI
786	0b0001	IMP
787EndEnum
788UnsignedEnum	11:8	SIMDLS
789	0b0000	NI
790	0b0001	IMP
791EndEnum
792UnsignedEnum	7:4	FPDNaN
793	0b0000	NI
794	0b0001	IMP
795EndEnum
796UnsignedEnum	3:0	FPFtZ
797	0b0000	NI
798	0b0001	IMP
799EndEnum
800EndSysreg
801
802Sysreg MVFR2_EL1	3	0	0	3	2
803Res0	63:8
804Enum	7:4	FPMisc
805	0b0000	NI
806	0b0001	FP
807	0b0010	FP_DIRECTED_ROUNDING
808	0b0011	FP_ROUNDING
809	0b0100	FP_MAX_MIN
810EndEnum
811Enum	3:0	SIMDMisc
812	0b0000	NI
813	0b0001	SIMD_DIRECTED_ROUNDING
814	0b0010	SIMD_ROUNDING
815	0b0011	SIMD_MAX_MIN
816EndEnum
817EndSysreg
818
819Sysreg ID_PFR2_EL1	3	0	0	3	4
820Res0	63:12
821UnsignedEnum	11:8	RAS_frac
822	0b0000	NI
823	0b0001	RASv1p1
824EndEnum
825UnsignedEnum	7:4	SSBS
826	0b0000	NI
827	0b0001	IMP
828EndEnum
829UnsignedEnum	3:0	CSV3
830	0b0000	NI
831	0b0001	IMP
832EndEnum
833EndSysreg
834
835Sysreg ID_DFR1_EL1	3	0	0	3	5
836Res0	63:8
837UnsignedEnum	7:4	HPMN0
838	0b0000	NI
839	0b0001	IMP
840EndEnum
841Enum	3:0	MTPMU
842	0b0000	IMPDEF
843	0b0001	IMP
844	0b1111	NI
845EndEnum
846EndSysreg
847
848Sysreg ID_MMFR5_EL1	3	0	0	3	6
849Res0	63:8
850UnsignedEnum	7:4	nTLBPA
851	0b0000	NI
852	0b0001	IMP
853EndEnum
854UnsignedEnum	3:0	ETS
855	0b0000	NI
856	0b0001	IMP
857EndEnum
858EndSysreg
859
860Sysreg	ID_AA64PFR0_EL1	3	0	0	4	0
861UnsignedEnum	63:60	CSV3
862	0b0000	NI
863	0b0001	IMP
864EndEnum
865UnsignedEnum	59:56	CSV2
866	0b0000	NI
867	0b0001	IMP
868	0b0010	CSV2_2
869	0b0011	CSV2_3
870EndEnum
871UnsignedEnum	55:52	RME
872	0b0000	NI
873	0b0001	IMP
874EndEnum
875UnsignedEnum	51:48	DIT
876	0b0000	NI
877	0b0001	IMP
878EndEnum
879UnsignedEnum	47:44	AMU
880	0b0000	NI
881	0b0001	IMP
882	0b0010	V1P1
883EndEnum
884UnsignedEnum	43:40	MPAM
885	0b0000	0
886	0b0001	1
887EndEnum
888UnsignedEnum	39:36	SEL2
889	0b0000	NI
890	0b0001	IMP
891EndEnum
892UnsignedEnum	35:32	SVE
893	0b0000	NI
894	0b0001	IMP
895EndEnum
896UnsignedEnum	31:28	RAS
897	0b0000	NI
898	0b0001	IMP
899	0b0010	V1P1
900EndEnum
901UnsignedEnum	27:24	GIC
902	0b0000	NI
903	0b0001	IMP
904	0b0010	V4P1
905EndEnum
906SignedEnum	23:20	AdvSIMD
907	0b0000	IMP
908	0b0001	FP16
909	0b1111	NI
910EndEnum
911SignedEnum	19:16	FP
912	0b0000	IMP
913	0b0001	FP16
914	0b1111	NI
915EndEnum
916UnsignedEnum	15:12	EL3
917	0b0000	NI
918	0b0001	IMP
919	0b0010	AARCH32
920EndEnum
921UnsignedEnum	11:8	EL2
922	0b0000	NI
923	0b0001	IMP
924	0b0010	AARCH32
925EndEnum
926UnsignedEnum	7:4	EL1
927	0b0001	IMP
928	0b0010	AARCH32
929EndEnum
930UnsignedEnum	3:0	EL0
931	0b0001	IMP
932	0b0010	AARCH32
933EndEnum
934EndSysreg
935
936Sysreg	ID_AA64PFR1_EL1	3	0	0	4	1
937UnsignedEnum	63:60	PFAR
938	0b0000	NI
939	0b0001	IMP
940EndEnum
941UnsignedEnum	59:56	DF2
942	0b0000	NI
943	0b0001	IMP
944EndEnum
945UnsignedEnum	55:52	MTEX
946	0b0000	MTE
947	0b0001	MTE4
948EndEnum
949UnsignedEnum	51:48	THE
950	0b0000	NI
951	0b0001	IMP
952EndEnum
953UnsignedEnum	47:44	GCS
954	0b0000	NI
955	0b0001	IMP
956EndEnum
957Enum	43:40	MTE_frac
958	0b0000	ASYNC
959	0b1111	NI
960EndEnum
961UnsignedEnum	39:36	NMI
962	0b0000	NI
963	0b0001	IMP
964EndEnum
965UnsignedEnum	35:32	CSV2_frac
966	0b0000	NI
967	0b0001	CSV2_1p1
968	0b0010	CSV2_1p2
969EndEnum
970UnsignedEnum	31:28	RNDR_trap
971	0b0000	NI
972	0b0001	IMP
973EndEnum
974UnsignedEnum	27:24	SME
975	0b0000	NI
976	0b0001	IMP
977	0b0010	SME2
978EndEnum
979Res0	23:20
980UnsignedEnum	19:16	MPAM_frac
981	0b0000	MINOR_0
982	0b0001	MINOR_1
983EndEnum
984UnsignedEnum	15:12	RAS_frac
985	0b0000	NI
986	0b0001	RASv1p1
987EndEnum
988UnsignedEnum	11:8	MTE
989	0b0000	NI
990	0b0001	IMP
991	0b0010	MTE2
992	0b0011	MTE3
993EndEnum
994UnsignedEnum	7:4	SSBS
995	0b0000	NI
996	0b0001	IMP
997	0b0010	SSBS2
998EndEnum
999UnsignedEnum	3:0	BT
1000	0b0000	NI
1001	0b0001	IMP
1002EndEnum
1003EndSysreg
1004
1005Sysreg	ID_AA64ZFR0_EL1	3	0	0	4	4
1006Res0	63:60
1007UnsignedEnum	59:56	F64MM
1008	0b0000	NI
1009	0b0001	IMP
1010EndEnum
1011UnsignedEnum	55:52	F32MM
1012	0b0000	NI
1013	0b0001	IMP
1014EndEnum
1015Res0	51:48
1016UnsignedEnum	47:44	I8MM
1017	0b0000	NI
1018	0b0001	IMP
1019EndEnum
1020UnsignedEnum	43:40	SM4
1021	0b0000	NI
1022	0b0001	IMP
1023EndEnum
1024Res0	39:36
1025UnsignedEnum	35:32	SHA3
1026	0b0000	NI
1027	0b0001	IMP
1028EndEnum
1029Res0	31:24
1030UnsignedEnum	23:20	BF16
1031	0b0000	NI
1032	0b0001	IMP
1033	0b0010	EBF16
1034EndEnum
1035UnsignedEnum	19:16	BitPerm
1036	0b0000	NI
1037	0b0001	IMP
1038EndEnum
1039Res0	15:8
1040UnsignedEnum	7:4	AES
1041	0b0000	NI
1042	0b0001	IMP
1043	0b0010	PMULL128
1044EndEnum
1045UnsignedEnum	3:0	SVEver
1046	0b0000	IMP
1047	0b0001	SVE2
1048	0b0010	SVE2p1
1049EndEnum
1050EndSysreg
1051
1052Sysreg	ID_AA64SMFR0_EL1	3	0	0	4	5
1053UnsignedEnum	63	FA64
1054	0b0	NI
1055	0b1	IMP
1056EndEnum
1057Res0	62:60
1058UnsignedEnum	59:56	SMEver
1059	0b0000	SME
1060	0b0001	SME2
1061	0b0010	SME2p1
1062	0b0000	IMP
1063EndEnum
1064UnsignedEnum	55:52	I16I64
1065	0b0000	NI
1066	0b1111	IMP
1067EndEnum
1068Res0	51:49
1069UnsignedEnum	48	F64F64
1070	0b0	NI
1071	0b1	IMP
1072EndEnum
1073UnsignedEnum	47:44	I16I32
1074	0b0000	NI
1075	0b0101	IMP
1076EndEnum
1077UnsignedEnum	43	B16B16
1078	0b0	NI
1079	0b1	IMP
1080EndEnum
1081UnsignedEnum	42	F16F16
1082	0b0	NI
1083	0b1	IMP
1084EndEnum
1085Res0	41:40
1086UnsignedEnum	39:36	I8I32
1087	0b0000	NI
1088	0b1111	IMP
1089EndEnum
1090UnsignedEnum	35	F16F32
1091	0b0	NI
1092	0b1	IMP
1093EndEnum
1094UnsignedEnum	34	B16F32
1095	0b0	NI
1096	0b1	IMP
1097EndEnum
1098UnsignedEnum	33	BI32I32
1099	0b0	NI
1100	0b1	IMP
1101EndEnum
1102UnsignedEnum	32	F32F32
1103	0b0	NI
1104	0b1	IMP
1105EndEnum
1106Res0	31:0
1107EndSysreg
1108
1109Sysreg	ID_AA64DFR0_EL1	3	0	0	5	0
1110Enum	63:60	HPMN0
1111	0b0000	UNPREDICTABLE
1112	0b0001	DEF
1113EndEnum
1114Res0	59:56
1115UnsignedEnum	55:52	BRBE
1116	0b0000	NI
1117	0b0001	IMP
1118	0b0010	BRBE_V1P1
1119EndEnum
1120Enum	51:48	MTPMU
1121	0b0000	NI_IMPDEF
1122	0b0001	IMP
1123	0b1111	NI
1124EndEnum
1125UnsignedEnum	47:44	TraceBuffer
1126	0b0000	NI
1127	0b0001	IMP
1128EndEnum
1129UnsignedEnum	43:40	TraceFilt
1130	0b0000	NI
1131	0b0001	IMP
1132EndEnum
1133UnsignedEnum	39:36	DoubleLock
1134	0b0000	IMP
1135	0b1111	NI
1136EndEnum
1137UnsignedEnum	35:32	PMSVer
1138	0b0000	NI
1139	0b0001	IMP
1140	0b0010	V1P1
1141	0b0011	V1P2
1142	0b0100	V1P3
1143EndEnum
1144Field	31:28	CTX_CMPs
1145Res0	27:24
1146Field	23:20	WRPs
1147Res0	19:16
1148Field	15:12	BRPs
1149UnsignedEnum	11:8	PMUVer
1150	0b0000	NI
1151	0b0001	IMP
1152	0b0100	V3P1
1153	0b0101	V3P4
1154	0b0110	V3P5
1155	0b0111	V3P7
1156	0b1000	V3P8
1157	0b1111	IMP_DEF
1158EndEnum
1159UnsignedEnum	7:4	TraceVer
1160	0b0000	NI
1161	0b0001	IMP
1162EndEnum
1163UnsignedEnum	3:0	DebugVer
1164	0b0110	IMP
1165	0b0111	VHE
1166	0b1000	V8P2
1167	0b1001	V8P4
1168	0b1010	V8P8
1169EndEnum
1170EndSysreg
1171
1172Sysreg	ID_AA64DFR1_EL1	3	0	0	5	1
1173Res0	63:0
1174EndSysreg
1175
1176Sysreg	ID_AA64AFR0_EL1	3	0	0	5	4
1177Res0	63:32
1178Field	31:28	IMPDEF7
1179Field	27:24	IMPDEF6
1180Field	23:20	IMPDEF5
1181Field	19:16	IMPDEF4
1182Field	15:12	IMPDEF3
1183Field	11:8	IMPDEF2
1184Field	7:4	IMPDEF1
1185Field	3:0	IMPDEF0
1186EndSysreg
1187
1188Sysreg	ID_AA64AFR1_EL1	3	0	0	5	5
1189Res0	63:0
1190EndSysreg
1191
1192Sysreg	ID_AA64ISAR0_EL1	3	0	0	6	0
1193UnsignedEnum	63:60	RNDR
1194	0b0000	NI
1195	0b0001	IMP
1196EndEnum
1197UnsignedEnum	59:56	TLB
1198	0b0000	NI
1199	0b0001	OS
1200	0b0010	RANGE
1201EndEnum
1202UnsignedEnum	55:52	TS
1203	0b0000	NI
1204	0b0001	FLAGM
1205	0b0010	FLAGM2
1206EndEnum
1207UnsignedEnum	51:48	FHM
1208	0b0000	NI
1209	0b0001	IMP
1210EndEnum
1211UnsignedEnum	47:44	DP
1212	0b0000	NI
1213	0b0001	IMP
1214EndEnum
1215UnsignedEnum	43:40	SM4
1216	0b0000	NI
1217	0b0001	IMP
1218EndEnum
1219UnsignedEnum	39:36	SM3
1220	0b0000	NI
1221	0b0001	IMP
1222EndEnum
1223UnsignedEnum	35:32	SHA3
1224	0b0000	NI
1225	0b0001	IMP
1226EndEnum
1227UnsignedEnum	31:28	RDM
1228	0b0000	NI
1229	0b0001	IMP
1230EndEnum
1231UnsignedEnum	27:24	TME
1232	0b0000	NI
1233	0b0001	IMP
1234EndEnum
1235UnsignedEnum	23:20	ATOMIC
1236	0b0000	NI
1237	0b0010	IMP
1238EndEnum
1239UnsignedEnum	19:16	CRC32
1240	0b0000	NI
1241	0b0001	IMP
1242EndEnum
1243UnsignedEnum	15:12	SHA2
1244	0b0000	NI
1245	0b0001	SHA256
1246	0b0010	SHA512
1247EndEnum
1248UnsignedEnum	11:8	SHA1
1249	0b0000	NI
1250	0b0001	IMP
1251EndEnum
1252UnsignedEnum	7:4	AES
1253	0b0000	NI
1254	0b0001	AES
1255	0b0010	PMULL
1256EndEnum
1257Res0	3:0
1258EndSysreg
1259
1260Sysreg	ID_AA64ISAR1_EL1	3	0	0	6	1
1261UnsignedEnum	63:60	LS64
1262	0b0000	NI
1263	0b0001	LS64
1264	0b0010	LS64_V
1265	0b0011	LS64_ACCDATA
1266EndEnum
1267UnsignedEnum	59:56	XS
1268	0b0000	NI
1269	0b0001	IMP
1270EndEnum
1271UnsignedEnum	55:52	I8MM
1272	0b0000	NI
1273	0b0001	IMP
1274EndEnum
1275UnsignedEnum	51:48	DGH
1276	0b0000	NI
1277	0b0001	IMP
1278EndEnum
1279UnsignedEnum	47:44	BF16
1280	0b0000	NI
1281	0b0001	IMP
1282	0b0010	EBF16
1283EndEnum
1284UnsignedEnum	43:40	SPECRES
1285	0b0000	NI
1286	0b0001	IMP
1287EndEnum
1288UnsignedEnum	39:36	SB
1289	0b0000	NI
1290	0b0001	IMP
1291EndEnum
1292UnsignedEnum	35:32	FRINTTS
1293	0b0000	NI
1294	0b0001	IMP
1295EndEnum
1296UnsignedEnum	31:28	GPI
1297	0b0000	NI
1298	0b0001	IMP
1299EndEnum
1300UnsignedEnum	27:24	GPA
1301	0b0000	NI
1302	0b0001	IMP
1303EndEnum
1304UnsignedEnum	23:20	LRCPC
1305	0b0000	NI
1306	0b0001	IMP
1307	0b0010	LRCPC2
1308EndEnum
1309UnsignedEnum	19:16	FCMA
1310	0b0000	NI
1311	0b0001	IMP
1312EndEnum
1313UnsignedEnum	15:12	JSCVT
1314	0b0000	NI
1315	0b0001	IMP
1316EndEnum
1317UnsignedEnum	11:8	API
1318	0b0000	NI
1319	0b0001	PAuth
1320	0b0010	EPAC
1321	0b0011	PAuth2
1322	0b0100	FPAC
1323	0b0101	FPACCOMBINE
1324EndEnum
1325UnsignedEnum	7:4	APA
1326	0b0000	NI
1327	0b0001	PAuth
1328	0b0010	EPAC
1329	0b0011	PAuth2
1330	0b0100	FPAC
1331	0b0101	FPACCOMBINE
1332EndEnum
1333UnsignedEnum	3:0	DPB
1334	0b0000	NI
1335	0b0001	IMP
1336	0b0010	DPB2
1337EndEnum
1338EndSysreg
1339
1340Sysreg	ID_AA64ISAR2_EL1	3	0	0	6	2
1341Res0	63:56
1342UnsignedEnum	55:52	CSSC
1343	0b0000	NI
1344	0b0001	IMP
1345EndEnum
1346UnsignedEnum	51:48	RPRFM
1347	0b0000	NI
1348	0b0001	IMP
1349EndEnum
1350Res0	47:28
1351UnsignedEnum	27:24	PAC_frac
1352	0b0000	NI
1353	0b0001	IMP
1354EndEnum
1355UnsignedEnum	23:20	BC
1356	0b0000	NI
1357	0b0001	IMP
1358EndEnum
1359UnsignedEnum	19:16	MOPS
1360	0b0000	NI
1361	0b0001	IMP
1362EndEnum
1363UnsignedEnum	15:12	APA3
1364	0b0000	NI
1365	0b0001	PAuth
1366	0b0010	EPAC
1367	0b0011	PAuth2
1368	0b0100	FPAC
1369	0b0101	FPACCOMBINE
1370EndEnum
1371UnsignedEnum	11:8	GPA3
1372	0b0000	NI
1373	0b0001	IMP
1374EndEnum
1375UnsignedEnum	7:4	RPRES
1376	0b0000	NI
1377	0b0001	IMP
1378EndEnum
1379UnsignedEnum	3:0	WFxT
1380	0b0000	NI
1381	0b0010	IMP
1382EndEnum
1383EndSysreg
1384
1385Sysreg	ID_AA64MMFR0_EL1	3	0	0	7	0
1386UnsignedEnum	63:60	ECV
1387	0b0000	NI
1388	0b0001	IMP
1389	0b0010	CNTPOFF
1390EndEnum
1391UnsignedEnum	59:56	FGT
1392	0b0000	NI
1393	0b0001	IMP
1394EndEnum
1395Res0	55:48
1396UnsignedEnum	47:44	EXS
1397	0b0000	NI
1398	0b0001	IMP
1399EndEnum
1400Enum	43:40	TGRAN4_2
1401	0b0000	TGRAN4
1402	0b0001	NI
1403	0b0010	IMP
1404	0b0011	52_BIT
1405EndEnum
1406Enum	39:36	TGRAN64_2
1407	0b0000	TGRAN64
1408	0b0001	NI
1409	0b0010	IMP
1410EndEnum
1411Enum	35:32	TGRAN16_2
1412	0b0000	TGRAN16
1413	0b0001	NI
1414	0b0010	IMP
1415	0b0011	52_BIT
1416EndEnum
1417Enum	31:28	TGRAN4
1418	0b0000	IMP
1419	0b0001	52_BIT
1420	0b1111	NI
1421EndEnum
1422Enum	27:24	TGRAN64
1423	0b0000	IMP
1424	0b1111	NI
1425EndEnum
1426Enum	23:20	TGRAN16
1427	0b0000	NI
1428	0b0001	IMP
1429	0b0010	52_BIT
1430EndEnum
1431UnsignedEnum	19:16	BIGENDEL0
1432	0b0000	NI
1433	0b0001	IMP
1434EndEnum
1435UnsignedEnum	15:12	SNSMEM
1436	0b0000	NI
1437	0b0001	IMP
1438EndEnum
1439UnsignedEnum	11:8	BIGEND
1440	0b0000	NI
1441	0b0001	IMP
1442EndEnum
1443Enum	7:4	ASIDBITS
1444	0b0000	8
1445	0b0010	16
1446EndEnum
1447Enum	3:0	PARANGE
1448	0b0000	32
1449	0b0001	36
1450	0b0010	40
1451	0b0011	42
1452	0b0100	44
1453	0b0101	48
1454	0b0110	52
1455EndEnum
1456EndSysreg
1457
1458Sysreg	ID_AA64MMFR1_EL1	3	0	0	7	1
1459UnsignedEnum	63:60	ECBHB
1460	0b0000	NI
1461	0b0001	IMP
1462EndEnum
1463UnsignedEnum	59:56	CMOW
1464	0b0000	NI
1465	0b0001	IMP
1466EndEnum
1467UnsignedEnum	55:52	TIDCP1
1468	0b0000	NI
1469	0b0001	IMP
1470EndEnum
1471UnsignedEnum	51:48	nTLBPA
1472	0b0000	NI
1473	0b0001	IMP
1474EndEnum
1475UnsignedEnum	47:44	AFP
1476	0b0000	NI
1477	0b0001	IMP
1478EndEnum
1479UnsignedEnum	43:40	HCX
1480	0b0000	NI
1481	0b0001	IMP
1482EndEnum
1483UnsignedEnum	39:36	ETS
1484	0b0000	NI
1485	0b0001	IMP
1486EndEnum
1487UnsignedEnum	35:32	TWED
1488	0b0000	NI
1489	0b0001	IMP
1490EndEnum
1491UnsignedEnum	31:28	XNX
1492	0b0000	NI
1493	0b0001	IMP
1494EndEnum
1495UnsignedEnum	27:24	SpecSEI
1496	0b0000	NI
1497	0b0001	IMP
1498EndEnum
1499UnsignedEnum	23:20	PAN
1500	0b0000	NI
1501	0b0001	IMP
1502	0b0010	PAN2
1503	0b0011	PAN3
1504EndEnum
1505UnsignedEnum	19:16	LO
1506	0b0000	NI
1507	0b0001	IMP
1508EndEnum
1509UnsignedEnum	15:12	HPDS
1510	0b0000	NI
1511	0b0001	IMP
1512	0b0010	HPDS2
1513EndEnum
1514UnsignedEnum	11:8	VH
1515	0b0000	NI
1516	0b0001	IMP
1517EndEnum
1518Enum	7:4	VMIDBits
1519	0b0000	8
1520	0b0010	16
1521EndEnum
1522UnsignedEnum	3:0	HAFDBS
1523	0b0000	NI
1524	0b0001	AF
1525	0b0010	DBM
1526EndEnum
1527EndSysreg
1528
1529Sysreg	ID_AA64MMFR2_EL1	3	0	0	7	2
1530UnsignedEnum	63:60	E0PD
1531	0b0000	NI
1532	0b0001	IMP
1533EndEnum
1534UnsignedEnum	59:56	EVT
1535	0b0000	NI
1536	0b0001	IMP
1537	0b0010	TTLBxS
1538EndEnum
1539UnsignedEnum	55:52	BBM
1540	0b0000	0
1541	0b0001	1
1542	0b0010	2
1543EndEnum
1544UnsignedEnum	51:48	TTL
1545	0b0000	NI
1546	0b0001	IMP
1547EndEnum
1548Res0	47:44
1549UnsignedEnum	43:40	FWB
1550	0b0000	NI
1551	0b0001	IMP
1552EndEnum
1553Enum	39:36	IDS
1554	0b0000	0x0
1555	0b0001	0x18
1556EndEnum
1557UnsignedEnum	35:32	AT
1558	0b0000	NI
1559	0b0001	IMP
1560EndEnum
1561Enum	31:28	ST
1562	0b0000	39
1563	0b0001	48_47
1564EndEnum
1565UnsignedEnum	27:24	NV
1566	0b0000	NI
1567	0b0001	IMP
1568	0b0010	NV2
1569EndEnum
1570Enum	23:20	CCIDX
1571	0b0000	32
1572	0b0001	64
1573EndEnum
1574Enum	19:16	VARange
1575	0b0000	48
1576	0b0001	52
1577EndEnum
1578UnsignedEnum	15:12	IESB
1579	0b0000	NI
1580	0b0001	IMP
1581EndEnum
1582UnsignedEnum	11:8	LSM
1583	0b0000	NI
1584	0b0001	IMP
1585EndEnum
1586UnsignedEnum	7:4	UAO
1587	0b0000	NI
1588	0b0001	IMP
1589EndEnum
1590UnsignedEnum	3:0	CnP
1591	0b0000	NI
1592	0b0001	IMP
1593EndEnum
1594EndSysreg
1595
1596Sysreg	SCTLR_EL1	3	0	1	0	0
1597Field	63	TIDCP
1598Field	62	SPINTMASK
1599Field	61	NMI
1600Field	60	EnTP2
1601Res0	59:58
1602Field	57	EPAN
1603Field	56	EnALS
1604Field	55	EnAS0
1605Field	54	EnASR
1606Field	53	TME
1607Field	52	TME0
1608Field	51	TMT
1609Field	50	TMT0
1610Field	49:46	TWEDEL
1611Field	45	TWEDEn
1612Field	44	DSSBS
1613Field	43	ATA
1614Field	42	ATA0
1615Enum	41:40	TCF
1616	0b00	NONE
1617	0b01	SYNC
1618	0b10	ASYNC
1619	0b11	ASYMM
1620EndEnum
1621Enum	39:38	TCF0
1622	0b00	NONE
1623	0b01	SYNC
1624	0b10	ASYNC
1625	0b11	ASYMM
1626EndEnum
1627Field	37	ITFSB
1628Field	36	BT1
1629Field	35	BT0
1630Res0	34
1631Field	33	MSCEn
1632Field	32	CMOW
1633Field	31	EnIA
1634Field	30	EnIB
1635Field	29	LSMAOE
1636Field	28	nTLSMD
1637Field	27	EnDA
1638Field	26	UCI
1639Field	25	EE
1640Field	24	E0E
1641Field	23	SPAN
1642Field	22	EIS
1643Field	21	IESB
1644Field	20	TSCXT
1645Field	19	WXN
1646Field	18	nTWE
1647Res0	17
1648Field	16	nTWI
1649Field	15	UCT
1650Field	14	DZE
1651Field	13	EnDB
1652Field	12	I
1653Field	11	EOS
1654Field	10	EnRCTX
1655Field	9	UMA
1656Field	8	SED
1657Field	7	ITD
1658Field	6	nAA
1659Field	5	CP15BEN
1660Field	4	SA0
1661Field	3	SA
1662Field	2	C
1663Field	1	A
1664Field	0	M
1665EndSysreg
1666
1667SysregFields	CPACR_ELx
1668Res0	63:29
1669Field	28	TTA
1670Res0	27:26
1671Field	25:24	SMEN
1672Res0	23:22
1673Field	21:20	FPEN
1674Res0	19:18
1675Field	17:16	ZEN
1676Res0	15:0
1677EndSysregFields
1678
1679Sysreg	CPACR_EL1	3	0	1	0	2
1680Fields	CPACR_ELx
1681EndSysreg
1682
1683Sysreg	SMPRI_EL1	3	0	1	2	4
1684Res0	63:4
1685Field	3:0	PRIORITY
1686EndSysreg
1687
1688SysregFields	ZCR_ELx
1689Res0	63:9
1690Raz	8:4
1691Field	3:0	LEN
1692EndSysregFields
1693
1694Sysreg ZCR_EL1	3	0	1	2	0
1695Fields ZCR_ELx
1696EndSysreg
1697
1698SysregFields	SMCR_ELx
1699Res0	63:32
1700Field	31	FA64
1701Field	30	EZT0
1702Res0	29:9
1703Raz	8:4
1704Field	3:0	LEN
1705EndSysregFields
1706
1707Sysreg	SMCR_EL1	3	0	1	2	6
1708Fields	SMCR_ELx
1709EndSysreg
1710
1711Sysreg	ALLINT	3	0	4	3	0
1712Res0	63:14
1713Field	13	ALLINT
1714Res0	12:0
1715EndSysreg
1716
1717Sysreg	FAR_EL1	3	0	6	0	0
1718Field	63:0	ADDR
1719EndSysreg
1720
1721Sysreg	PMSCR_EL1	3	0	9	9	0
1722Res0	63:8
1723Field	7:6	PCT
1724Field	5	TS
1725Field	4	PA
1726Field	3	CX
1727Res0	2
1728Field	1	E1SPE
1729Field	0	E0SPE
1730EndSysreg
1731
1732Sysreg	PMSNEVFR_EL1	3	0	9	9	1
1733Field	63:0	E
1734EndSysreg
1735
1736Sysreg	PMSICR_EL1	3	0	9	9	2
1737Field	63:56	ECOUNT
1738Res0	55:32
1739Field	31:0	COUNT
1740EndSysreg
1741
1742Sysreg	PMSIRR_EL1	3	0	9	9	3
1743Res0	63:32
1744Field	31:8	INTERVAL
1745Res0	7:1
1746Field	0	RND
1747EndSysreg
1748
1749Sysreg	PMSFCR_EL1	3	0	9	9	4
1750Res0	63:19
1751Field	18	ST
1752Field	17	LD
1753Field	16	B
1754Res0	15:4
1755Field	3	FnE
1756Field	2	FL
1757Field	1	FT
1758Field	0	FE
1759EndSysreg
1760
1761Sysreg	PMSEVFR_EL1	3	0	9	9	5
1762Field	63:0	E
1763EndSysreg
1764
1765Sysreg	PMSLATFR_EL1	3	0	9	9	6
1766Res0	63:16
1767Field	15:0	MINLAT
1768EndSysreg
1769
1770Sysreg	PMSIDR_EL1	3	0	9	9	7
1771Res0	63:25
1772Field	24	PBT
1773Field	23:20	FORMAT
1774Enum	19:16	COUNTSIZE
1775	0b0010	12_BIT_SAT
1776	0b0011	16_BIT_SAT
1777EndEnum
1778Field	15:12	MAXSIZE
1779Enum	11:8	INTERVAL
1780	0b0000	256
1781	0b0010	512
1782	0b0011	768
1783	0b0100	1024
1784	0b0101	1536
1785	0b0110	2048
1786	0b0111	3072
1787	0b1000	4096
1788EndEnum
1789Res0	7
1790Field	6	FnE
1791Field	5	ERND
1792Field	4	LDS
1793Field	3	ARCHINST
1794Field	2	FL
1795Field	1	FT
1796Field	0	FE
1797EndSysreg
1798
1799Sysreg	PMBLIMITR_EL1	3	0	9	10	0
1800Field	63:12	LIMIT
1801Res0	11:6
1802Field	5	PMFZ
1803Res0	4:3
1804Enum	2:1	FM
1805	0b00	FILL
1806	0b10	DISCARD
1807EndEnum
1808Field	0	E
1809EndSysreg
1810
1811Sysreg	PMBPTR_EL1	3	0	9	10	1
1812Field	63:0	PTR
1813EndSysreg
1814
1815Sysreg	PMBSR_EL1	3	0	9	10	3
1816Res0	63:32
1817Enum	31:26	EC
1818	0b000000	BUF
1819	0b100100	FAULT_S1
1820	0b100101	FAULT_S2
1821	0b011110	FAULT_GPC
1822	0b011111	IMP_DEF
1823EndEnum
1824Res0	25:20
1825Field	19	DL
1826Field	18	EA
1827Field	17	S
1828Field	16	COLL
1829Field	15:0	MSS
1830EndSysreg
1831
1832Sysreg	PMBIDR_EL1	3	0	9	10	7
1833Res0	63:12
1834Enum	11:8	EA
1835	0b0000	NotDescribed
1836	0b0001	Ignored
1837	0b0010	SError
1838EndEnum
1839Res0	7:6
1840Field	5	F
1841Field	4	P
1842Field	3:0	ALIGN
1843EndSysreg
1844
1845SysregFields	CONTEXTIDR_ELx
1846Res0	63:32
1847Field	31:0	PROCID
1848EndSysregFields
1849
1850Sysreg	CONTEXTIDR_EL1	3	0	13	0	1
1851Fields	CONTEXTIDR_ELx
1852EndSysreg
1853
1854Sysreg	TPIDR_EL1	3	0	13	0	4
1855Field	63:0	ThreadID
1856EndSysreg
1857
1858Sysreg	SCXTNUM_EL1	3	0	13	0	7
1859Field	63:0	SoftwareContextNumber
1860EndSysreg
1861
1862# The bit layout for CCSIDR_EL1 depends on whether FEAT_CCIDX is implemented.
1863# The following is for case when FEAT_CCIDX is not implemented.
1864Sysreg	CCSIDR_EL1	3	1	0	0	0
1865Res0	63:32
1866Unkn	31:28
1867Field	27:13	NumSets
1868Field	12:3	Associativity
1869Field	2:0	LineSize
1870EndSysreg
1871
1872Sysreg	CLIDR_EL1	3	1	0	0	1
1873Res0	63:47
1874Field	46:33	Ttypen
1875Field	32:30	ICB
1876Field	29:27	LoUU
1877Field	26:24	LoC
1878Field	23:21	LoUIS
1879Field	20:18	Ctype7
1880Field	17:15	Ctype6
1881Field	14:12	Ctype5
1882Field	11:9	Ctype4
1883Field	8:6	Ctype3
1884Field	5:3	Ctype2
1885Field	2:0	Ctype1
1886EndSysreg
1887
1888Sysreg	CCSIDR2_EL1	3	1	0	0	2
1889Res0	63:24
1890Field	23:0	NumSets
1891EndSysreg
1892
1893Sysreg	GMID_EL1	3	1	0	0	4
1894Res0	63:4
1895Field	3:0	BS
1896EndSysreg
1897
1898Sysreg	SMIDR_EL1	3	1	0	0	6
1899Res0	63:32
1900Field	31:24	IMPLEMENTER
1901Field	23:16	REVISION
1902Field	15	SMPS
1903Res0	14:12
1904Field	11:0	AFFINITY
1905EndSysreg
1906
1907Sysreg	CSSELR_EL1	3	2	0	0	0
1908Res0	63:5
1909Field	4	TnD
1910Field	3:1	Level
1911Field	0	InD
1912EndSysreg
1913
1914Sysreg	CTR_EL0	3	3	0	0	1
1915Res0	63:38
1916Field	37:32	TminLine
1917Res1	31
1918Res0	30
1919Field	29	DIC
1920Field	28	IDC
1921Field	27:24	CWG
1922Field	23:20	ERG
1923Field	19:16	DminLine
1924Enum	15:14	L1Ip
1925	0b00	VPIPT
1926	# This is named as AIVIVT in the ARM but documented as reserved
1927	0b01	RESERVED
1928	0b10	VIPT
1929	0b11	PIPT
1930EndEnum
1931Res0	13:4
1932Field	3:0	IminLine
1933EndSysreg
1934
1935Sysreg	DCZID_EL0	3	3	0	0	7
1936Res0	63:5
1937Field	4	DZP
1938Field	3:0	BS
1939EndSysreg
1940
1941Sysreg	SVCR	3	3	4	2	2
1942Res0	63:2
1943Field	1	ZA
1944Field	0	SM
1945EndSysreg
1946
1947SysregFields	HFGxTR_EL2
1948Field	63	nAMIAIR2_EL1
1949Field	62	nMAIR2_EL1
1950Field	61	nS2POR_EL1
1951Field	60	nPOR_EL1
1952Field	59	nPOR_EL0
1953Field	58	nPIR_EL1
1954Field	57	nPIRE0_EL1
1955Field	56	nRCWMASK_EL1
1956Field	55	nTPIDR2_EL0
1957Field	54	nSMPRI_EL1
1958Field	53	nGCS_EL1
1959Field	52	nGCS_EL0
1960Res0	51
1961Field	50	nACCDATA_EL1
1962Field	49	ERXADDR_EL1
1963Field	48	EXRPFGCDN_EL1
1964Field	47	EXPFGCTL_EL1
1965Field	46	EXPFGF_EL1
1966Field	45	ERXMISCn_EL1
1967Field	44	ERXSTATUS_EL1
1968Field	43	ERXCTLR_EL1
1969Field	42	ERXFR_EL1
1970Field	41	ERRSELR_EL1
1971Field	40	ERRIDR_EL1
1972Field	39	ICC_IGRPENn_EL1
1973Field	38	VBAR_EL1
1974Field	37	TTBR1_EL1
1975Field	36	TTBR0_EL1
1976Field	35	TPIDR_EL0
1977Field	34	TPIDRRO_EL0
1978Field	33	TPIDR_EL1
1979Field	32	TCR_EL1
1980Field	31	SCTXNUM_EL0
1981Field	30	SCTXNUM_EL1
1982Field	29	SCTLR_EL1
1983Field	28	REVIDR_EL1
1984Field	27	PAR_EL1
1985Field	26	MPIDR_EL1
1986Field	25	MIDR_EL1
1987Field	24	MAIR_EL1
1988Field	23	LORSA_EL1
1989Field	22	LORN_EL1
1990Field	21	LORID_EL1
1991Field	20	LOREA_EL1
1992Field	19	LORC_EL1
1993Field	18	ISR_EL1
1994Field	17	FAR_EL1
1995Field	16	ESR_EL1
1996Field	15	DCZID_EL0
1997Field	14	CTR_EL0
1998Field	13	CSSELR_EL1
1999Field	12	CPACR_EL1
2000Field	11	CONTEXTIDR_EL1
2001Field	10	CLIDR_EL1
2002Field	9	CCSIDR_EL1
2003Field	8	APIBKey
2004Field	7	APIAKey
2005Field	6	APGAKey
2006Field	5	APDBKey
2007Field	4	APDAKey
2008Field	3	AMAIR_EL1
2009Field	2	AIDR_EL1
2010Field	1	AFSR1_EL1
2011Field	0	AFSR0_EL1
2012EndSysregFields
2013
2014Sysreg HFGRTR_EL2	3	4	1	1	4
2015Fields	HFGxTR_EL2
2016EndSysreg
2017
2018Sysreg HFGWTR_EL2	3	4	1	1	5
2019Fields	HFGxTR_EL2
2020EndSysreg
2021
2022Sysreg HFGITR_EL2	3	4	1	1	6
2023Res0	63:61
2024Field	60	COSPRCTX
2025Field	59	nGCSEPP
2026Field	58	nGCSSTR_EL1
2027Field	57	nGCSPUSHM_EL1
2028Field	56	nBRBIALL
2029Field	55	nBRBINJ
2030Field	54	DCCVAC
2031Field	53	SVC_EL1
2032Field	52	SVC_EL0
2033Field	51	ERET
2034Field	50	CPPRCTX
2035Field	49	DVPRCTX
2036Field	48	CFPRCTX
2037Field	47	TLBIVAALE1
2038Field	46	TLBIVALE1
2039Field	45	TLBIVAAE1
2040Field	44	TLBIASIDE1
2041Field	43	TLBIVAE1
2042Field	42	TLBIVMALLE1
2043Field	41	TLBIRVAALE1
2044Field	40	TLBIRVALE1
2045Field	39	TLBIRVAAE1
2046Field	38	TLBIRVAE1
2047Field	37	TLBIRVAALE1IS
2048Field	36	TLBIRVALE1IS
2049Field	35	TLBIRVAAE1IS
2050Field	34	TLBIRVAE1IS
2051Field	33	TLBIVAALE1IS
2052Field	32	TLBIVALE1IS
2053Field	31	TLBIVAAE1IS
2054Field	30	TLBIASIDE1IS
2055Field	29	TLBIVAE1IS
2056Field	28	TLBIVMALLE1IS
2057Field	27	TLBIRVAALE1OS
2058Field	26	TLBIRVALE1OS
2059Field	25	TLBIRVAAE1OS
2060Field	24	TLBIRVAE1OS
2061Field	23	TLBIVAALE1OS
2062Field	22	TLBIVALE1OS
2063Field	21	TLBIVAAE1OS
2064Field	20	TLBIASIDE1OS
2065Field	19	TLBIVAE1OS
2066Field	18	TLBIVMALLE1OS
2067Field	17	ATS1E1WP
2068Field	16	ATS1E1RP
2069Field	15	ATS1E0W
2070Field	14	ATS1E0R
2071Field	13	ATS1E1W
2072Field	12	ATS1E1R
2073Field	11	DCZVA
2074Field	10	DCCIVAC
2075Field	9	DCCVADP
2076Field	8	DCCVAP
2077Field	7	DCCVAU
2078Field	6	DCCISW
2079Field	5	DCCSW
2080Field	4	DCISW
2081Field	3	DCIVAC
2082Field	2	ICIVAU
2083Field	1	ICIALLU
2084Field	0	ICIALLUIS
2085EndSysreg
2086
2087Sysreg	ZCR_EL2	3	4	1	2	0
2088Fields	ZCR_ELx
2089EndSysreg
2090
2091Sysreg	HCRX_EL2	3	4	1	2	2
2092Res0	63:12
2093Field	11	MSCEn
2094Field	10	MCE2
2095Field	9	CMOW
2096Field	8	VFNMI
2097Field	7	VINMI
2098Field	6	TALLINT
2099Field	5	SMPME
2100Field	4	FGTnXS
2101Field	3	FnXS
2102Field	2	EnASR
2103Field	1	EnALS
2104Field	0	EnAS0
2105EndSysreg
2106
2107Sysreg	SMPRIMAP_EL2	3	4	1	2	5
2108Field	63:60	P15
2109Field	59:56	P14
2110Field	55:52	P13
2111Field	51:48	P12
2112Field	47:44	P11
2113Field	43:40	P10
2114Field	39:36	F9
2115Field	35:32	P8
2116Field	31:28	P7
2117Field	27:24	P6
2118Field	23:20	P5
2119Field	19:16	P4
2120Field	15:12	P3
2121Field	11:8	P2
2122Field	7:4	P1
2123Field	3:0	P0
2124EndSysreg
2125
2126Sysreg	SMCR_EL2	3	4	1	2	6
2127Fields	SMCR_ELx
2128EndSysreg
2129
2130Sysreg	DACR32_EL2	3	4	3	0	0
2131Res0	63:32
2132Field	31:30	D15
2133Field	29:28	D14
2134Field	27:26	D13
2135Field	25:24	D12
2136Field	23:22	D11
2137Field	21:20	D10
2138Field	19:18	D9
2139Field	17:16	D8
2140Field	15:14	D7
2141Field	13:12	D6
2142Field	11:10	D5
2143Field	9:8	D4
2144Field	7:6	D3
2145Field	5:4	D2
2146Field	3:2	D1
2147Field	1:0	D0
2148EndSysreg
2149
2150Sysreg	FAR_EL2	3	4	6	0	0
2151Field	63:0	ADDR
2152EndSysreg
2153
2154Sysreg	PMSCR_EL2	3	4	9	9	0
2155Res0	63:8
2156Enum	7:6	PCT
2157	0b00	VIRT
2158	0b01	PHYS
2159	0b11	GUEST
2160EndEnum
2161Field	5	TS
2162Field	4	PA
2163Field	3	CX
2164Res0	2
2165Field	1	E2SPE
2166Field	0	E0HSPE
2167EndSysreg
2168
2169Sysreg	CONTEXTIDR_EL2	3	4	13	0	1
2170Fields	CONTEXTIDR_ELx
2171EndSysreg
2172
2173Sysreg	CNTPOFF_EL2	3	4	14	0	6
2174Field	63:0	PhysicalOffset
2175EndSysreg
2176
2177Sysreg	CPACR_EL12	3	5	1	0	2
2178Fields	CPACR_ELx
2179EndSysreg
2180
2181Sysreg	ZCR_EL12	3	5	1	2	0
2182Fields	ZCR_ELx
2183EndSysreg
2184
2185Sysreg	SMCR_EL12	3	5	1	2	6
2186Fields	SMCR_ELx
2187EndSysreg
2188
2189Sysreg	FAR_EL12	3	5	6	0	0
2190Field	63:0	ADDR
2191EndSysreg
2192
2193Sysreg	CONTEXTIDR_EL12	3	5	13	0	1
2194Fields	CONTEXTIDR_ELx
2195EndSysreg
2196
2197SysregFields TTBRx_EL1
2198Field	63:48	ASID
2199Field	47:1	BADDR
2200Field	0	CnP
2201EndSysregFields
2202
2203Sysreg	TTBR0_EL1	3	0	2	0	0
2204Fields	TTBRx_EL1
2205EndSysreg
2206
2207Sysreg	TTBR1_EL1	3	0	2	0	1
2208Fields	TTBRx_EL1
2209EndSysreg
2210
2211Sysreg	LORSA_EL1	3	0	10	4	0
2212Res0	63:52
2213Field	51:16	SA
2214Res0	15:1
2215Field	0	Valid
2216EndSysreg
2217
2218Sysreg	LOREA_EL1	3	0	10	4	1
2219Res0	63:52
2220Field	51:48	EA_51_48
2221Field	47:16	EA_47_16
2222Res0	15:0
2223EndSysreg
2224
2225Sysreg	LORN_EL1	3	0	10	4	2
2226Res0	63:8
2227Field	7:0	Num
2228EndSysreg
2229
2230Sysreg	LORC_EL1	3	0	10	4	3
2231Res0	63:10
2232Field	9:2	DS
2233Res0	1
2234Field	0	EN
2235EndSysreg
2236
2237Sysreg	LORID_EL1	3	0	10	4	7
2238Res0	63:24
2239Field	23:16	LD
2240Res0	15:8
2241Field	7:0	LR
2242EndSysreg
2243
2244Sysreg	ISR_EL1	3	0	12	1	0
2245Res0	63:11
2246Field	10	IS
2247Field	9	FS
2248Field	8	A
2249Field	7	I
2250Field	6	F
2251Res0	5:0
2252EndSysreg
2253
2254Sysreg	ICC_NMIAR1_EL1	3	0	12	9	5
2255Res0	63:24
2256Field	23:0	INTID
2257EndSysreg
2258
2259Sysreg	TRBLIMITR_EL1	3	0	9	11	0
2260Field	63:12	LIMIT
2261Res0	11:7
2262Field	6	XE
2263Field	5	nVM
2264Enum	4:3	TM
2265	0b00	STOP
2266	0b01	IRQ
2267	0b11	IGNR
2268EndEnum
2269Enum	2:1	FM
2270	0b00	FILL
2271	0b01	WRAP
2272	0b11	CBUF
2273EndEnum
2274Field	0	E
2275EndSysreg
2276
2277Sysreg	TRBPTR_EL1	3	0	9	11	1
2278Field	63:0	PTR
2279EndSysreg
2280
2281Sysreg	TRBBASER_EL1	3	0	9	11	2
2282Field	63:12	BASE
2283Res0	11:0
2284EndSysreg
2285
2286Sysreg	TRBSR_EL1	3	0	9	11	3
2287Res0	63:56
2288Field	55:32	MSS2
2289Field	31:26	EC
2290Res0	25:24
2291Field	23	DAT
2292Field	22	IRQ
2293Field	21	TRG
2294Field	20	WRAP
2295Res0	19
2296Field	18	EA
2297Field	17	S
2298Res0	16
2299Field	15:0	MSS
2300EndSysreg
2301
2302Sysreg	TRBMAR_EL1	3	0	9	11	4
2303Res0	63:12
2304Enum	11:10	PAS
2305	0b00	SECURE
2306	0b01	NON_SECURE
2307	0b10	ROOT
2308	0b11	REALM
2309EndEnum
2310Enum	9:8	SH
2311	0b00	NON_SHAREABLE
2312	0b10	OUTER_SHAREABLE
2313	0b11	INNER_SHAREABLE
2314EndEnum
2315Field	7:0	Attr
2316EndSysreg
2317
2318Sysreg	TRBTRG_EL1	3	0	9	11	6
2319Res0	63:32
2320Field	31:0	TRG
2321EndSysreg
2322
2323Sysreg	TRBIDR_EL1	3	0	9	11	7
2324Res0	63:12
2325Enum	11:8	EA
2326	0b0000	NON_DESC
2327	0b0001	IGNORE
2328	0b0010	SERROR
2329EndEnum
2330Res0	7:6
2331Field	5	F
2332Field	4	P
2333Field	3:0	Align
2334EndSysreg
2335