linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 1/3] powerpc/crash: Remove the test for cpu_online in the IPI callback
@ 2017-12-15  1:27 Balbir Singh
  2017-12-15  1:27 ` [PATCH v3 2/3] powerpc/powernv: Identify scom driven system reset Balbir Singh
  2017-12-15  1:27 ` [PATCH v3 3/3] powernv/kdump: Fix cases where the kdump kernel can get HMI's Balbir Singh
  0 siblings, 2 replies; 9+ messages in thread
From: Balbir Singh @ 2017-12-15  1:27 UTC (permalink / raw)
  To: linuxppc-dev; +Cc: mpe, npiggin, Balbir Singh

Our check was extra cautious, we've audited crash_send_ipi
and it sends an IPI only to online CPU's. Removal of this
check should have not functional impact on crash kdump.

Signed-off-by: Balbir Singh <bsingharora@gmail.com>
---
 arch/powerpc/kernel/crash.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/arch/powerpc/kernel/crash.c b/arch/powerpc/kernel/crash.c
index cbabb5adccd9..29c56ca2ddfd 100644
--- a/arch/powerpc/kernel/crash.c
+++ b/arch/powerpc/kernel/crash.c
@@ -69,9 +69,6 @@ static void crash_ipi_callback(struct pt_regs *regs)
 
 	int cpu = smp_processor_id();
 
-	if (!cpu_online(cpu))
-		return;
-
 	hard_irq_disable();
 	if (!cpumask_test_cpu(cpu, &cpus_state_saved)) {
 		crash_save_cpu(regs, cpu);
-- 
2.13.6

^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2017-12-15  4:47 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-15  1:27 [PATCH v3 1/3] powerpc/crash: Remove the test for cpu_online in the IPI callback Balbir Singh
2017-12-15  1:27 ` [PATCH v3 2/3] powerpc/powernv: Identify scom driven system reset Balbir Singh
2017-12-15  2:44   ` Nicholas Piggin
2017-12-15  2:54     ` Balbir Singh
2017-12-15  2:58       ` Nicholas Piggin
2017-12-15  1:27 ` [PATCH v3 3/3] powernv/kdump: Fix cases where the kdump kernel can get HMI's Balbir Singh
2017-12-15  3:10   ` Nicholas Piggin
2017-12-15  3:34     ` Balbir Singh
2017-12-15  4:47       ` Nicholas Piggin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).