Message ID | 20220517182219.2171814-8-broonie@kernel.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | arm64/sysreg: More system register generation | expand |
On Tue, May 17, 2022 at 07:22:17PM +0100, Mark Brown wrote: > Convert DACR32_EL2 to automatic register generation as per DDI0487H.a, no > functional change. > > Signed-off-by: Mark Brown <broonie@kernel.org> > --- > arch/arm64/include/asm/sysreg.h | 1 - > arch/arm64/tools/sysreg | 20 ++++++++++++++++++++ > 2 files changed, 20 insertions(+), 1 deletion(-) > > diff --git a/arch/arm64/include/asm/sysreg.h b/arch/arm64/include/asm/sysreg.h > index c77e2310d189..e8e9040227f6 100644 > --- a/arch/arm64/include/asm/sysreg.h > +++ b/arch/arm64/include/asm/sysreg.h > @@ -552,7 +552,6 @@ > #define SYS_HFGITR_EL2 sys_reg(3, 4, 1, 1, 6) > #define SYS_TRFCR_EL2 sys_reg(3, 4, 1, 2, 1) > #define SYS_HCRX_EL2 sys_reg(3, 4, 1, 2, 2) > -#define SYS_DACR32_EL2 sys_reg(3, 4, 3, 0, 0) > #define SYS_HDFGRTR_EL2 sys_reg(3, 4, 3, 1, 4) > #define SYS_HDFGWTR_EL2 sys_reg(3, 4, 3, 1, 5) > #define SYS_HAFGRTR_EL2 sys_reg(3, 4, 3, 1, 6) > diff --git a/arch/arm64/tools/sysreg b/arch/arm64/tools/sysreg > index 3971e1fb6af4..543ba10f3dac 100644 > --- a/arch/arm64/tools/sysreg > +++ b/arch/arm64/tools/sysreg > @@ -325,6 +325,26 @@ Sysreg SMCR_EL2 3 4 1 2 6 > Fields SMCR_ELx > EndSysreg > > +Sysreg DACR32_EL2 3 4 3 0 0 > +Res0 63:32 > +Field 31:30 D15 > +Field 29:28 D14 > +Field 27:26 D13 > +Field 25:24 D12 > +Field 23:22 D11 > +Field 21:20 D10 > +Field 19:18 D9 > +Field 17:16 D8 > +Field 15:14 D7 > +Field 13:12 D6 > +Field 11:10 D5 > +Field 9:8 D4 > +Field 7:6 D3 > +Field 5:4 D2 > +Field 3:2 D1 > +Field 1:0 D0 > +EndSysreg These all look correct to me per ARM DDI 0487H.a pages D13-5338 to D13-5339: Reviewed-by: Mark Rutland <mark.rutland@arm.com> Mark. > + > Sysreg CONTEXTIDR_EL2 3 4 13 0 1 > Fields CONTEXTIDR_ELx > EndSysreg > -- > 2.30.2 >
diff --git a/arch/arm64/include/asm/sysreg.h b/arch/arm64/include/asm/sysreg.h index c77e2310d189..e8e9040227f6 100644 --- a/arch/arm64/include/asm/sysreg.h +++ b/arch/arm64/include/asm/sysreg.h @@ -552,7 +552,6 @@ #define SYS_HFGITR_EL2 sys_reg(3, 4, 1, 1, 6) #define SYS_TRFCR_EL2 sys_reg(3, 4, 1, 2, 1) #define SYS_HCRX_EL2 sys_reg(3, 4, 1, 2, 2) -#define SYS_DACR32_EL2 sys_reg(3, 4, 3, 0, 0) #define SYS_HDFGRTR_EL2 sys_reg(3, 4, 3, 1, 4) #define SYS_HDFGWTR_EL2 sys_reg(3, 4, 3, 1, 5) #define SYS_HAFGRTR_EL2 sys_reg(3, 4, 3, 1, 6) diff --git a/arch/arm64/tools/sysreg b/arch/arm64/tools/sysreg index 3971e1fb6af4..543ba10f3dac 100644 --- a/arch/arm64/tools/sysreg +++ b/arch/arm64/tools/sysreg @@ -325,6 +325,26 @@ Sysreg SMCR_EL2 3 4 1 2 6 Fields SMCR_ELx EndSysreg +Sysreg DACR32_EL2 3 4 3 0 0 +Res0 63:32 +Field 31:30 D15 +Field 29:28 D14 +Field 27:26 D13 +Field 25:24 D12 +Field 23:22 D11 +Field 21:20 D10 +Field 19:18 D9 +Field 17:16 D8 +Field 15:14 D7 +Field 13:12 D6 +Field 11:10 D5 +Field 9:8 D4 +Field 7:6 D3 +Field 5:4 D2 +Field 3:2 D1 +Field 1:0 D0 +EndSysreg + Sysreg CONTEXTIDR_EL2 3 4 13 0 1 Fields CONTEXTIDR_ELx EndSysreg
Convert DACR32_EL2 to automatic register generation as per DDI0487H.a, no functional change. Signed-off-by: Mark Brown <broonie@kernel.org> --- arch/arm64/include/asm/sysreg.h | 1 - arch/arm64/tools/sysreg | 20 ++++++++++++++++++++ 2 files changed, 20 insertions(+), 1 deletion(-)