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)
commit56eb621b8ab6c1d36e9eb6e75367ec49ba482f1a
treeb222abf51f04395c1dbe6557e8f51c13189577ec
parente4e6a9d5593c18b637668ac70ea1bfa868b5c210
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