cpufreq: intel_pstate: Enable EAS on hybrid platforms without SMT
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest7 patches 10 repliesIn review
- v18 patches 17 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | cpufreq/sched: schedutil: Add helper for governor checksinclude/ kernel/ kernel/ +1 more | +19 | 0 replies | |
| 2/7 | cpufreq/sched: Move cpufreq-specific EAS checks to cpufreqdrivers/ include/ kernel/ | +39 | 6 replies | |
| 3/7 | PM: EM: Move CPU capacity check to em_adjust_new_capacity()kernel/ | +17 | 0 replies | |
| 4/7 | PM: EM: Introduce em_adjust_cpu_capacity()include/ kernel/ | +26 | 0 replies | |
| 5/7 | cpufreq: intel_pstate: EAS support for hybrid platformsdrivers/ | +113 | 0 replies | |
| 6/7 | cpufreq: intel_pstate: EAS: Increase cost for CPUs using L3 cachedrivers/ | +17 | 0 replies | |
| 7/7 | cpufreq: intel_pstate: Document hybrid processor supportDocumentation/ | +102 | 0 replies |
Reviews trailers per patch
5 of 7 patches have a Reviewed-by or Acked-by.
| Patch | Lukasz Luba | Christian Loehle | Dietmar Eggemann | Marek Szyprowski |
|---|---|---|---|---|
| 1/7 | R-b T-b | R-b | ||
| 2/7 | R-b T-b | R-b | T-b | |
| 3/7 | R-b | T-b | R-b | |
| 4/7 | R-b | T-b | R-b | |
| 5/7 | T-b | R-b | ||
| 6/7 | ||||
| 7/7 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.
Cover letter [PATCH v2 0/7] cpufreq: intel_pstate: Enable EAS on hybrid platforms without SMT
Hi Everyone,
This is a new (and most likely final) version of
https://lore.kernel.org/linux-pm/[email protected]/
The most significant difference between it and the above is that schedutil is now required for EAS to be enabled, like on the other platforms using EAS, which means that intel_pstate needs to operate in the passive mode in order to use it (the most straightforward way to switch it over to the passive mode is to write "passive" to /sys/devices/system/cpu/intel_pstate/status).
Accordingly, the changes that were needed for EAS to work without schedutil are not needed any more, so there is one patch less in the series because of that and patch [5/7] is simpler than its previous version because some changes made by it are not necessary any more.
Another patch that has been dropped is
https://lore.kernel.org/linux-pm/[email protected]/
because it didn't take CPU online into account properly and it is not essential for the current hardware anyway.
There is a new patch, [7/7], which adds CAS/EAS/hybrid support description to the intel_pstate admin-guide documentation.
The following paragraph from the original cover letter still applies:
"The underlying observation is that on the platforms targeted by these changes, Lunar Lake at the time of this writing, the "small" CPUs (E-cores), when run at the same performance level, are always more energy-efficient than the "big" or "performance" CPUs (P-cores). This means that, regardless of the scale- invariant utilization of a task, as long as there is enough spare capacity on E-cores, the relative cost of running it there is always lower."
The first 2 patches depend on the current cpufreq material queued up for 6.16 in linux-pm.git/linux-next (and in linux-next proper) and are not really depended on by the rest of the series, but I've decided to include them into this series because they have been slightly updated since the previous version, mostly to take review feedback into account (I'm going to queue them up for 6.16 shortly because they don't appear to be objectionable).
The next 2 patches (Energy Model code changes) were reviewed previously, but they are only needed because of patch [5/7].
Patch [5/7] has not changed much except that some changes made by the previous version have been dropped from it. Also its changelog has been updated. It causes perf domains to be registered per CPU and in addition to the primary cost component, which is related to the CPU type, there is a small component proportional to performance whose role is to help balance the load between CPUs of the same type.
The expected effect is still that the CPUs of the "low-cost" type will be preferred so long as there is enough spare capacity on any of them.
Patch [6/7] has been updated to walk all of the cache leaves and look for the ones with level equal to 3 because the check used in the previous version does not always work.
The documentation patch, [7/7], is new.
Please refer to the individual patch changelogs for details.
Thanks!