[PATCH] powerpc/perf: Optimize clearing the pending PMI and remove WARN_ON for PMI check in power_pmu_disable

Michael Ellerman patch-notifications at ellerman.id.au
Mon Jul 4 21:32:06 AEST 2022


On Sun, 22 May 2022 19:52:56 +0530, Athira Rajeev wrote:
> commit 2c9ac51b850d ("powerpc/perf: Fix PMU callbacks to clear
> pending PMI before resetting an overflown PMC") added a new
> function "pmi_irq_pending" in hw_irq.h. This function is to check
> if there is a PMI marked as pending in Paca (PACA_IRQ_PMI).This is
> used in power_pmu_disable in a WARN_ON. The intention here is to
> provide a warning if there is PMI pending, but no counter is found
> overflown.
> 
> [...]

Applied to powerpc/next.

[1/1] powerpc/perf: Optimize clearing the pending PMI and remove WARN_ON for PMI check in power_pmu_disable
      https://git.kernel.org/powerpc/c/890005a7d98f7452cfe86dcfb2aeeb7df01132ce

cheers


More information about the Linuxppc-dev mailing list