Re: [PATCH] perf/smmuv3: Don't trample existing events with global filter

From
Will Deacon <will@kernel.org>
Date
2021-06-11 16:15:53
Also in
linux-arm-kernel
Reply to
Robin Murphy, 2021-06-08
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
Thread (2 messages) 2 messages, 2 authors, last reply 2021-06-11
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help