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

2022-07-04 Thread Michael Ellerman
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

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

2022-05-22 Thread Athira Rajeev
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.