Re: [PATCH] powerpc/imc-pmu: Revert nest_init_lock to being a mutex

2023-02-05 Thread Michael Ellerman
On Mon, 30 Jan 2023 12:44:01 +1100, Michael Ellerman wrote: > The recent commit 76d588dddc45 ("powerpc/imc-pmu: Fix use of mutex in > IRQs disabled section") fixed warnings (and possible deadlocks) in the > IMC PMU driver by converting the locking to use spinlocks. > > It also converted the

Re: [PATCH] powerpc/imc-pmu: Revert nest_init_lock to being a mutex

2023-01-30 Thread kajoljain
On 1/30/23 07:14, Michael Ellerman wrote: > The recent commit 76d588dddc45 ("powerpc/imc-pmu: Fix use of mutex in > IRQs disabled section") fixed warnings (and possible deadlocks) in the > IMC PMU driver by converting the locking to use spinlocks. > > It also converted the init-time

[PATCH] powerpc/imc-pmu: Revert nest_init_lock to being a mutex

2023-01-29 Thread Michael Ellerman
The recent commit 76d588dddc45 ("powerpc/imc-pmu: Fix use of mutex in IRQs disabled section") fixed warnings (and possible deadlocks) in the IMC PMU driver by converting the locking to use spinlocks. It also converted the init-time nest_init_lock to a spinlock, even though it's not used at