diff options
| author | Yicong Yang <[email protected]> | 2024-12-23 12:51:34 +0000 |
|---|---|---|
| committer | Will Deacon <[email protected]> | 2025-01-07 17:17:32 +0000 |
| commit | 555c6e9b03c15edfd4020a8aa5ae7efc142c44e8 (patch) | |
| tree | 77f7b8992597e52a6dcdec86156d10c941276b6e /tools/testing/selftests/net/lib/py/utils.py | |
| parent | perf: imx9_perf: Introduce AXI filter version to refactor the driver and bett... (diff) | |
| download | kernel-555c6e9b03c15edfd4020a8aa5ae7efc142c44e8.tar.gz kernel-555c6e9b03c15edfd4020a8aa5ae7efc142c44e8.zip | |
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 <[email protected]>
Acked-by: Jonathan Cameron <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'tools/testing/selftests/net/lib/py/utils.py')
0 files changed, 0 insertions, 0 deletions
