+8
−2
Loading
mainline inclusion from mainline-v6.9-rc1 commit 81e15ca3e523a508d62806fe681c1d289361ca16 category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I9Q7QP CVE: NA Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=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:
Junhao He <hejunhao3@huawei.com>