[PATCHv2 1/2] arm64/relocate_kernel: remove redundant code
Will Deacon
will at kernel.org
Fri Sep 11 14:16:31 EDT 2020
On Fri, 28 Aug 2020 21:39:57 +0800, Pingfan Liu wrote:
> Kernel startup entry point requires disabling MMU and D-cache.
>
> As for kexec-reboot, taking a close look at "msr sctlr_el1, x12" in
> __cpu_soft_restart as the following:
>
> -1. booted at EL1
> The instruction is enough to disable MMU and I/D cache for
> EL1 regime.
>
> [...]
Applied to arm64 (for-next/boot), thanks!
[1/1] arm64/relocate_kernel: remove redundant code
https://git.kernel.org/arm64/c/72789a4a6a91
Cheers,
--
Will
https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev
More information about the linux-arm-kernel
mailing list