[PATCH] powerpc/64s/perf: Always use SIAR for kernel interrupts
Michael Ellerman
patch-notifications at ellerman.id.au
Wed Aug 18 23:38:14 AEST 2021
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 sample indication is not in synch with SIAR.
>
> This results in better sampling of interrupt entry and exit in particular.
Applied to powerpc/next.
[1/1] powerpc/64s/perf: Always use SIAR for kernel interrupts
https://git.kernel.org/powerpc/c/cf9c615cde49fb5d2480549c8c955a0a387798d3
cheers
More information about the Linuxppc-dev
mailing list