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.15.19 by commit 28aaed966e76807a71de79dd40a8eee9042374dd, it was introduced in version v5.15.17 by commit fadcafa3959281ce2d96feedece8c75c3f95f8a5. For more details please see the references link.