]> git.baikalelectronics.ru Git - kernel.git/commit
cpufreq: amd_pstate: map desired perf into pstate scope for powersave governor
authorPerry Yuan <Perry.Yuan@amd.com>
Sun, 14 Aug 2022 16:35:46 +0000 (00:35 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 31 Aug 2022 19:05:38 +0000 (21:05 +0200)
commit928a761c59dc2587cd889132f4b7e9010590f400
treeb5b8ec755b2ac2a5eaccacd7f234ca2ce540245a
parent533ad35c7dbc8149771cdaf2452e9a11e5b6c4d8
cpufreq: amd_pstate: map desired perf into pstate scope for powersave governor

The patch will fix the invalid desired perf value for powersave
governor. This issue is found when testing on one AMD EPYC system, the
actual des_perf is smaller than the min_perf value, that is invalid
value. because the min_perf is the lowest_perf system can support in
idle state.

Reviewed-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Perry Yuan <Perry.Yuan@amd.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/amd-pstate.c