linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] powerpc/powernv: Reduce panic timeout from 180s to 10s
@ 2013-09-26 11:17 Anton Blanchard
  2013-10-01  8:39 ` Michael Ellerman
  0 siblings, 1 reply; 5+ messages in thread
From: Anton Blanchard @ 2013-09-26 11:17 UTC (permalink / raw)
  To: benh, paulus; +Cc: linuxppc-dev


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

Signed-off-by: Anton Blanchard <anton@samba.org>
---

Index: b/arch/powerpc/platforms/powernv/setup.c
===================================================================
--- a/arch/powerpc/platforms/powernv/setup.c
+++ 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();
 

^ permalink raw reply	[flat|nested] 5+ messages in thread
* [PATCH] powerpc/powernv: Reduce pseries panic timeout from 180s to 10s
@ 2014-04-30 21:20 Anton Blanchard
  2014-04-30 21:29 ` Paul Mackerras
  0 siblings, 1 reply; 5+ messages in thread
From: Anton Blanchard @ 2014-04-30 21:20 UTC (permalink / raw)
  To: benh, paulus, linuxppc-dev, Michael Ellerman

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

Signed-off-by: Anton Blanchard <anton@samba.org>
---
 arch/powerpc/platforms/powernv/setup.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/powerpc/platforms/powernv/setup.c b/arch/powerpc/platforms/powernv/setup.c
index 23aab41..a789307 100644
--- a/arch/powerpc/platforms/powernv/setup.c
+++ b/arch/powerpc/platforms/powernv/setup.c
@@ -39,6 +39,8 @@
 
 static void __init pnv_setup_arch(void)
 {
+	set_arch_panic_timeout(10, ARCH_PANIC_TIMEOUT);
+
 	/* Initialize SMP */
 	pnv_smp_init();
 
-- 
1.9.1

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

end of thread, other threads:[~2014-04-30 22:07 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-26 11:17 [PATCH] powerpc/powernv: Reduce panic timeout from 180s to 10s Anton Blanchard
2013-10-01  8:39 ` Michael Ellerman
2013-10-08 21:52   ` Scott Wood
2013-10-08 23:56     ` Anton Blanchard
  -- strict thread matches above, loose matches on Subject: below --
2014-04-30 21:20 [PATCH] powerpc/powernv: Reduce pseries " Anton Blanchard
2014-04-30 21:29 ` Paul Mackerras
2014-04-30 22:07   ` [PATCH] powerpc/powernv: Reduce " Anton Blanchard

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).