Skip to contentSkip to conversation

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

PATCH In review Anton Blanchard 2 participants 3 messages Apr 30, 2014 PowerPC

lore
Share & tools
lore
#0 lore raw

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

We've already dropped the default pseries timeout to 10s, do the same for powernv.

---
 arch/powerpc/platforms/powernv/setup.c | 2 ++
 1 file changed, 2 insertions(+)
arch/powerpc/platforms/powernv/setup.c +2 -0
index 23aab41..a789307 100644
@@ -39,6 +39,8 @@
 
 static void __init pnv_setup_arch(void)
 {
+	set_arch_panic_timeout(10, ARCH_PANIC_TIMEOUT);
+
 	/* Initialize SMP */
 	pnv_smp_init();
 
Signature · 1 line
1.9.1
#1 lore raw
Quoted 2 lines · Anton Blanchard

We've already dropped the default pseries timeout to 10s, do the same for powernv.

Why is there "pseries" in the patch subject rather than "powernv"?

Paul.

#2 lore raw

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

We've already dropped the default pseries timeout to 10s, do the same for powernv.

---
 arch/powerpc/platforms/powernv/setup.c | 2 ++
 1 file changed, 2 insertions(+)

v2: fix the commit message as Paul pointed out

arch/powerpc/platforms/powernv/setup.c +2 -0
index 23aab41..a789307 100644
@@ -39,6 +39,8 @@
 
 static void __init pnv_setup_arch(void)
 {
+	set_arch_panic_timeout(10, ARCH_PANIC_TIMEOUT);
+
 	/* Initialize SMP */
 	pnv_smp_init();
 
Signature · 1 line
1.9.1