aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-cmp.c
diff options
context:
space:
mode:
authorRob Herring <[email protected]>2022-04-08 15:33:30 -0500
committerWill Deacon <[email protected]>2022-04-13 11:48:45 +0100
commite5c23779f93d45e39a52758ca593bd7e62e9b4be (patch)
tree7ce2cf123703c332a9002a7cf7e542b7a4397b0f /lib/mpi/mpi-cmp.c
parentd02b4dd84e1a90f7f1444d027c0289bf355b0d5a (diff)
arm_pmu: Validate single/group leader events
In the case where there is only a cycle counter available (i.e. PMCR_EL0.N is 0) and an event other than CPU cycles is opened, the open should fail as the event can never possibly be scheduled. However, the event validation when an event is opened is skipped when the group leader is opened. Fix this by always validating the group leader events. Reported-by: Al Grant <[email protected]> Cc: Will Deacon <[email protected]> Cc: Mark Rutland <[email protected]> Signed-off-by: Rob Herring <[email protected]> Acked-by: Mark Rutland <[email protected]> Link: https://lore.kernel.org/r/[email protected] Cc: <[email protected]> Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions