diff options
author | Mark Rutland <mark.rutland@arm.com> | 2017-02-15 14:54:17 +0000 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2017-03-22 17:21:38 +0000 |
commit | d61c97a7773d0848b4bf5c4697855c7ce117362c (patch) | |
tree | f256b3718db37b886b7094b483067a5bb59c69c6 /Documentation/fb | |
parent | 3ad47d055aa88d9f4189253f5b5c485f4c4626b2 (diff) | |
download | linux-d61c97a7773d0848b4bf5c4697855c7ce117362c.tar.bz2 |
arm64: move !VHE work to end of el2_setup
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.
Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'Documentation/fb')
0 files changed, 0 insertions, 0 deletions