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