]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
[PATCH] powerpc: clear IPIs on kdump
authorHaren Myneni <hbabu@us.ibm.com>
Thu, 6 Apr 2006 03:10:18 +0000 (21:10 -0600)
committerPaul Mackerras <paulus@samba.org>
Sat, 22 Apr 2006 08:45:01 +0000 (18:45 +1000)
commit81bbbe92949b069c101e13d3acbd4bc7d088cb79
tree8417edecc09a954bc6bb2bd7b99d4a279535dd2b
parentd6c1a9081080c6c4658acf2a06d851feb2855933
[PATCH] powerpc: clear IPIs on kdump

In some crash scenarios, the kexec CPU is not responding to an IPI sent by
secondary CPU after init thread is forked, causing the system to drop into
xmon during kdump boot.  This problem can be reproduced each time when the
debugger is enabled and soft-reset is used to invoke kdump boot. The first
CPU sends an IPI - setting the IPI priority for all secondary cpus
(xics_cause_ipi()). But some CPUs will enter into the xmon via soft-reset,
i.e, not executing xics_ipi_action(). Hence, IPI is not cleared. When
exited from the debugger, one of these CPUs could become the primary kexec
CPU. Since the IPI is not cleared, causing this issue in kdump boot. This
patch clears and EOI IPI for kexec CPU as well before the kdump boot
started.

Signed-off-by: Haren Myneni <haren@us.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/pseries/xics.c