powerpc/perf: Optimize clearing the pending PMI and remove WARNON for PMI check in powerpmu_disable
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.19.2 by commit 7e83af3dd4a3afca8f83ffde518cafd52f45b830, it was introduced in version v5.17 by commit 2c9ac51b850d84ee496b0a5d832ce66d411ae552. For more details please see the references link.