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
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.