Re: [PATCH] powerpc/64s/perf: Always use SIAR for kernel interrupts

2021-08-18 Thread Michael Ellerman
On Wed, 21 Jul 2021 00:15:04 +1000, Nicholas Piggin wrote: > If an interrupt is taken in kernel mode, always use SIAR for it rather than > looking at regs_sipr. This prevents samples piling up around interrupt > enable (hard enable or interrupt replay via soft enable) in PMUs / modes > where the PR

Re: [PATCH] powerpc/64s/perf: Always use SIAR for kernel interrupts

2021-07-20 Thread Athira Rajeev
> On 20-Jul-2021, at 7:45 PM, Nicholas Piggin wrote: > > If an interrupt is taken in kernel mode, always use SIAR for it rather than > looking at regs_sipr. This prevents samples piling up around interrupt > enable (hard enable or interrupt replay via soft enable) in PMUs / modes > where the P

[PATCH] powerpc/64s/perf: Always use SIAR for kernel interrupts

2021-07-20 Thread Nicholas Piggin
If an interrupt is taken in kernel mode, always use SIAR for it rather than looking at regs_sipr. This prevents samples piling up around interrupt enable (hard enable or interrupt replay via soft enable) in PMUs / modes where the PR sample indication is not in synch with SIAR. This results in bett