diff options
author | Christophe Leroy <christophe.leroy@csgroup.eu> | 2021-03-12 12:50:15 +0000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2021-03-29 13:22:03 +1100 |
commit | 0fc1e93481f67a49f67c9168b71842eeb0998b25 (patch) | |
tree | 7d2e62db7ac9b60cf9e481f1f826f6a11ec3c6ea /block | |
parent | 26c468860c32022ffe9caf16691764b77fb8eead (diff) | |
download | linux-0fc1e93481f67a49f67c9168b71842eeb0998b25.tar.bz2 |
powerpc/40x: Prepare for enabling MMU in critical exception prolog
In order the enable MMU early in exception prolog, implement
CONFIG_VMAP_STACK principles in critical exception prolog.
There is no intention to use CONFIG_VMAP_STACK on 40x,
but related code will be used to enable MMU early in exception
in a later patch.
Also address (critirq_ctx - PAGE_OFFSET) directly instead of
using tophys() in order to win one instruction.
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/3fd75ee54c48307119acdbf66cfea966c1463bbd.1615552866.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions