]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: head.S: rename el2_setup -> init_kernel_el
authorMark Rutland <mark.rutland@arm.com>
Fri, 13 Nov 2020 12:49:23 +0000 (12:49 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Wed, 2 Dec 2020 19:44:03 +0000 (19:44 +0000)
commitfa60ba1cb6b63e09d78258ac876e217dff2eb5f6
tree84e27abbba48076f30487ea077669d6cf4694f3a
parenta23bc6840a0ea935ed653e0fb935c588e764d2d7
arm64: head.S: rename el2_setup -> init_kernel_el

For a while now el2_setup has performed some basic initialization of EL1
even when the kernel is booted at EL1, so the name is a little
misleading. Further, some comments are stale as with VHE it doesn't drop
the CPU to EL1.

To clarify things, rename el2_setup to init_kernel_el, and update
comments to be clearer as to the function's purpose.

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-4-mark.rutland@arm.com
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/kernel/head.S
arch/arm64/kernel/sleep.S