powerpc/perf: Fix power_pmu_disable to call clear_pmi_irq_pending only if PMI is pending
This is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven. This ID is fixed in Linux Kernel version v5.10.96 by commit 55402a4618721f350a9ab660bb42717d8aa18e7c, it was introduced in version v5.10.94 by commit ef798cd035f316a537fee8ed170c127f12407085. For more details please see the references link.