Skip to contentSkip to conversation

powerpc/powernv: Reduce panic timeout from 180s to 10s

PATCH In review Anton Blanchard 3 participants 4 messages Sep 26, 2013 – Oct 8, 2013 PowerPC

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 powerpc/powernv: Reduce panic timeout from 180s to 10s

We made this change to pseries in 2011 and I think it makes sense to do the same on powernv.

---

arch/powerpc/platforms/powernv/setup.c +2 -0
Index: b/arch/powerpc/platforms/powernv/setup.c
===================================================================
@@ -37,6 +37,8 @@
 
 static void __init pnv_setup_arch(void)
 {
+	panic_timeout = 10;
+
 	/* Initialize SMP */
 	pnv_smp_init();
 
#1 lore raw
Quoted 3 lines · Anton Blanchard

We made this change to pseries in 2011 and I think it makes sense to do the same on powernv.

I'd vote we set it to 10s for all 64-bit machines in arch/powerpc/kernel/setup_64.c.

cheers

#2 lore raw
Quoted 7 lines · Michael Ellerman
Quoted 3 lines · Anton Blanchard

We made this change to pseries in 2011 and I think it makes sense to do the same on powernv.

I'd vote we set it to 10s for all 64-bit machines in arch/powerpc/kernel/setup_64.c.

Why is 64-bit relevant? And wouldn't such a short delay be a problem if the crash is displayed on a monitor?

-Scott

#3 lore raw
Quoted 9 lines
Quoted 6 lines
Quoted 3 lines

We made this change to pseries in 2011 and I think it makes sense to do the same on powernv.

I'd vote we set it to 10s for all 64-bit machines in arch/powerpc/kernel/setup_64.c.

Why is 64-bit relevant? And wouldn't such a short delay be a problem if the crash is displayed on a monitor?

That is why we made it pseries specific in the past. Almost all our boxes are on a virtual console and the 3 minutes of pausing just hurt our uptimes.

If other platform maintainers prefer to keep the 3 minute pause, then we just change the PowerNV platform.

Anton