powerpc/perf: Fix powerpmudisable to call clearpmiirq_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.16.5 by commit fa4ad064a6bd49208221df5e62adf27b426d1720, it was introduced in version v5.16.3 by commit 215a90ce3754fe509efbce6b73a4bb643c7e7528. For more details please see the references link.