diff options
| author | Nicholas Piggin <[email protected]> | 2022-03-08 13:50:46 +0000 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2022-05-19 13:11:27 +0000 |
| commit | 804c0a166ffea628eb7ef72b9fd710883cb1fa8f (patch) | |
| tree | ce80ffed707d98661c28b31b4be35a6226d2cf84 /arch/powerpc/lib/code-patching.c | |
| parent | powerpc/rtas: Leave MSR[RI] enabled over RTAS call (diff) | |
| download | kernel-804c0a166ffea628eb7ef72b9fd710883cb1fa8f.tar.gz kernel-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 <[email protected]>
Reviewed-by: Laurent Dufour <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'arch/powerpc/lib/code-patching.c')
0 files changed, 0 insertions, 0 deletions
