Re: [Kgdb-bugreport] [PATCH v4 00/12] kgdb: Support late serial drivers; enable early debug w/ boot consoles

2020-05-19 Thread Daniel Thompson
On Thu, May 14, 2020 at 06:36:33PM +0200, Greg Kroah-Hartman wrote: > On Thu, May 14, 2020 at 09:34:26AM -0700, Doug Anderson wrote: > > > (though we must keep > > > changes to drivers/tty/serial/kgdboc alongside the kgdb changes). > > > > > > I can hoover them up but I'd need a solid set of acks a

Re: [Kgdb-bugreport] [PATCH v4 00/12] kgdb: Support late serial drivers; enable early debug w/ boot consoles

2020-05-19 Thread Daniel Thompson
On Thu, May 07, 2020 at 01:08:38PM -0700, Douglas Anderson wrote: > This whole pile of patches was motivated by me trying to get kgdb to > work properly on a platform where my serial driver ended up being hit > by the -EPROBE_DEFER virus (it wasn't practicing social distancing > from other drivers)

Re: [Kgdb-bugreport] [PATCH] kgdb: Avoid suspicious RCU usage warning

2020-05-19 Thread Daniel Thompson
On Thu, May 07, 2020 at 03:53:58PM -0700, Douglas Anderson wrote: > At times when I'm using kgdb I see a splat on my console about > suspicious RCU usage. I managed to come up with a case that could > reproduce this that looked like this: > > WARNING: suspicious RCU usage > 5.7.0-rc4+ #609 No

Re: [Kgdb-bugreport] [PATCH v2] kdb: Make the internal env 'KDBFLAGS' undefinable

2020-05-19 Thread Daniel Thompson
On Sat, May 16, 2020 at 05:26:06PM +0800, Wei Li wrote: > 'KDBFLAGS' is an internal variable of kdb, it is combined by 'KDBDEBUG' > and state flags. But the user can define an environment variable named > 'KDBFLAGS' too, so let's make it undefinable to avoid confusion. > > Signed-off-by: Wei Li >

Re: [Kgdb-bugreport] [PATCH v2] kdb: Make the internal env 'KDBFLAGS' undefinable

2020-05-19 Thread liwei (GF)
Hi Daniel, On 2020/5/19 19:40, Daniel Thompson wrote: > On Sat, May 16, 2020 at 05:26:06PM +0800, Wei Li wrote: >> 'KDBFLAGS' is an internal variable of kdb, it is combined by 'KDBDEBUG' >> and state flags. But the user can define an environment variable named >> 'KDBFLAGS' too, so let's make it u

Re: [Kgdb-bugreport] [RFC Patch v1 2/4] irqchip/gic-v3: Add support to handle SGI as pseudo NMI

2020-05-19 Thread Marc Zyngier
On 2020-05-13 11:02, Sumit Garg wrote: Hi Marc, On Tue, 5 May 2020 at 17:03, Sumit Garg wrote: On Tue, 5 May 2020 at 15:38, Marc Zyngier wrote: > > On 2020-05-05 05:09, Sumit Garg wrote: > > On Fri, 1 May 2020 at 18:33, Sumit Garg wrote: > > [...] > > > In case there are no major objections

[Kgdb-bugreport] [PATCH] kgdboc: Disable all the early code when kgdboc is a module

2020-05-19 Thread Douglas Anderson
When kgdboc is compiled as a module all of the "ekgdboc" and "kgdb_earlycon" code isn't useful and, in fact, breaks compilation. This is because early_param() isn't defined for modules and that's how this code gets configured. It turns out that this was broken by commit eae3e19ca930 ("kgdboc: Remo

Re: [Kgdb-bugreport] [PATCH] kgdboc: Disable all the early code when kgdboc is a module

2020-05-19 Thread Daniel Thompson
On Tue, May 19, 2020 at 08:44:02AM -0700, Douglas Anderson wrote: > When kgdboc is compiled as a module all of the "ekgdboc" and > "kgdb_earlycon" code isn't useful and, in fact, breaks compilation. > This is because early_param() isn't defined for modules and that's how > this code gets configured

Re: [Kgdb-bugreport] [PATCH] printk/kdb: Redirect printk messages into kdb in any context

2020-05-19 Thread Sergey Senozhatsky
On (20/05/18 11:21), Petr Mladek wrote: [..] > > > Is this guaranteed that we never execute this path from NMI? > > Good question! > > > Absolutely not. > > > > The execution context for kdb is pretty much unique... we are running a > > debug mode with all CPUs parked in a holding loop with inte