diff options
author | Nicholas Piggin <npiggin@gmail.com> | 2022-03-08 23:50:46 +1000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2022-05-19 23:11:27 +1000 |
commit | 804c0a166ffea628eb7ef72b9fd710883cb1fa8f (patch) | |
tree | ce80ffed707d98661c28b31b4be35a6226d2cf84 /arch/powerpc/lib/code-patching.c | |
parent | 014b2e896cc8445fcc04636e69bf5f9e24281daa (diff) | |
download | linux-804c0a166ffea628eb7ef72b9fd710883cb1fa8f.tar.gz linux-804c0a166ffea628eb7ef72b9fd710883cb1fa8f.tar.bz2 linux-804c0a166ffea628eb7ef72b9fd710883cb1fa8f.zip |
powerpc/rtas: enture rtas_call is called with MMU enabled
rtas_call must not be called with the MMU disabled because in case
of rtas error, log_error is called which requires MMU enabled. Add
a test and warning for this.
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Reviewed-by: Laurent Dufour <ldufour@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220308135047.478297-14-npiggin@gmail.com
Diffstat (limited to 'arch/powerpc/lib/code-patching.c')
0 files changed, 0 insertions, 0 deletions