diff options
| author | Nicholas Piggin <[email protected]> | 2021-07-21 00:15:04 +1000 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2021-08-04 10:53:39 +1000 |
| commit | cf9c615cde49fb5d2480549c8c955a0a387798d3 (patch) | |
| tree | 896c680a6fad98416d7ba3e0f291d4dac96e6e21 /include/linux/pps_kernel.h | |
| parent | e9ef81e1079b0c4c374fba0f9affa7129c7c913b (diff) | |
powerpc/64s/perf: Always use SIAR for kernel interrupts
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.
Signed-off-by: Nicholas Piggin <[email protected]>
Tested-by: Athira Rajeev <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'include/linux/pps_kernel.h')
0 files changed, 0 insertions, 0 deletions