Rob Herring (Arm) 90ebddded5 perf: arm_pmuv3: Avoid assigning fixed cycle counter with threshold
[ Upstream commit 81e15ca3e523a508d62806fe681c1d289361ca16 ]

If the user has requested a counting threshold for the CPU cycles event,
then the fixed cycle counter can't be assigned as it lacks threshold
support. Currently, the thresholds will work or not randomly depending
on which counter the event is assigned.

While using thresholds for CPU cycles doesn't make much sense, it can be
useful for testing purposes.

Fixes: 816c26754447 ("arm64: perf: Add support for event counting threshold")
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Link: https://lore.kernel.org/r/20240626-arm-pmu-3-9-icntr-v2-1-c9784b4f4065@kernel.org
Signed-off-by: Will Deacon <will@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-08-03 08:59:13 +02:00
..
2024-05-22 12:13:40 -07:00
2024-05-22 12:13:40 -07:00
2024-05-22 12:13:40 -07:00
2024-04-10 16:48:17 +01:00
2024-05-22 12:13:40 -07:00
2024-05-22 12:13:40 -07:00
2024-05-22 12:13:40 -07:00