The test kernel posted in comment #6 had the following commit from linux-next:
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=bdd21ddb919d28 powerpc/perf: Avoid spurious PMU interrupts after idle on Power9
That commit seems like it does the same thing as commit 09539f9, which you asked for in comment #7. Commit 09539f9 was added to mainline as of v4.13-rc4. Does that mean you no longer need commit bdd21ddb919d in linux-next?
The test kernel posted in comment #6 had the following commit from linux-next:
https:/ /git.kernel. org/pub/ scm/linux/ kernel/ git/next/ linux-next. git/commit/ ?id=bdd21ddb919 d28
powerpc/perf: Avoid spurious PMU interrupts after idle on Power9
That commit seems like it does the same thing as commit 09539f9, which you asked for in comment #7. Commit 09539f9 was added to mainline as of v4.13-rc4. Does that mean you no longer need commit bdd21ddb919d in linux-next?