# Re: \[PATCH\] powerpc/perf: Fix PMU constraint check for EBB events

- From: Michael Ellerman \<hidden\>
- Date: 2021-04-10 14:29:51 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2021/04/9522024
- Thread: https://ratatoskr.run/linuxppc-dev/2021/04/9521969/t.md

```text
On Tue, 6 Apr 2021 12:16:01 -0400, Athira Rajeev wrote:
> The power PMU group constraints includes check for EBB events
> to make sure all events in a group must agree on EBB. This
> will prevent scheduling EBB and non-EBB events together.
> But in the existing check, settings for constraint mask and
> value is interchanged. Patch fixes the same.
> 
> Before the patch, PMU selftest "cpu_event_pinned_vs_ebb_test"
> fails with below in dmesg logs. This happens because EBB event
> gets enabled along with a non-EBB cpu event.
> 
> [...]

Applied to powerpc/next.

[1/1] powerpc/perf: Fix PMU constraint check for EBB events
      https://git.kernel.org/powerpc/c/10f8f96179ecc7f69c927f6d231f6d02736cea83

cheers
```
