[PATCH 2/2] arm64: move !VHE work to end of el2_setup
Marc Zyngier
marc.zyngier at arm.com
Tue Mar 21 08:47:49 PDT 2017
On 15/02/17 14:54, Mark Rutland wrote:
> We only need to initialise sctlr_el1 if we're installing an EL2 stub, so
> we may as well defer this until we're doing so. Similarly, we can defer
> intialising CPTR_EL2 until then, as we do not access any trapped
> functionality as part of el2_setup.
>
> This patch modified el2_setup accordingly, allowing us to remove a
> branch and simplify the code flow.
>
> Signed-off-by: Mark Rutland <mark.rutland at arm.com>
> Cc: Catalin Marinas <catalin.marinas at arm.com>
> Cc: Marc Zyngier <marc.zyngier at arm.com>
> Cc: Will Deacon <will.deacon at arm.com>
Acked-by: Marc Zyngier <marc.zyngier at arm.com>
M.
--
Jazz is not dead. It just smells funny...
More information about the linux-arm-kernel
mailing list