Re: [RFC v4] debug: prevent entering debug mode on panic/exception.

2015-01-07 Thread Daniel Thompson
On 06/01/15 21:16, Andrew Morton wrote: > On Tue, 06 Jan 2015 15:31:31 + Daniel Thompson > wrote: > >> On 06/01/15 00:14, Andrew Morton wrote: >>> We appear to have forgotten to document panic_timeout. Sigh. >> >> I knew I'd seen it somewhere... >> >> Once its been sysctlised it ends up cal

Re: [RFC v4] debug: prevent entering debug mode on panic/exception.

2015-01-06 Thread Kiran Raparthy
On 7 January 2015 at 02:47, Andrew Morton wrote: > On Tue, 06 Jan 2015 15:25:51 + Daniel Thompson > wrote: > >> >> To avoid entering the debugger on panic/exception without any extra >> >> configuration, panic_timeout is being used which can be set via >> >> /proc/sys/kernel/panic at run tim

Re: [RFC v4] debug: prevent entering debug mode on panic/exception.

2015-01-06 Thread Andrew Morton
On Tue, 06 Jan 2015 15:25:51 + Daniel Thompson wrote: > >> To avoid entering the debugger on panic/exception without any extra > >> configuration, panic_timeout is being used which can be set via > >> /proc/sys/kernel/panic at run time and CONFIG_PANIC_TIMEOUT sets the > >> default > >> val

Re: [RFC v4] debug: prevent entering debug mode on panic/exception.

2015-01-06 Thread Andrew Morton
On Tue, 06 Jan 2015 15:31:31 + Daniel Thompson wrote: > On 06/01/15 00:14, Andrew Morton wrote: > > We appear to have forgotten to document panic_timeout. Sigh. > > I knew I'd seen it somewhere... > > Once its been sysctlised it ends up called "panic": > https://www.kernel.org/doc/Docum

Re: [RFC v4] debug: prevent entering debug mode on panic/exception.

2015-01-06 Thread Daniel Thompson
On 06/01/15 00:14, Andrew Morton wrote: > We appear to have forgotten to document panic_timeout. Sigh. I knew I'd seen it somewhere... Once its been sysctlised it ends up called "panic": https://www.kernel.org/doc/Documentation/sysctl/kernel.txt -- To unsubscribe from this list: send the line

Re: [RFC v4] debug: prevent entering debug mode on panic/exception.

2015-01-06 Thread Daniel Thompson
On 06/01/15 00:14, Andrew Morton wrote: > On Tue, 23 Dec 2014 18:08:29 +0530 Kiran Raparthy > wrote: > >> From: Colin Cross >> >> debug: prevent entering debug mode on panic/exception. >> >> On non-developer devices, kgdb prevents the device from rebooting >> after a panic. >> >> Incase of pani

Re: [RFC v4] debug: prevent entering debug mode on panic/exception.

2015-01-05 Thread Kiran Raparthy
Hi Andrew, On 6 January 2015 at 05:44, Andrew Morton wrote: > On Tue, 23 Dec 2014 18:08:29 +0530 Kiran Raparthy > wrote: > >> From: Colin Cross >> >> debug: prevent entering debug mode on panic/exception. >> >> On non-developer devices, kgdb prevents the device from rebooting >> after a panic.

Re: [RFC v4] debug: prevent entering debug mode on panic/exception.

2015-01-05 Thread Andrew Morton
On Tue, 23 Dec 2014 18:08:29 +0530 Kiran Raparthy wrote: > From: Colin Cross > > debug: prevent entering debug mode on panic/exception. > > On non-developer devices, kgdb prevents the device from rebooting > after a panic. > > Incase of panics and exceptions, to allow the device to reboot, p

[RFC v4] debug: prevent entering debug mode on panic/exception.

2014-12-23 Thread Kiran Raparthy
From: Colin Cross debug: prevent entering debug mode on panic/exception. On non-developer devices, kgdb prevents the device from rebooting after a panic. Incase of panics and exceptions, to allow the device to reboot, prevent entering debug mode to avoid getting stuck waiting for the user to in