arm64: head.S: cleanup SCTLR_ELx initialization
authorMark Rutland <mark.rutland@arm.com>
Fri, 13 Nov 2020 12:49:24 +0000 (12:49 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Wed, 2 Dec 2020 19:44:03 +0000 (19:44 +0000)
commit2ffac9e3fdbd54be953e773f9deb08fc6a488a9f
tree31d7e51e7304f869b1fe6d044b434da47c735787
parentecbb11ab3ebc02763ec53489c9b1f983be9dc882
arm64: head.S: cleanup SCTLR_ELx initialization

Let's make SCTLR_ELx initialization a bit clearer by using meaningful
names for the initialization values, following the same scheme for
SCTLR_EL1 and SCTLR_EL2.

These definitions will be used more widely in subsequent patches.

There should be no functional change as a result of this patch.

Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: James Morse <james.morse@arm.com>
Cc: Will Deacon <will@kernel.org>
Link: https://lore.kernel.org/r/20201113124937.20574-5-mark.rutland@arm.com
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/sysreg.h
arch/arm64/kernel/head.S
arch/arm64/mm/proc.S