[PATCH] powerpc/imc-pmu: Fix IMC PMU code of using mutex in IRQs disabled section

Michael Ellerman patch-notifications at ellerman.id.au
Sun Jan 15 21:44:03 AEDT 2023


On Fri, 6 Jan 2023 12:21:57 +0530, Kajol Jain wrote:
> Current imc-pmu code triggers a WARNING with CONFIG_DEBUG_ATOMIC_SLEEP and
> CONFIG_PROVE_LOCKING enabled, while running a thread_imc event.
> 
> Command to trigger the warning:
> [command]# perf stat -e thread_imc/CPM_CS_FROM_L4_MEM_X_DPTEG/ sleep 5
> 
>  Performance counter stats for 'sleep 5':
> 
> [...]

Applied to powerpc/fixes.

[1/1] powerpc/imc-pmu: Fix IMC PMU code of using mutex in IRQs disabled section
      https://git.kernel.org/powerpc/c/76d588dddc459fefa1da96e0a081a397c5c8e216

cheers


More information about the Linuxppc-dev mailing list