]> git.itanic.dy.fi Git - linux-stable/commit
cpufreq: intel_pstate: Update pid_params.sample_rate_ns in pid_param_set()
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sun, 12 Mar 2017 17:12:56 +0000 (18:12 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 8 Oct 2017 08:26:10 +0000 (10:26 +0200)
commitffb6a7637ce0b35c7c75574a007333db988ea806
tree3d721f2e807582273c4eb61766837d7bf9b4e5ef
parent27848be7eb758dec822f1ca1101fdbc8649182ac
cpufreq: intel_pstate: Update pid_params.sample_rate_ns in pid_param_set()

[ Upstream commit 6e7408acd04d06c04981c0c0fb5a2462b16fae4f ]

Fix the debugfs interface for PID tuning to actually update
pid_params.sample_rate_ns on PID parameters updates, as changing
pid_params.sample_rate_ms via debugfs has no effect now.

Fixes: a4675fbc4a7a (cpufreq: intel_pstate: Replace timers with utilization update callbacks)
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/cpufreq/intel_pstate.c