summaryrefslogtreecommitdiff
path: root/arch/openrisc/boot
diff options
context:
space:
mode:
authorGeoff Levand <geoff@infradead.org>2020-05-09 18:58:32 +0000
committerMichael Ellerman <mpe@ellerman.id.au>2020-05-19 00:10:35 +1000
commit126554465d93b10662742128918a5fc338cda4aa (patch)
treea3908fc5cd64fe3dbee6cc3080dcdc430c2ab294 /arch/openrisc/boot
parent720bc316690bd27dea9d71510b50f0cd698ffc32 (diff)
powerpc/ps3: Fix kexec shutdown hang
The ps3_mm_region_destroy() and ps3_mm_vas_destroy() routines are called very late in the shutdown via kexec's mmu_cleanup_all routine. By the time mmu_cleanup_all runs it is too late to use udbg_printf, and calling it will cause PS3 systems to hang. Remove all debugging statements from ps3_mm_region_destroy() and ps3_mm_vas_destroy() and replace any error reporting with calls to lv1_panic. With this change builds with 'DEBUG' defined will not cause kexec reboots to hang, and builds with 'DEBUG' defined or not will end in lv1_panic if an error is encountered. Signed-off-by: Geoff Levand <geoff@infradead.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/7325c4af2b4c989c19d6a26b90b1fec9c0615ddf.1589049250.git.geoff@infradead.org
Diffstat (limited to 'arch/openrisc/boot')
0 files changed, 0 insertions, 0 deletions