Re: [PATCH] notifier: Make atomic_notifiers use raw_spinlock

2020-11-30 Thread Daniel Bristot de Oliveira
On 11/22/20 9:19 PM, Valentin Schneider wrote: > Booting a recent PREEMPT_RT kernel (v5.10-rc3-rt7-rebase) on my arm64 Juno > leads to the idle task blocking on an RT sleeping spinlock down some > notifier path: > > [1.809101] BUG: scheduling while atomic: swapper/5/0/0x0002 > [1.8

Re: [PATCH] notifier: Make atomic_notifiers use raw_spinlock

2020-11-30 Thread Sebastian Andrzej Siewior
On 2020-11-30 10:09:41 [+], Valentin Schneider wrote: > FWIW, still squealing under v5.10-rc5-rt11. I could apply this into my current RT but it would be nice to get this applied upstream. Sebastian

Re: [PATCH] notifier: Make atomic_notifiers use raw_spinlock

2020-11-30 Thread Valentin Schneider
On 22/11/20 20:19, Valentin Schneider wrote: > Booting a recent PREEMPT_RT kernel (v5.10-rc3-rt7-rebase) on my arm64 Juno > leads to the idle task blocking on an RT sleeping spinlock down some > notifier path: > > [1.809101] BUG: scheduling while atomic: swapper/5/0/0x0002 > [1.80

Re: [PATCH] notifier: Make atomic_notifiers use raw_spinlock

2020-11-23 Thread Valentin Schneider
On 23/11/20 14:14, Peter Zijlstra wrote: > On Sun, Nov 22, 2020 at 08:19:04PM +, Valentin Schneider wrote: [...] >> Two points worth noting: >> >> 1) That this is conceptually the same issue as pointed out in: >>313c8c16ee62 ("PM / CPU: replace raw_notifier with atomic_notifier") >> 2) On

Re: [PATCH] notifier: Make atomic_notifiers use raw_spinlock

2020-11-23 Thread Peter Zijlstra
On Sun, Nov 22, 2020 at 08:19:04PM +, Valentin Schneider wrote: > Booting a recent PREEMPT_RT kernel (v5.10-rc3-rt7-rebase) on my arm64 Juno > leads to the idle task blocking on an RT sleeping spinlock down some > notifier path: > > [1.809101] BUG: scheduling while atomic: swapper/5/0/0x

[PATCH] notifier: Make atomic_notifiers use raw_spinlock

2020-11-22 Thread Valentin Schneider
Booting a recent PREEMPT_RT kernel (v5.10-rc3-rt7-rebase) on my arm64 Juno leads to the idle task blocking on an RT sleeping spinlock down some notifier path: [1.809101] BUG: scheduling while atomic: swapper/5/0/0x0002 [1.809116] Modules linked in: [1.809123] Preemption disab