path: root/arch/powerpc/platforms/pseries/setup.c
diff options
authorAnton Blanchard <anton@samba.org>2011-11-30 00:23:16 +0000
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2011-12-08 14:02:24 +1100
commit549e88a134b3b393a4312e8d76628b9260eee57f (patch)
tree753fbc597df1b3771e75aa5fa75867c1a0672f45 /arch/powerpc/platforms/pseries/setup.c
parent90e8f57cf873188bc5cff445059ddeb72dc51d8c (diff)
powerpc/kdump: Delay before sending IPI on a system reset
If we enter the kdump code via system reset, wait a bit before sending the IPI to capture all secondary CPUs. Without it we race with the hypervisor that is issuing the system reset to each CPU. If the IPI gets there first the system reset oops output then shows the register state of the IPI handler which is not what we want. I took the opportunity to add defines for all the various delays we have. There's no need for cpu_relax when we are doing an mdelay, so remove them too. Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/platforms/pseries/setup.c')
0 files changed, 0 insertions, 0 deletions