[PATCH openEuler-5.10 72/92] powerpc/perf: Fix power_pmu_disable to call clear_pmi_irq_pending only if PMI is pending