diff options
| author | Yicong Yang <[email protected]> | 2024-12-10 14:15:21 +0000 |
|---|---|---|
| committer | Will Deacon <[email protected]> | 2024-12-10 15:57:24 +0000 |
| commit | 32528b165ea1266ee25afe6a29be0107b3c5e76a (patch) | |
| tree | 74ff9e0cff0b9d221eb6e376f4396a6ab846dbbe /tools/testing/selftests/net/lib/py/utils.py | |
| parent | drivers/perf: hisi: Extract topology information to a separate structure (diff) | |
| download | kernel-32528b165ea1266ee25afe6a29be0107b3c5e76a.tar.gz kernel-32528b165ea1266ee25afe6a29be0107b3c5e76a.zip | |
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 <[email protected]>
Signed-off-by: Yicong Yang <[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
