[PATCH] powerpc/powernv: Reduce panic timeout from 180s to 10s
We've already dropped the default pseries timeout to 10s, do the same for powernv. Signed-off-by: Anton Blanchard an...@samba.org --- arch/powerpc/platforms/powernv/setup.c | 2 ++ 1 file changed, 2 insertions(+) v2: fix the commit message as Paul pointed out 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 ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev
Re: [PATCH] powerpc/powernv: Reduce panic timeout from 180s to 10s
On Tue, 2013-10-01 at 18:39 +1000, Michael Ellerman wrote: On Thu, Sep 26, 2013 at 09:17:19PM +1000, Anton Blanchard wrote: 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 ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev
Re: [PATCH] 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. 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 ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev
Re: [PATCH] powerpc/powernv: Reduce panic timeout from 180s to 10s
On Thu, Sep 26, 2013 at 09:17:19PM +1000, Anton Blanchard wrote: 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 ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev
[PATCH] 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. Signed-off-by: Anton Blanchard an...@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(); ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev