diff options
author | Yicong Yang <yangyicong@hisilicon.com> | 2024-12-10 17:15:21 +0300 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2024-12-10 18:57:24 +0300 |
commit | 32528b165ea1266ee25afe6a29be0107b3c5e76a (patch) | |
tree | 74ff9e0cff0b9d221eb6e376f4396a6ab846dbbe /tools/perf/scripts/python/gecko.py | |
parent | c192026ceea793a73d4b54ed46dc1cfeb21d3853 (diff) | |
download | linux-32528b165ea1266ee25afe6a29be0107b3c5e76a.tar.xz |
drivers/perf: hisi: Add a common function to retrieve topology from firmware
Currently each type of uncore PMU driver uses almost the same routine
and the same firmware interface (or properties) to retrieve the topology
information, then reset the unused IDs to -1. Extract the common parts
to the framework in hisi_uncore_pmu_init_topology().
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Yicong Yang <yangyicong@hisilicon.com>
Link: https://lore.kernel.org/r/20241210141525.37788-7-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