Re: [PATCH] powerpc/perf: Account for interrupts during PMC overflow for an invalid SIAR check

2020-08-20 Thread Michael Ellerman
On Thu, 6 Aug 2020 08:46:32 -0400, Athira Rajeev wrote: > Performance monitor interrupt handler checks if any counter has overflown > and calls `record_and_restart` in core-book3s which invokes > `perf_event_overflow` to record the sample information. > Apart from creating sample, perf_event_overfl

Re: [PATCH] powerpc/perf: Account for interrupts during PMC overflow for an invalid SIAR check

2020-08-06 Thread Alexey Kardashevskiy
On 06/08/2020 22:46, Athira Rajeev wrote: > Performance monitor interrupt handler checks if any counter has overflown > and calls `record_and_restart` in core-book3s which invokes > `perf_event_overflow` to record the sample information. > Apart from creating sample, perf_event_overflow also doe

[PATCH] powerpc/perf: Account for interrupts during PMC overflow for an invalid SIAR check

2020-08-06 Thread Athira Rajeev
Performance monitor interrupt handler checks if any counter has overflown and calls `record_and_restart` in core-book3s which invokes `perf_event_overflow` to record the sample information. Apart from creating sample, perf_event_overflow also does the interrupt and period checks via perf_event_acco