]> git.baikalelectronics.ru Git - kernel.git/commit
arm64/sysreg: Define bits for previously RES1 fields in SCTLR_EL1
authorMark Brown <broonie@kernel.org>
Tue, 3 May 2022 17:02:26 +0000 (18:02 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Wed, 4 May 2022 14:30:28 +0000 (15:30 +0100)
commitf4153db824604c3fd34c1049e1e45d9a08e0fa32
treeb222abf51f04395c1dbe6557e8f51c13189577ec
parent34301f770e2260e3e7cc8f2133e60950ef48db51
arm64/sysreg: Define bits for previously RES1 fields in SCTLR_EL1

In older revisions of the architecture SCTLR_EL1 contained several RES1
fields but in DDI0487H.a these now all have assigned functions. In
preparation for automatically generating sysreg.h provide explicit
definitions for all these bits and use them in the INIT_SCTLR_EL1_ macros
where _RES1 was previously used.

There should be no functional change.

Signed-off-by: Mark Brown <broonie@kernel.org>
Reviewed-by: Mark Rutland <mark.rutland@arm.com>
Link: https://lore.kernel.org/r/20220503170233.507788-6-broonie@kernel.org
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/sysreg.h