Re: [RFC v3] debug: prevent entering debug mode on errors

2014-12-07 Thread Kiran Raparthy
Hi Jason, On 1 December 2014 at 11:32, Kiran Raparthy wrote: > Hi Jason, > > On 27 November 2014 at 15:19, Daniel Thompson > wrote: >> On 26/11/14 17:45, Colin Cross wrote: >>> On Wed, Nov 26, 2014 at 1:14 AM, Kiran Raparthy >>> wrote: From: Colin Cross debug: prevent entering

Re: [RFC v3] debug: prevent entering debug mode on errors

2014-12-01 Thread Colin Cross
On Thu, Nov 27, 2014 at 1:49 AM, Daniel Thompson wrote: > On 26/11/14 17:45, Colin Cross wrote: >> The original patch was more useful as it allowed re-enabling break on >> panic on specific devices where you were trying to debug a >> reproducible issue. What about using a module_param similar to

Re: [RFC v3] debug: prevent entering debug mode on errors

2014-11-30 Thread Kiran Raparthy
Hi Jason, On 27 November 2014 at 15:19, Daniel Thompson wrote: > On 26/11/14 17:45, Colin Cross wrote: >> On Wed, Nov 26, 2014 at 1:14 AM, Kiran Raparthy >> wrote: >>> From: Colin Cross >>> >>> debug: prevent entering debug mode on errors >>> >>> On non-developer devices kgdb prevents CONFIG_P

Re: [RFC v3] debug: prevent entering debug mode on errors

2014-11-27 Thread Daniel Thompson
On 26/11/14 17:45, Colin Cross wrote: > On Wed, Nov 26, 2014 at 1:14 AM, Kiran Raparthy > wrote: >> From: Colin Cross >> >> debug: prevent entering debug mode on errors >> >> On non-developer devices kgdb prevents CONFIG_PANIC_TIMEOUT from rebooting >> the >> device after a panic. >> >> In case

Re: [RFC v3] debug: prevent entering debug mode on errors

2014-11-26 Thread Colin Cross
On Wed, Nov 26, 2014 at 1:14 AM, Kiran Raparthy wrote: > From: Colin Cross > > debug: prevent entering debug mode on errors > > On non-developer devices kgdb prevents CONFIG_PANIC_TIMEOUT from rebooting the > device after a panic. > > In case of panics and exceptions, to honor CONFIG_PANIC_TIMEOU

Re: [RFC v3] debug: prevent entering debug mode on errors

2014-11-26 Thread Kiran Raparthy
On 26 November 2014 at 14:56, Daniel Thompson wrote: > On 26/11/14 09:14, Kiran Raparthy wrote: >> From: Colin Cross >> >> debug: prevent entering debug mode on errors >> >> On non-developer devices kgdb prevents CONFIG_PANIC_TIMEOUT from rebooting >> the >> device after a panic. >> >> In case o

Re: [RFC v3] debug: prevent entering debug mode on errors

2014-11-26 Thread Daniel Thompson
On 26/11/14 09:14, Kiran Raparthy wrote: > From: Colin Cross > > debug: prevent entering debug mode on errors > > On non-developer devices kgdb prevents CONFIG_PANIC_TIMEOUT from rebooting the > device after a panic. > > In case of panics and exceptions, to honor CONFIG_PANIC_TIMEOUT, prevent >

[RFC v3] debug: prevent entering debug mode on errors

2014-11-26 Thread Kiran Raparthy
From: Colin Cross debug: prevent entering debug mode on errors On non-developer devices kgdb prevents CONFIG_PANIC_TIMEOUT from rebooting the device after a panic. In case of panics and exceptions, to honor CONFIG_PANIC_TIMEOUT, prevent entering debug mode to avoid getting stuck waiting for the