diff options
author | Yicong Yang <yangyicong@hisilicon.com> | 2024-12-23 15:51:34 +0300 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2025-01-07 20:17:32 +0300 |
commit | 555c6e9b03c15edfd4020a8aa5ae7efc142c44e8 (patch) | |
tree | 77f7b8992597e52a6dcdec86156d10c941276b6e /tools/perf/scripts/python/gecko.py | |
parent | f3edf03a4c59e59e52c0c1fd958f64a76a038302 (diff) | |
download | linux-555c6e9b03c15edfd4020a8aa5ae7efc142c44e8.tar.xz |
drivers/perf: hisi: Set correct IRQ affinity for PMUs with no association
For PMUs with no association, the hisi_pmu->on_cpu is initialized
according to the NUMA locality but use a wrong CPU for the interrupt
affinity. The CPU selected from cpumask_local_spread() can be different
from the CPU by the cpuhp callback. Fix this by setting the IRQ affinity
to hisi_pmu->on_cpu.
Fixes: 6cd137088fdf ("drivers/perf: hisi: Refactor the detection of associated CPUs")
Signed-off-by: Yicong Yang <yangyicong@hisilicon.com>
Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Link: https://lore.kernel.org/r/20241223125134.57885-1-yangyicong@huawei.com
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions