summaryrefslogtreecommitdiff
path: root/drivers/vfio
diff options
context:
space:
mode:
authorGeoff Levand <geoff@infradead.org>2020-05-09 21:58:32 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-06-25 16:32:57 +0300
commit020d0e3730308ecd718974bcd557b020b0b04798 (patch)
tree45de7a82f7e0dc6bc9e7d9426a6ceff6f6806548 /drivers/vfio
parent45a4f5d392f8308652695f7e24b9697a09e2964b (diff)
downloadlinux-020d0e3730308ecd718974bcd557b020b0b04798.tar.xz
powerpc/ps3: Fix kexec shutdown hang
[ Upstream commit 126554465d93b10662742128918a5fc338cda4aa ] 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 Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/vfio')
0 files changed, 0 insertions, 0 deletions