# 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 
- List: linux-arm-kernel
- Page: https://ratatoskr.run/linux-arm-kernel/2021/06/6879867
- Thread: https://ratatoskr.run/linux-arm-kernel/2021/06/6879573/t.md

```text
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

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
```
