diff options
| author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2026-08-05 14:15:31 +0200 |
|---|---|---|
| committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2026-08-15 19:08:20 +0200 |
| commit | c659fa329ea25baa6f8ab01e73d9bc925911c4b2 (patch) | |
| tree | dec494a591f19e75d7be3796dfe1f50bedb7f0a7 /samples/workqueue | |
| parent | 3bff8f8e95fdc6ad19c8a1a8f87029094747e4bf (diff) | |
| download | linux-stable-c659fa329ea25baa6f8ab01e73d9bc925911c4b2.tar.gz linux-stable-c659fa329ea25baa6f8ab01e73d9bc925911c4b2.zip | |
cpufreq: intel_pstate: Consolidate HWP P-states initialization
After previous changes, intel_pstate_hybrid_hwp_adjust() does not do
much and its name and kerneldoc comment (which is not really necessary
because the function is static) have become a bit confusing. Moreover,
the initialization of P-states on systems with HWP enabled is divided
between it and a direct conditional statement branch in
intel_pstate_get_cpu_pstates() which is not super-easy to follow.
Address this by introducing intel_pstate_get_hwp_pstates() for the
entire HWP-specific initialization of P-states and moving the code from
intel_pstate_hybrid_hwp_adjust() into it along with some HWP-related
code from intel_pstate_get_cpu_pstates().
No intentional functional impact.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Link: https://patch.msgid.link/6021518.DvuYhMxLoT@rafael.j.wysocki
Diffstat (limited to 'samples/workqueue')
0 files changed, 0 insertions, 0 deletions
