diff options
| author | Pawan Gupta <pawan.kumar.gupta@linux.intel.com> | 2024-12-11 22:57:30 -0800 |
|---|---|---|
| committer | Ingo Molnar <mingo@kernel.org> | 2025-02-27 13:34:52 +0100 |
| commit | b52aaeeadfac54c91005e044b72b62616a5864a9 (patch) | |
| tree | b5a8daadd69661a88b284e72260dc6fe0c3d8b6e /tools/perf/scripts/python | |
| parent | x86/cpu: Prefix hexadecimal values with 0x in cpu_debug_show() (diff) | |
| download | linux-b52aaeeadfac54c91005e044b72b62616a5864a9.tar.gz linux-b52aaeeadfac54c91005e044b72b62616a5864a9.zip | |
cpufreq: intel_pstate: Avoid SMP calls to get cpu-type
Intel pstate driver relies on SMP calls to get the cpu-type of a given CPU.
Remove the SMP calls and instead use the cached value of cpu-type which is
more efficient.
[ mingo: Forward ported it. ]
Suggested-by: Dave Hansen <dave.hansen@linux.intel.com>
Signed-off-by: Pawan Gupta <pawan.kumar.gupta@linux.intel.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Acked-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Dave Hansen <dave.hansen@linux.intel.com>
Link: https://lore.kernel.org/r/20241211-add-cpu-type-v5-2-2ae010f50370@linux.intel.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
