diff options
| author | Dapeng Mi <[email protected]> | 2024-08-20 07:38:52 +0000 |
|---|---|---|
| committer | Peter Zijlstra <[email protected]> | 2024-10-07 07:28:43 +0000 |
| commit | 9f4a39757c81d532f64232702537c53ad4092a5e (patch) | |
| tree | 7c84da60e4e5b7a70e8e31bea575a023fb4580f5 /tools/testing/selftests/bpf/prog_tests/access_variable_array.c | |
| parent | x86/cpu/intel: Define helper to get CPU core native ID (diff) | |
| download | kernel-9f4a39757c81d532f64232702537c53ad4092a5e.tar.gz kernel-9f4a39757c81d532f64232702537c53ad4092a5e.zip | |
perf/x86/intel: Support hybrid PMU with multiple atom uarchs
The upcoming ARL-H hybrid processor contains 2 different atom uarchs
which have different PMU capabilities. To distinguish these atom uarchs,
CPUID.1AH.EAX[23:0] defines a native model ID which can be used to
uniquely identify the uarch of the core by combining with core type.
Thus a 3rd hybrid pmu type "hybrid_tiny" is defined to mark the 2nd
atom uarch. The helper find_hybrid_pmu_for_cpu() would compare the
hybrid pmu type and dynamically read core native id from cpu to identify
the corresponding hybrid pmu structure.
Signed-off-by: Dapeng Mi <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Reviewed-by: Kan Liang <[email protected]>
Tested-by: Yongwei Ma <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/access_variable_array.c')
0 files changed, 0 insertions, 0 deletions
