Skip to content
Commit bf3f0c41 authored by Doug Smythies's avatar Doug Smythies Committed by Greg Kroah-Hartman
Browse files

cpufreq: intel_pstate: fix pstate limits enforcement for adjust_perf call back



[ Upstream commit f0a0fc10 ]

There is a loophole in pstate limit clamping for the intel_cpufreq CPU
frequency scaling driver (intel_pstate in passive mode), schedutil CPU
frequency scaling governor, HWP (HardWare Pstate) control enabled, when
the adjust_perf call back path is used.

Fix it.

Fixes: a365ab6b cpufreq: intel_pstate: Implement the ->adjust_perf() callback
Signed-off-by: default avatarDoug Smythies <dsmythies@telus.net>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent cbfd2768
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment