xref: /openbmc/linux/arch/arm64/tools/sysreg (revision 7effbd18)
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
882Res0	63:40
883UnsignedEnum	39:36	NMI
884	0b0000	NI
885	0b0001	IMP
886EndEnum
887UnsignedEnum	35:32	CSV2_frac
888	0b0000	NI
889	0b0001	CSV2_1p1
890	0b0010	CSV2_1p2
891EndEnum
892UnsignedEnum	31:28	RNDR_trap
893	0b0000	NI
894	0b0001	IMP
895EndEnum
896UnsignedEnum	27:24	SME
897	0b0000	NI
898	0b0001	IMP
899	0b0010	SME2
900EndEnum
901Res0	23:20
902UnsignedEnum	19:16	MPAM_frac
903	0b0000	MINOR_0
904	0b0001	MINOR_1
905EndEnum
906UnsignedEnum	15:12	RAS_frac
907	0b0000	NI
908	0b0001	RASv1p1
909EndEnum
910UnsignedEnum	11:8	MTE
911	0b0000	NI
912	0b0001	IMP
913	0b0010	MTE2
914	0b0011	MTE3
915EndEnum
916UnsignedEnum	7:4	SSBS
917	0b0000	NI
918	0b0001	IMP
919	0b0010	SSBS2
920EndEnum
921UnsignedEnum	3:0	BT
922	0b0000	NI
923	0b0001	IMP
924EndEnum
925EndSysreg
926
927Sysreg	ID_AA64ZFR0_EL1	3	0	0	4	4
928Res0	63:60
929UnsignedEnum	59:56	F64MM
930	0b0000	NI
931	0b0001	IMP
932EndEnum
933UnsignedEnum	55:52	F32MM
934	0b0000	NI
935	0b0001	IMP
936EndEnum
937Res0	51:48
938UnsignedEnum	47:44	I8MM
939	0b0000	NI
940	0b0001	IMP
941EndEnum
942UnsignedEnum	43:40	SM4
943	0b0000	NI
944	0b0001	IMP
945EndEnum
946Res0	39:36
947UnsignedEnum	35:32	SHA3
948	0b0000	NI
949	0b0001	IMP
950EndEnum
951Res0	31:24
952UnsignedEnum	23:20	BF16
953	0b0000	NI
954	0b0001	IMP
955	0b0010	EBF16
956EndEnum
957UnsignedEnum	19:16	BitPerm
958	0b0000	NI
959	0b0001	IMP
960EndEnum
961Res0	15:8
962UnsignedEnum	7:4	AES
963	0b0000	NI
964	0b0001	IMP
965	0b0010	PMULL128
966EndEnum
967UnsignedEnum	3:0	SVEver
968	0b0000	IMP
969	0b0001	SVE2
970	0b0010	SVE2p1
971EndEnum
972EndSysreg
973
974Sysreg	ID_AA64SMFR0_EL1	3	0	0	4	5
975UnsignedEnum	63	FA64
976	0b0	NI
977	0b1	IMP
978EndEnum
979Res0	62:60
980UnsignedEnum	59:56	SMEver
981	0b0000	SME
982	0b0001	SME2
983	0b0010	SME2p1
984	0b0000	IMP
985EndEnum
986UnsignedEnum	55:52	I16I64
987	0b0000	NI
988	0b1111	IMP
989EndEnum
990Res0	51:49
991UnsignedEnum	48	F64F64
992	0b0	NI
993	0b1	IMP
994EndEnum
995UnsignedEnum	47:44	I16I32
996	0b0000	NI
997	0b0101	IMP
998EndEnum
999UnsignedEnum	43	B16B16
1000	0b0	NI
1001	0b1	IMP
1002EndEnum
1003UnsignedEnum	42	F16F16
1004	0b0	NI
1005	0b1	IMP
1006EndEnum
1007Res0	41:40
1008UnsignedEnum	39:36	I8I32
1009	0b0000	NI
1010	0b1111	IMP
1011EndEnum
1012UnsignedEnum	35	F16F32
1013	0b0	NI
1014	0b1	IMP
1015EndEnum
1016UnsignedEnum	34	B16F32
1017	0b0	NI
1018	0b1	IMP
1019EndEnum
1020UnsignedEnum	33	BI32I32
1021	0b0	NI
1022	0b1	IMP
1023EndEnum
1024UnsignedEnum	32	F32F32
1025	0b0	NI
1026	0b1	IMP
1027EndEnum
1028Res0	31:0
1029EndSysreg
1030
1031Sysreg	ID_AA64DFR0_EL1	3	0	0	5	0
1032Enum	63:60	HPMN0
1033	0b0000	UNPREDICTABLE
1034	0b0001	DEF
1035EndEnum
1036Res0	59:56
1037UnsignedEnum	55:52	BRBE
1038	0b0000	NI
1039	0b0001	IMP
1040	0b0010	BRBE_V1P1
1041EndEnum
1042Enum	51:48	MTPMU
1043	0b0000	NI_IMPDEF
1044	0b0001	IMP
1045	0b1111	NI
1046EndEnum
1047UnsignedEnum	47:44	TraceBuffer
1048	0b0000	NI
1049	0b0001	IMP
1050EndEnum
1051UnsignedEnum	43:40	TraceFilt
1052	0b0000	NI
1053	0b0001	IMP
1054EndEnum
1055UnsignedEnum	39:36	DoubleLock
1056	0b0000	IMP
1057	0b1111	NI
1058EndEnum
1059UnsignedEnum	35:32	PMSVer
1060	0b0000	NI
1061	0b0001	IMP
1062	0b0010	V1P1
1063	0b0011	V1P2
1064	0b0100	V1P3
1065EndEnum
1066Field	31:28	CTX_CMPs
1067Res0	27:24
1068Field	23:20	WRPs
1069Res0	19:16
1070Field	15:12	BRPs
1071UnsignedEnum	11:8	PMUVer
1072	0b0000	NI
1073	0b0001	IMP
1074	0b0100	V3P1
1075	0b0101	V3P4
1076	0b0110	V3P5
1077	0b0111	V3P7
1078	0b1000	V3P8
1079	0b1111	IMP_DEF
1080EndEnum
1081UnsignedEnum	7:4	TraceVer
1082	0b0000	NI
1083	0b0001	IMP
1084EndEnum
1085UnsignedEnum	3:0	DebugVer
1086	0b0110	IMP
1087	0b0111	VHE
1088	0b1000	V8P2
1089	0b1001	V8P4
1090	0b1010	V8P8
1091EndEnum
1092EndSysreg
1093
1094Sysreg	ID_AA64DFR1_EL1	3	0	0	5	1
1095Res0	63:0
1096EndSysreg
1097
1098Sysreg	ID_AA64AFR0_EL1	3	0	0	5	4
1099Res0	63:32
1100Field	31:28	IMPDEF7
1101Field	27:24	IMPDEF6
1102Field	23:20	IMPDEF5
1103Field	19:16	IMPDEF4
1104Field	15:12	IMPDEF3
1105Field	11:8	IMPDEF2
1106Field	7:4	IMPDEF1
1107Field	3:0	IMPDEF0
1108EndSysreg
1109
1110Sysreg	ID_AA64AFR1_EL1	3	0	0	5	5
1111Res0	63:0
1112EndSysreg
1113
1114Sysreg	ID_AA64ISAR0_EL1	3	0	0	6	0
1115UnsignedEnum	63:60	RNDR
1116	0b0000	NI
1117	0b0001	IMP
1118EndEnum
1119UnsignedEnum	59:56	TLB
1120	0b0000	NI
1121	0b0001	OS
1122	0b0010	RANGE
1123EndEnum
1124UnsignedEnum	55:52	TS
1125	0b0000	NI
1126	0b0001	FLAGM
1127	0b0010	FLAGM2
1128EndEnum
1129UnsignedEnum	51:48	FHM
1130	0b0000	NI
1131	0b0001	IMP
1132EndEnum
1133UnsignedEnum	47:44	DP
1134	0b0000	NI
1135	0b0001	IMP
1136EndEnum
1137UnsignedEnum	43:40	SM4
1138	0b0000	NI
1139	0b0001	IMP
1140EndEnum
1141UnsignedEnum	39:36	SM3
1142	0b0000	NI
1143	0b0001	IMP
1144EndEnum
1145UnsignedEnum	35:32	SHA3
1146	0b0000	NI
1147	0b0001	IMP
1148EndEnum
1149UnsignedEnum	31:28	RDM
1150	0b0000	NI
1151	0b0001	IMP
1152EndEnum
1153UnsignedEnum	27:24	TME
1154	0b0000	NI
1155	0b0001	IMP
1156EndEnum
1157UnsignedEnum	23:20	ATOMIC
1158	0b0000	NI
1159	0b0010	IMP
1160EndEnum
1161UnsignedEnum	19:16	CRC32
1162	0b0000	NI
1163	0b0001	IMP
1164EndEnum
1165UnsignedEnum	15:12	SHA2
1166	0b0000	NI
1167	0b0001	SHA256
1168	0b0010	SHA512
1169EndEnum
1170UnsignedEnum	11:8	SHA1
1171	0b0000	NI
1172	0b0001	IMP
1173EndEnum
1174UnsignedEnum	7:4	AES
1175	0b0000	NI
1176	0b0001	AES
1177	0b0010	PMULL
1178EndEnum
1179Res0	3:0
1180EndSysreg
1181
1182Sysreg	ID_AA64ISAR1_EL1	3	0	0	6	1
1183UnsignedEnum	63:60	LS64
1184	0b0000	NI
1185	0b0001	LS64
1186	0b0010	LS64_V
1187	0b0011	LS64_ACCDATA
1188EndEnum
1189UnsignedEnum	59:56	XS
1190	0b0000	NI
1191	0b0001	IMP
1192EndEnum
1193UnsignedEnum	55:52	I8MM
1194	0b0000	NI
1195	0b0001	IMP
1196EndEnum
1197UnsignedEnum	51:48	DGH
1198	0b0000	NI
1199	0b0001	IMP
1200EndEnum
1201UnsignedEnum	47:44	BF16
1202	0b0000	NI
1203	0b0001	IMP
1204	0b0010	EBF16
1205EndEnum
1206UnsignedEnum	43:40	SPECRES
1207	0b0000	NI
1208	0b0001	IMP
1209EndEnum
1210UnsignedEnum	39:36	SB
1211	0b0000	NI
1212	0b0001	IMP
1213EndEnum
1214UnsignedEnum	35:32	FRINTTS
1215	0b0000	NI
1216	0b0001	IMP
1217EndEnum
1218UnsignedEnum	31:28	GPI
1219	0b0000	NI
1220	0b0001	IMP
1221EndEnum
1222UnsignedEnum	27:24	GPA
1223	0b0000	NI
1224	0b0001	IMP
1225EndEnum
1226UnsignedEnum	23:20	LRCPC
1227	0b0000	NI
1228	0b0001	IMP
1229	0b0010	LRCPC2
1230EndEnum
1231UnsignedEnum	19:16	FCMA
1232	0b0000	NI
1233	0b0001	IMP
1234EndEnum
1235UnsignedEnum	15:12	JSCVT
1236	0b0000	NI
1237	0b0001	IMP
1238EndEnum
1239UnsignedEnum	11:8	API
1240	0b0000	NI
1241	0b0001	PAuth
1242	0b0010	EPAC
1243	0b0011	PAuth2
1244	0b0100	FPAC
1245	0b0101	FPACCOMBINE
1246EndEnum
1247UnsignedEnum	7:4	APA
1248	0b0000	NI
1249	0b0001	PAuth
1250	0b0010	EPAC
1251	0b0011	PAuth2
1252	0b0100	FPAC
1253	0b0101	FPACCOMBINE
1254EndEnum
1255UnsignedEnum	3:0	DPB
1256	0b0000	NI
1257	0b0001	IMP
1258	0b0010	DPB2
1259EndEnum
1260EndSysreg
1261
1262Sysreg	ID_AA64ISAR2_EL1	3	0	0	6	2
1263Res0	63:56
1264UnsignedEnum	55:52	CSSC
1265	0b0000	NI
1266	0b0001	IMP
1267EndEnum
1268UnsignedEnum	51:48	RPRFM
1269	0b0000	NI
1270	0b0001	IMP
1271EndEnum
1272Res0	47:28
1273UnsignedEnum	27:24	PAC_frac
1274	0b0000	NI
1275	0b0001	IMP
1276EndEnum
1277UnsignedEnum	23:20	BC
1278	0b0000	NI
1279	0b0001	IMP
1280EndEnum
1281UnsignedEnum	19:16	MOPS
1282	0b0000	NI
1283	0b0001	IMP
1284EndEnum
1285UnsignedEnum	15:12	APA3
1286	0b0000	NI
1287	0b0001	PAuth
1288	0b0010	EPAC
1289	0b0011	PAuth2
1290	0b0100	FPAC
1291	0b0101	FPACCOMBINE
1292EndEnum
1293UnsignedEnum	11:8	GPA3
1294	0b0000	NI
1295	0b0001	IMP
1296EndEnum
1297UnsignedEnum	7:4	RPRES
1298	0b0000	NI
1299	0b0001	IMP
1300EndEnum
1301UnsignedEnum	3:0	WFxT
1302	0b0000	NI
1303	0b0010	IMP
1304EndEnum
1305EndSysreg
1306
1307Sysreg	ID_AA64MMFR0_EL1	3	0	0	7	0
1308UnsignedEnum	63:60	ECV
1309	0b0000	NI
1310	0b0001	IMP
1311	0b0010	CNTPOFF
1312EndEnum
1313UnsignedEnum	59:56	FGT
1314	0b0000	NI
1315	0b0001	IMP
1316EndEnum
1317Res0	55:48
1318UnsignedEnum	47:44	EXS
1319	0b0000	NI
1320	0b0001	IMP
1321EndEnum
1322Enum	43:40	TGRAN4_2
1323	0b0000	TGRAN4
1324	0b0001	NI
1325	0b0010	IMP
1326	0b0011	52_BIT
1327EndEnum
1328Enum	39:36	TGRAN64_2
1329	0b0000	TGRAN64
1330	0b0001	NI
1331	0b0010	IMP
1332EndEnum
1333Enum	35:32	TGRAN16_2
1334	0b0000	TGRAN16
1335	0b0001	NI
1336	0b0010	IMP
1337	0b0011	52_BIT
1338EndEnum
1339Enum	31:28	TGRAN4
1340	0b0000	IMP
1341	0b0001	52_BIT
1342	0b1111	NI
1343EndEnum
1344Enum	27:24	TGRAN64
1345	0b0000	IMP
1346	0b1111	NI
1347EndEnum
1348Enum	23:20	TGRAN16
1349	0b0000	NI
1350	0b0001	IMP
1351	0b0010	52_BIT
1352EndEnum
1353UnsignedEnum	19:16	BIGENDEL0
1354	0b0000	NI
1355	0b0001	IMP
1356EndEnum
1357UnsignedEnum	15:12	SNSMEM
1358	0b0000	NI
1359	0b0001	IMP
1360EndEnum
1361UnsignedEnum	11:8	BIGEND
1362	0b0000	NI
1363	0b0001	IMP
1364EndEnum
1365Enum	7:4	ASIDBITS
1366	0b0000	8
1367	0b0010	16
1368EndEnum
1369Enum	3:0	PARANGE
1370	0b0000	32
1371	0b0001	36
1372	0b0010	40
1373	0b0011	42
1374	0b0100	44
1375	0b0101	48
1376	0b0110	52
1377EndEnum
1378EndSysreg
1379
1380Sysreg	ID_AA64MMFR1_EL1	3	0	0	7	1
1381UnsignedEnum	63:60	ECBHB
1382	0b0000	NI
1383	0b0001	IMP
1384EndEnum
1385UnsignedEnum	59:56	CMOW
1386	0b0000	NI
1387	0b0001	IMP
1388EndEnum
1389UnsignedEnum	55:52	TIDCP1
1390	0b0000	NI
1391	0b0001	IMP
1392EndEnum
1393UnsignedEnum	51:48	nTLBPA
1394	0b0000	NI
1395	0b0001	IMP
1396EndEnum
1397UnsignedEnum	47:44	AFP
1398	0b0000	NI
1399	0b0001	IMP
1400EndEnum
1401UnsignedEnum	43:40	HCX
1402	0b0000	NI
1403	0b0001	IMP
1404EndEnum
1405UnsignedEnum	39:36	ETS
1406	0b0000	NI
1407	0b0001	IMP
1408EndEnum
1409UnsignedEnum	35:32	TWED
1410	0b0000	NI
1411	0b0001	IMP
1412EndEnum
1413UnsignedEnum	31:28	XNX
1414	0b0000	NI
1415	0b0001	IMP
1416EndEnum
1417UnsignedEnum	27:24	SpecSEI
1418	0b0000	NI
1419	0b0001	IMP
1420EndEnum
1421UnsignedEnum	23:20	PAN
1422	0b0000	NI
1423	0b0001	IMP
1424	0b0010	PAN2
1425	0b0011	PAN3
1426EndEnum
1427UnsignedEnum	19:16	LO
1428	0b0000	NI
1429	0b0001	IMP
1430EndEnum
1431UnsignedEnum	15:12	HPDS
1432	0b0000	NI
1433	0b0001	IMP
1434	0b0010	HPDS2
1435EndEnum
1436UnsignedEnum	11:8	VH
1437	0b0000	NI
1438	0b0001	IMP
1439EndEnum
1440Enum	7:4	VMIDBits
1441	0b0000	8
1442	0b0010	16
1443EndEnum
1444UnsignedEnum	3:0	HAFDBS
1445	0b0000	NI
1446	0b0001	AF
1447	0b0010	DBM
1448EndEnum
1449EndSysreg
1450
1451Sysreg	ID_AA64MMFR2_EL1	3	0	0	7	2
1452UnsignedEnum	63:60	E0PD
1453	0b0000	NI
1454	0b0001	IMP
1455EndEnum
1456UnsignedEnum	59:56	EVT
1457	0b0000	NI
1458	0b0001	IMP
1459	0b0010	TTLBxS
1460EndEnum
1461UnsignedEnum	55:52	BBM
1462	0b0000	0
1463	0b0001	1
1464	0b0010	2
1465EndEnum
1466UnsignedEnum	51:48	TTL
1467	0b0000	NI
1468	0b0001	IMP
1469EndEnum
1470Res0	47:44
1471UnsignedEnum	43:40	FWB
1472	0b0000	NI
1473	0b0001	IMP
1474EndEnum
1475Enum	39:36	IDS
1476	0b0000	0x0
1477	0b0001	0x18
1478EndEnum
1479UnsignedEnum	35:32	AT
1480	0b0000	NI
1481	0b0001	IMP
1482EndEnum
1483Enum	31:28	ST
1484	0b0000	39
1485	0b0001	48_47
1486EndEnum
1487UnsignedEnum	27:24	NV
1488	0b0000	NI
1489	0b0001	IMP
1490	0b0010	NV2
1491EndEnum
1492Enum	23:20	CCIDX
1493	0b0000	32
1494	0b0001	64
1495EndEnum
1496Enum	19:16	VARange
1497	0b0000	48
1498	0b0001	52
1499EndEnum
1500UnsignedEnum	15:12	IESB
1501	0b0000	NI
1502	0b0001	IMP
1503EndEnum
1504UnsignedEnum	11:8	LSM
1505	0b0000	NI
1506	0b0001	IMP
1507EndEnum
1508UnsignedEnum	7:4	UAO
1509	0b0000	NI
1510	0b0001	IMP
1511EndEnum
1512UnsignedEnum	3:0	CnP
1513	0b0000	NI
1514	0b0001	IMP
1515EndEnum
1516EndSysreg
1517
1518Sysreg	SCTLR_EL1	3	0	1	0	0
1519Field	63	TIDCP
1520Field	62	SPINTMASK
1521Field	61	NMI
1522Field	60	EnTP2
1523Res0	59:58
1524Field	57	EPAN
1525Field	56	EnALS
1526Field	55	EnAS0
1527Field	54	EnASR
1528Field	53	TME
1529Field	52	TME0
1530Field	51	TMT
1531Field	50	TMT0
1532Field	49:46	TWEDEL
1533Field	45	TWEDEn
1534Field	44	DSSBS
1535Field	43	ATA
1536Field	42	ATA0
1537Enum	41:40	TCF
1538	0b00	NONE
1539	0b01	SYNC
1540	0b10	ASYNC
1541	0b11	ASYMM
1542EndEnum
1543Enum	39:38	TCF0
1544	0b00	NONE
1545	0b01	SYNC
1546	0b10	ASYNC
1547	0b11	ASYMM
1548EndEnum
1549Field	37	ITFSB
1550Field	36	BT1
1551Field	35	BT0
1552Res0	34
1553Field	33	MSCEn
1554Field	32	CMOW
1555Field	31	EnIA
1556Field	30	EnIB
1557Field	29	LSMAOE
1558Field	28	nTLSMD
1559Field	27	EnDA
1560Field	26	UCI
1561Field	25	EE
1562Field	24	E0E
1563Field	23	SPAN
1564Field	22	EIS
1565Field	21	IESB
1566Field	20	TSCXT
1567Field	19	WXN
1568Field	18	nTWE
1569Res0	17
1570Field	16	nTWI
1571Field	15	UCT
1572Field	14	DZE
1573Field	13	EnDB
1574Field	12	I
1575Field	11	EOS
1576Field	10	EnRCTX
1577Field	9	UMA
1578Field	8	SED
1579Field	7	ITD
1580Field	6	nAA
1581Field	5	CP15BEN
1582Field	4	SA0
1583Field	3	SA
1584Field	2	C
1585Field	1	A
1586Field	0	M
1587EndSysreg
1588
1589SysregFields	CPACR_ELx
1590Res0	63:29
1591Field	28	TTA
1592Res0	27:26
1593Field	25:24	SMEN
1594Res0	23:22
1595Field	21:20	FPEN
1596Res0	19:18
1597Field	17:16	ZEN
1598Res0	15:0
1599EndSysregFields
1600
1601Sysreg	CPACR_EL1	3	0	1	0	2
1602Fields	CPACR_ELx
1603EndSysreg
1604
1605Sysreg	SMPRI_EL1	3	0	1	2	4
1606Res0	63:4
1607Field	3:0	PRIORITY
1608EndSysreg
1609
1610SysregFields	ZCR_ELx
1611Res0	63:9
1612Raz	8:4
1613Field	3:0	LEN
1614EndSysregFields
1615
1616Sysreg ZCR_EL1	3	0	1	2	0
1617Fields ZCR_ELx
1618EndSysreg
1619
1620SysregFields	SMCR_ELx
1621Res0	63:32
1622Field	31	FA64
1623Field	30	EZT0
1624Res0	29:9
1625Raz	8:4
1626Field	3:0	LEN
1627EndSysregFields
1628
1629Sysreg	SMCR_EL1	3	0	1	2	6
1630Fields	SMCR_ELx
1631EndSysreg
1632
1633Sysreg	ALLINT	3	0	4	3	0
1634Res0	63:14
1635Field	13	ALLINT
1636Res0	12:0
1637EndSysreg
1638
1639Sysreg	FAR_EL1	3	0	6	0	0
1640Field	63:0	ADDR
1641EndSysreg
1642
1643Sysreg	PMSCR_EL1	3	0	9	9	0
1644Res0	63:8
1645Field	7:6	PCT
1646Field	5	TS
1647Field	4	PA
1648Field	3	CX
1649Res0	2
1650Field	1	E1SPE
1651Field	0	E0SPE
1652EndSysreg
1653
1654Sysreg	PMSNEVFR_EL1	3	0	9	9	1
1655Field	63:0	E
1656EndSysreg
1657
1658Sysreg	PMSICR_EL1	3	0	9	9	2
1659Field	63:56	ECOUNT
1660Res0	55:32
1661Field	31:0	COUNT
1662EndSysreg
1663
1664Sysreg	PMSIRR_EL1	3	0	9	9	3
1665Res0	63:32
1666Field	31:8	INTERVAL
1667Res0	7:1
1668Field	0	RND
1669EndSysreg
1670
1671Sysreg	PMSFCR_EL1	3	0	9	9	4
1672Res0	63:19
1673Field	18	ST
1674Field	17	LD
1675Field	16	B
1676Res0	15:4
1677Field	3	FnE
1678Field	2	FL
1679Field	1	FT
1680Field	0	FE
1681EndSysreg
1682
1683Sysreg	PMSEVFR_EL1	3	0	9	9	5
1684Field	63:0	E
1685EndSysreg
1686
1687Sysreg	PMSLATFR_EL1	3	0	9	9	6
1688Res0	63:16
1689Field	15:0	MINLAT
1690EndSysreg
1691
1692Sysreg	PMSIDR_EL1	3	0	9	9	7
1693Res0	63:25
1694Field	24	PBT
1695Field	23:20	FORMAT
1696Enum	19:16	COUNTSIZE
1697	0b0010	12_BIT_SAT
1698	0b0011	16_BIT_SAT
1699EndEnum
1700Field	15:12	MAXSIZE
1701Enum	11:8	INTERVAL
1702	0b0000	256
1703	0b0010	512
1704	0b0011	768
1705	0b0100	1024
1706	0b0101	1536
1707	0b0110	2048
1708	0b0111	3072
1709	0b1000	4096
1710EndEnum
1711Res0	7
1712Field	6	FnE
1713Field	5	ERND
1714Field	4	LDS
1715Field	3	ARCHINST
1716Field	2	FL
1717Field	1	FT
1718Field	0	FE
1719EndSysreg
1720
1721Sysreg	PMBLIMITR_EL1	3	0	9	10	0
1722Field	63:12	LIMIT
1723Res0	11:6
1724Field	5	PMFZ
1725Res0	4:3
1726Enum	2:1	FM
1727	0b00	FILL
1728	0b10	DISCARD
1729EndEnum
1730Field	0	E
1731EndSysreg
1732
1733Sysreg	PMBPTR_EL1	3	0	9	10	1
1734Field	63:0	PTR
1735EndSysreg
1736
1737Sysreg	PMBSR_EL1	3	0	9	10	3
1738Res0	63:32
1739Enum	31:26	EC
1740	0b000000	BUF
1741	0b100100	FAULT_S1
1742	0b100101	FAULT_S2
1743	0b011110	FAULT_GPC
1744	0b011111	IMP_DEF
1745EndEnum
1746Res0	25:20
1747Field	19	DL
1748Field	18	EA
1749Field	17	S
1750Field	16	COLL
1751Field	15:0	MSS
1752EndSysreg
1753
1754Sysreg	PMBIDR_EL1	3	0	9	10	7
1755Res0	63:12
1756Enum	11:8	EA
1757	0b0000	NotDescribed
1758	0b0001	Ignored
1759	0b0010	SError
1760EndEnum
1761Res0	7:6
1762Field	5	F
1763Field	4	P
1764Field	3:0	ALIGN
1765EndSysreg
1766
1767SysregFields	CONTEXTIDR_ELx
1768Res0	63:32
1769Field	31:0	PROCID
1770EndSysregFields
1771
1772Sysreg	CONTEXTIDR_EL1	3	0	13	0	1
1773Fields	CONTEXTIDR_ELx
1774EndSysreg
1775
1776Sysreg	TPIDR_EL1	3	0	13	0	4
1777Field	63:0	ThreadID
1778EndSysreg
1779
1780Sysreg	SCXTNUM_EL1	3	0	13	0	7
1781Field	63:0	SoftwareContextNumber
1782EndSysreg
1783
1784# The bit layout for CCSIDR_EL1 depends on whether FEAT_CCIDX is implemented.
1785# The following is for case when FEAT_CCIDX is not implemented.
1786Sysreg	CCSIDR_EL1	3	1	0	0	0
1787Res0	63:32
1788Unkn	31:28
1789Field	27:13	NumSets
1790Field	12:3	Associativity
1791Field	2:0	LineSize
1792EndSysreg
1793
1794Sysreg	CLIDR_EL1	3	1	0	0	1
1795Res0	63:47
1796Field	46:33	Ttypen
1797Field	32:30	ICB
1798Field	29:27	LoUU
1799Field	26:24	LoC
1800Field	23:21	LoUIS
1801Field	20:18	Ctype7
1802Field	17:15	Ctype6
1803Field	14:12	Ctype5
1804Field	11:9	Ctype4
1805Field	8:6	Ctype3
1806Field	5:3	Ctype2
1807Field	2:0	Ctype1
1808EndSysreg
1809
1810Sysreg	CCSIDR2_EL1	3	1	0	0	2
1811Res0	63:24
1812Field	23:0	NumSets
1813EndSysreg
1814
1815Sysreg	GMID_EL1	3	1	0	0	4
1816Res0	63:4
1817Field	3:0	BS
1818EndSysreg
1819
1820Sysreg	SMIDR_EL1	3	1	0	0	6
1821Res0	63:32
1822Field	31:24	IMPLEMENTER
1823Field	23:16	REVISION
1824Field	15	SMPS
1825Res0	14:12
1826Field	11:0	AFFINITY
1827EndSysreg
1828
1829Sysreg	CSSELR_EL1	3	2	0	0	0
1830Res0	63:5
1831Field	4	TnD
1832Field	3:1	Level
1833Field	0	InD
1834EndSysreg
1835
1836Sysreg	CTR_EL0	3	3	0	0	1
1837Res0	63:38
1838Field	37:32	TminLine
1839Res1	31
1840Res0	30
1841Field	29	DIC
1842Field	28	IDC
1843Field	27:24	CWG
1844Field	23:20	ERG
1845Field	19:16	DminLine
1846Enum	15:14	L1Ip
1847	0b00	VPIPT
1848	# This is named as AIVIVT in the ARM but documented as reserved
1849	0b01	RESERVED
1850	0b10	VIPT
1851	0b11	PIPT
1852EndEnum
1853Res0	13:4
1854Field	3:0	IminLine
1855EndSysreg
1856
1857Sysreg	DCZID_EL0	3	3	0	0	7
1858Res0	63:5
1859Field	4	DZP
1860Field	3:0	BS
1861EndSysreg
1862
1863Sysreg	SVCR	3	3	4	2	2
1864Res0	63:2
1865Field	1	ZA
1866Field	0	SM
1867EndSysreg
1868
1869Sysreg	ZCR_EL2	3	4	1	2	0
1870Fields	ZCR_ELx
1871EndSysreg
1872
1873Sysreg	HCRX_EL2	3	4	1	2	2
1874Res0	63:12
1875Field	11	MSCEn
1876Field	10	MCE2
1877Field	9	CMOW
1878Field	8	VFNMI
1879Field	7	VINMI
1880Field	6	TALLINT
1881Field	5	SMPME
1882Field	4	FGTnXS
1883Field	3	FnXS
1884Field	2	EnASR
1885Field	1	EnALS
1886Field	0	EnAS0
1887EndSysreg
1888
1889Sysreg	SMPRIMAP_EL2	3	4	1	2	5
1890Field	63:60	P15
1891Field	59:56	P14
1892Field	55:52	P13
1893Field	51:48	P12
1894Field	47:44	P11
1895Field	43:40	P10
1896Field	39:36	F9
1897Field	35:32	P8
1898Field	31:28	P7
1899Field	27:24	P6
1900Field	23:20	P5
1901Field	19:16	P4
1902Field	15:12	P3
1903Field	11:8	P2
1904Field	7:4	P1
1905Field	3:0	P0
1906EndSysreg
1907
1908Sysreg	SMCR_EL2	3	4	1	2	6
1909Fields	SMCR_ELx
1910EndSysreg
1911
1912Sysreg	DACR32_EL2	3	4	3	0	0
1913Res0	63:32
1914Field	31:30	D15
1915Field	29:28	D14
1916Field	27:26	D13
1917Field	25:24	D12
1918Field	23:22	D11
1919Field	21:20	D10
1920Field	19:18	D9
1921Field	17:16	D8
1922Field	15:14	D7
1923Field	13:12	D6
1924Field	11:10	D5
1925Field	9:8	D4
1926Field	7:6	D3
1927Field	5:4	D2
1928Field	3:2	D1
1929Field	1:0	D0
1930EndSysreg
1931
1932Sysreg	FAR_EL2	3	4	6	0	0
1933Field	63:0	ADDR
1934EndSysreg
1935
1936Sysreg	PMSCR_EL2	3	4	9	9	0
1937Res0	63:8
1938Enum	7:6	PCT
1939	0b00	VIRT
1940	0b01	PHYS
1941	0b11	GUEST
1942EndEnum
1943Field	5	TS
1944Field	4	PA
1945Field	3	CX
1946Res0	2
1947Field	1	E2SPE
1948Field	0	E0HSPE
1949EndSysreg
1950
1951Sysreg	CONTEXTIDR_EL2	3	4	13	0	1
1952Fields	CONTEXTIDR_ELx
1953EndSysreg
1954
1955Sysreg	CPACR_EL12	3	5	1	0	2
1956Fields	CPACR_ELx
1957EndSysreg
1958
1959Sysreg	ZCR_EL12	3	5	1	2	0
1960Fields	ZCR_ELx
1961EndSysreg
1962
1963Sysreg	SMCR_EL12	3	5	1	2	6
1964Fields	SMCR_ELx
1965EndSysreg
1966
1967Sysreg	FAR_EL12	3	5	6	0	0
1968Field	63:0	ADDR
1969EndSysreg
1970
1971Sysreg	CONTEXTIDR_EL12	3	5	13	0	1
1972Fields	CONTEXTIDR_ELx
1973EndSysreg
1974
1975SysregFields TTBRx_EL1
1976Field	63:48	ASID
1977Field	47:1	BADDR
1978Field	0	CnP
1979EndSysregFields
1980
1981Sysreg	TTBR0_EL1	3	0	2	0	0
1982Fields	TTBRx_EL1
1983EndSysreg
1984
1985Sysreg	TTBR1_EL1	3	0	2	0	1
1986Fields	TTBRx_EL1
1987EndSysreg
1988
1989Sysreg	LORSA_EL1	3	0	10	4	0
1990Res0	63:52
1991Field	51:16	SA
1992Res0	15:1
1993Field	0	Valid
1994EndSysreg
1995
1996Sysreg	LOREA_EL1	3	0	10	4	1
1997Res0	63:52
1998Field	51:48	EA_51_48
1999Field	47:16	EA_47_16
2000Res0	15:0
2001EndSysreg
2002
2003Sysreg	LORN_EL1	3	0	10	4	2
2004Res0	63:8
2005Field	7:0	Num
2006EndSysreg
2007
2008Sysreg	LORC_EL1	3	0	10	4	3
2009Res0	63:10
2010Field	9:2	DS
2011Res0	1
2012Field	0	EN
2013EndSysreg
2014
2015Sysreg	LORID_EL1	3	0	10	4	7
2016Res0	63:24
2017Field	23:16	LD
2018Res0	15:8
2019Field	7:0	LR
2020EndSysreg
2021
2022Sysreg	ISR_EL1	3	0	12	1	0
2023Res0	63:11
2024Field	10	IS
2025Field	9	FS
2026Field	8	A
2027Field	7	I
2028Field	6	F
2029Res0	5:0
2030EndSysreg
2031
2032Sysreg	ICC_NMIAR1_EL1	3	0	12	9	5
2033Res0	63:24
2034Field	23:0	INTID
2035EndSysreg
2036