summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2024-11-04 21:53:53 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2024-11-05 00:51:10 +0300
commit92447aa5f6e7fbad9427a3fd1bb9e0679c403206 (patch)
treea1694ebbe008f8528769a72b9c02f04274086b1c /tools/perf/scripts/python/task-analyzer.py
parenta97e293e077a3e8f41e8972e593b34d0052b9e25 (diff)
downloadlinux-92447aa5f6e7fbad9427a3fd1bb9e0679c403206.tar.xz
cpufreq: intel_pstate: Update asym capacity for CPUs that were offline initially
Commit 929ebc93ccaa ("cpufreq: intel_pstate: Set asymmetric CPU capacity on hybrid systems") overlooked a corner case in which some CPUs may be offline to start with and brought back online later, after the intel_pstate driver has been registered, so their asymmetric capacity will not be set. Address this by calling hybrid_update_capacity() in the CPU initialization path that is executed instead of the online path for those CPUs. Note that this asymmetric capacity update will be skipped during driver initialization and mode switches because hybrid_max_perf_cpu is NULL in those cases. Fixes: 929ebc93ccaa ("cpufreq: intel_pstate: Set asymmetric CPU capacity on hybrid systems") Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Link: https://patch.msgid.link/1913414.tdWV9SEqCh@rjwysocki.net
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions