Re: [PATCH v1 1/2] soc/tegra: pmc: Turn powergates_lock into spinlock

2018-10-19 Thread Dmitry Osipenko
On 10/19/18 3:17 PM, Jon Hunter wrote: > > On 15/10/2018 14:52, Dmitry Osipenko wrote: >> On 10/15/18 3:52 PM, Jon Hunter wrote: >>> >>> On 30/08/18 19:36, Dmitry Osipenko wrote: This fixes splats like the one below if CONFIG_DEBUG_ATOMIC_SLEEP=y and machine (Tegra30) booted with SMP=n o

Re: [PATCH v1 1/2] soc/tegra: pmc: Turn powergates_lock into spinlock

2018-10-19 Thread Jon Hunter
On 15/10/2018 14:52, Dmitry Osipenko wrote: > On 10/15/18 3:52 PM, Jon Hunter wrote: >> >> On 30/08/18 19:36, Dmitry Osipenko wrote: >>> This fixes splats like the one below if CONFIG_DEBUG_ATOMIC_SLEEP=y >>> and machine (Tegra30) booted with SMP=n or all secondary CPU's are put >>> offline. >>>

Re: [PATCH v1 1/2] soc/tegra: pmc: Turn powergates_lock into spinlock

2018-10-15 Thread Dmitry Osipenko
On 10/15/18 3:52 PM, Jon Hunter wrote: > > On 30/08/18 19:36, Dmitry Osipenko wrote: >> This fixes splats like the one below if CONFIG_DEBUG_ATOMIC_SLEEP=y >> and machine (Tegra30) booted with SMP=n or all secondary CPU's are put >> offline. >> >> BUG: sleeping function called from invalid contex

Re: [PATCH v1 1/2] soc/tegra: pmc: Turn powergates_lock into spinlock

2018-10-15 Thread Jon Hunter
On 30/08/18 19:36, Dmitry Osipenko wrote: > This fixes splats like the one below if CONFIG_DEBUG_ATOMIC_SLEEP=y > and machine (Tegra30) booted with SMP=n or all secondary CPU's are put > offline. > > BUG: sleeping function called from invalid context at > kernel/locking/mutex.c:254 > in_atomi

Re: [PATCH v1 1/2] soc/tegra: pmc: Turn powergates_lock into spinlock

2018-10-15 Thread Dmitry Osipenko
On 8/30/18 9:36 PM, Dmitry Osipenko wrote: > This fixes splats like the one below if CONFIG_DEBUG_ATOMIC_SLEEP=y > and machine (Tegra30) booted with SMP=n or all secondary CPU's are put > offline. > > BUG: sleeping function called from invalid context at > kernel/locking/mutex.c:254 > in_atomic

[PATCH v1 1/2] soc/tegra: pmc: Turn powergates_lock into spinlock

2018-08-30 Thread Dmitry Osipenko
This fixes splats like the one below if CONFIG_DEBUG_ATOMIC_SLEEP=y and machine (Tegra30) booted with SMP=n or all secondary CPU's are put offline. BUG: sleeping function called from invalid context at kernel/locking/mutex.c:254 in_atomic(): 1, irqs_disabled(): 128, pid: 0, name: swapper/0 CPU