summaryrefslogtreecommitdiff
path: root/Documentation/arm/Samsung-S3C24XX/USB-Host.txt
diff options
context:
space:
mode:
authorMichael Neuling <mikey@neuling.org>2010-05-13 19:40:11 (GMT)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2010-05-21 07:31:11 (GMT)
commit60adec6226bbcf061d4c2d10944fced209d1847d (patch)
treeeab88076a6f7e3b617d03faac87e8366eb6789eb /Documentation/arm/Samsung-S3C24XX/USB-Host.txt
parent1fc711f7ffb01089efc58042cfdbac8573d1b59a (diff)
downloadlinux-fsl-qoriq-60adec6226bbcf061d4c2d10944fced209d1847d.tar.xz
powerpc/kdump: Fix race in kdump shutdown
When we are crashing, the crashing/primary CPU IPIs the secondaries to turn off IRQs, go into real mode and wait in kexec_wait. While this is happening, the primary tears down all the MMU maps. Unfortunately the primary doesn't check to make sure the secondaries have entered real mode before doing this. On PHYP machines, the secondaries can take a long time shutting down the IRQ controller as RTAS calls are need. These RTAS calls need to be serialised which resilts in the secondaries contending in lock_rtas() and hence taking a long time to shut down. We've hit this on large POWER7 machines, where some secondaries are still waiting in lock_rtas(), when the primary tears down the HPTEs. This patch makes sure all secondaries are in real mode before the primary tears down the MMU. It uses the new kexec_state entry in the paca. It times out if the secondaries don't reach real mode after 10sec. Signed-off-by: Michael Neuling <mikey@neuling.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'Documentation/arm/Samsung-S3C24XX/USB-Host.txt')
0 files changed, 0 insertions, 0 deletions