On Tue, 8 Jun 2021 12:55:12 +0100, Robin Murphy wrote: > With global filtering, we only allow an event to be scheduled if its > filter settings exactly match those of any existing events, therefore > it is pointless to reapply the filter in that case. Much worse, though, > is that in doing that we trample the event type of counter 0 if it's > already active, and never touch the appropriate PMEVTYPERn so the new > event is likely not counting the right thing either. Don't do that. Applied to will (for-next/perf), thanks! [1/1] perf/smmuv3: Don't trample existing events with global filter https://git.kernel.org/will/c/4c1daba15c20 Cheers, -- Will https://fixes.arm64.dev https://next.arm64.dev https://will.arm64.dev