Re: [PATCH v2 03/13] firmware: google: Test spinlock on panic path to avoid lockups

2022-08-15 Thread Greg Kroah-Hartman
On Mon, Aug 08, 2022 at 12:37:46PM -0300, Guilherme G. Piccoli wrote: > Let me clarify / ask something: this series, for example, is composed as > a bunch of patches "centered" around the same idea, panic notifiers > improvements/fixes. But its patches belong to completely different > subsystems,

Re: [PATCH v2 03/13] firmware: google: Test spinlock on panic path to avoid lockups

2022-08-15 Thread Evan Green
On Tue, Jul 19, 2022 at 12:55 PM Guilherme G. Piccoli wrote: > > Currently the gsmi driver registers a panic notifier as well as > reboot and die notifiers. The callbacks registered are called in > atomic and very limited context - for instance, panic disables > preemption and local IRQs, also

Re: [PATCH v2 03/13] firmware: google: Test spinlock on panic path to avoid lockups

2022-08-15 Thread Guilherme G. Piccoli
On 08/08/2022 12:26, Greg Kroah-Hartman wrote: > [...] >> >> Ard / Greg, do you think you could get this patch through your -next (or >> -fixes) trees? Not sure which tree is the most common for picking GSMI >> stuff. > > Picking out an individual patch from a series with as many responses and >

Re: [PATCH v2 03/13] firmware: google: Test spinlock on panic path to avoid lockups

2022-08-15 Thread Greg Kroah-Hartman
On Mon, Aug 08, 2022 at 12:14:30PM -0300, Guilherme G. Piccoli wrote: > On 08/08/2022 02:07, Evan Green wrote: > > On Tue, Jul 19, 2022 at 12:55 PM Guilherme G. Piccoli > > wrote: > >> > >> Currently the gsmi driver registers a panic notifier as well as > >> reboot and die notifiers. The

Re: [PATCH v2 03/13] firmware: google: Test spinlock on panic path to avoid lockups

2022-08-15 Thread Guilherme G. Piccoli
On 08/08/2022 02:07, Evan Green wrote: > On Tue, Jul 19, 2022 at 12:55 PM Guilherme G. Piccoli > wrote: >> >> Currently the gsmi driver registers a panic notifier as well as >> reboot and die notifiers. The callbacks registered are called in >> atomic and very limited context - for instance,

Re: [PATCH v2 03/13] firmware: google: Test spinlock on panic path to avoid lockups

2022-08-15 Thread Guilherme G. Piccoli
On 19/07/2022 16:53, Guilherme G. Piccoli wrote: > Currently the gsmi driver registers a panic notifier as well as > reboot and die notifiers. The callbacks registered are called in > atomic and very limited context - for instance, panic disables > preemption and local IRQs, also all secondary

[PATCH v2 03/13] firmware: google: Test spinlock on panic path to avoid lockups

2022-07-20 Thread Guilherme G. Piccoli
Currently the gsmi driver registers a panic notifier as well as reboot and die notifiers. The callbacks registered are called in atomic and very limited context - for instance, panic disables preemption and local IRQs, also all secondary CPUs (not executing the panic path) are shutdown. With that