Commit c0c5a8ea authored by Joey Gouly's avatar Joey Gouly Committed by Will Deacon
Browse files

arm64/sysreg: add system register POR_EL{0,1}

parent 41bb68fb
Loading
Loading
Loading
Loading
+13 −0
Original line number Diff line number Diff line
@@ -1039,6 +1039,19 @@

#define PIRx_ELx_PERM(idx, perm)	((perm) << ((idx) * 4))

/*
 * Permission Overlay Extension (POE) permission encodings.
 */
#define POE_NONE	UL(0x0)
#define POE_R		UL(0x1)
#define POE_X		UL(0x2)
#define POE_RX		UL(0x3)
#define POE_W		UL(0x4)
#define POE_RW		UL(0x5)
#define POE_XW		UL(0x6)
#define POE_RXW		UL(0x7)
#define POE_MASK	UL(0xf)

#define ARM64_FEATURE_FIELD_BITS	4

/* Defined for compatibility only, do not add new users. */
+12 −0
Original line number Diff line number Diff line
@@ -2555,6 +2555,18 @@ Sysreg PIR_EL2 3 4 10 2 3
Fields	PIRx_ELx
EndSysreg

Sysreg	POR_EL0		3	3	10	2	4
Fields	PIRx_ELx
EndSysreg

Sysreg	POR_EL1		3	0	10	2	4
Fields	PIRx_ELx
EndSysreg

Sysreg	POR_EL12	3	5	10	2	4
Fields	PIRx_ELx
EndSysreg

Sysreg	LORSA_EL1	3	0	10	4	0
Res0	63:52
Field	51:16	SA