amd-pstate fixes for 7.1 (2026-06-02)
* Fix a kdoc issue * Fix an issue setting performance state in EPP mode introduced earlier in the cycle from new 7.1 content -----BEGIN PGP SIGNATURE----- iQJHBAABCgAxFiEECwtuSU6dXvs5GA2aLRkspiR3AnYFAmofFnsTHHN1cGVybTFA a2VybmVsLm9yZwAKCRAtGSymJHcCdnUxEADH6N8YuF+NVJ+rx/v0YPouzeTPX9F9 UJ6MJgS2aIXpnWd3CmrH2CzhEu8/7oVW/5pRv6wMPdDM2NZnmazFwYZgRsRuW3uZ GrkCFO50sbBBZjt3p8qbiIa+qb3QHkC5+dDP8SHLK7H7UyVcL8bNeXMn1kItJYAk Dnckyrx2ZT9I2pWXUiL5H5IOUPXm3ncWT3B/k4NSI2HGoAONu41Nb91WMZnbMM50 r+kTejYF83c+HdxiUR70zwGHaeqenS4MibHsmeqU13MX2uqT5Mzj0W6b3f2tgsSo qE4/exiCufXNSJCsVNjUCZNY408SZ1MHow14T3aCWRsBb2ou1WNy9AYuteuC1bdM YoFHy2dcEFA0rg7hq6N5SeUGPhrZICCBk02VSDjXOQ82Dl5VXPEST7YmG5dvrll/ HSpcz0CFyD2swDRE4V5avzizJtLc0KtOKCdrqyVx3eh+5pKi5sOWhIM97ck/f7aV ZstHeYm//azficWslWc7orv9LwvgEg+FxInaEcS1/Oe0A3h5PqM/NNK33Fuiflio 8jW8NDNoHtAHOfmO98N3+Kl4/h0atvpPi8YfBUuLGgpQUabVM2flwPMmGW9du2JT b78kPNlmjaIC1DEW6KiGyTYVJJdEG4d+NUn5TlaSgkTJ362VJReWUevXkKat5dQQ fvFzOa0aSbSlmQ== =GCJw -----END PGP SIGNATURE----- Merge tag 'amd-pstate-v7.1-2026-06-02' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/superm1/linux Pull amd-pstate fixes for 7.1 (2026-06-02) from Mario Limonciello: "* Fix a kdoc issue * Fix an issue setting performance state in EPP mode introduced earlier in the cycle from new 7.1 content" * tag 'amd-pstate-v7.1-2026-06-02' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/superm1/linux: cpufreq/amd-pstate: Fix setting EPP in performance mode cpufreq/amd-pstate: drop stale @epp_cached kdoc
This commit is contained in:
commit
6100a82e34
2 changed files with 1 additions and 2 deletions
|
|
@ -1428,7 +1428,7 @@ ssize_t store_energy_performance_preference(struct cpufreq_policy *policy,
|
||||||
epp = cpudata->epp_default_dc;
|
epp = cpudata->epp_default_dc;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (cpudata->policy == CPUFREQ_POLICY_PERFORMANCE) {
|
if (epp > 0 && cpudata->policy == CPUFREQ_POLICY_PERFORMANCE) {
|
||||||
pr_debug("EPP cannot be set under performance policy\n");
|
pr_debug("EPP cannot be set under performance policy\n");
|
||||||
return -EBUSY;
|
return -EBUSY;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -84,7 +84,6 @@ struct amd_aperf_mperf {
|
||||||
* @hw_prefcore: check whether HW supports preferred core featue.
|
* @hw_prefcore: check whether HW supports preferred core featue.
|
||||||
* Only when hw_prefcore and early prefcore param are true,
|
* Only when hw_prefcore and early prefcore param are true,
|
||||||
* AMD P-State driver supports preferred core featue.
|
* AMD P-State driver supports preferred core featue.
|
||||||
* @epp_cached: Cached CPPC energy-performance preference value
|
|
||||||
* @policy: Cpufreq policy value
|
* @policy: Cpufreq policy value
|
||||||
* @suspended: If CPU core if offlined
|
* @suspended: If CPU core if offlined
|
||||||
* @epp_default_ac: Default EPP value for AC power source
|
* @epp_default_ac: Default EPP value for AC power source
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue