aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/net/lib/py/utils.py
diff options
context:
space:
mode:
authorYicong Yang <[email protected]>2024-12-10 14:15:20 +0000
committerWill Deacon <[email protected]>2024-12-10 15:57:24 +0000
commitc192026ceea793a73d4b54ed46dc1cfeb21d3853 (patch)
treef68d6d2506edbd59c526f07e48e45f5a2bbe8d15 /tools/testing/selftests/net/lib/py/utils.py
parentdrivers/perf: hisi: Refactor the detection of associated CPUs (diff)
downloadkernel-c192026ceea793a73d4b54ed46dc1cfeb21d3853.tar.gz
kernel-c192026ceea793a73d4b54ed46dc1cfeb21d3853.zip
drivers/perf: hisi: Extract topology information to a separate structure
HiSilicon Uncore PMUs are identified by the IDs of the topology element on which the PMUs are located. Add a new separate struct hisi_pmu_toplogy to encapsulate this information. Add additional documentation on the meaning of each ID. - make sccl_id and sicl_id into a union since they're exclusive. It can also be accessed by scl_id if the SICL/SCCL distinction is not relevant - make index_id and sub_id signed so -1 may be used to indicate the PMU doesn't have this topology element or it could not be retrieved. This patch should have no functional changes. 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