Re: [PATCH v2 1/5] perf/amd/ibs: Account interrupt for discarded samples

From: Peter Zijlstra

Date: Thu Feb 26 2026 - 08:07:42 EST


On Tue, Feb 24, 2026 at 01:41:54PM +0530, Ravi Bangoria wrote:
> Hi Michael,
>
> >> Add interrupt throttling accounting for below cases:
> >>
> >> o IBS Op PMU: A software filter (in addition to the hardware filter)
> >> drops samples whose load latency is below the user-specified
> >> threshold.
> >>
> >> o IBS Fetch PMU: Samples discarded due to the zero-RIP erratum (#1197).
> >>
> >> Although these samples are discarded, the NMI cost is still incurred, so
> >> they should be counted for interrupt throttling.
> >>
> >
> > Maybe worth tagging
> >
> > Fixes: 26db2e0c51fe83e1dd852c1321407835b481806e ("perf/x86/amd/ibs: Work around erratum #1197")
> > Fixes: d20610c19b4a22bc69085b7eb7a02741d51de30e ("perf/amd/ibs: Add support for OP Load Latency Filtering")
>
> Yes, makes sense.
>
> Ingo / Peter, Please let me know if you want me to respin.

I've added them. Thanks!