Patch "cpufreq: intel_pstate: Update pid_params.sample_rate_ns in pid_param_set()" has been added to the 4.9-stable tree
Subsystems (3)
This is a note to let you know that I've just added the patch titled
cpufreq: intel_pstate: Update pid_params.sample_rate_ns in pid_param_set()
to the 4.9-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
cpufreq-intel_pstate-update-pid_params.sample_rate_ns-in-pid_param_set.patch
and it can be found in the queue-4.9 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From foo@baz Thu Oct 5 10:28:31 CEST 2017
From: "Rafael J. Wysocki" <[email protected]>
Date: Sun, 12 Mar 2017 18:12:56 +0100
Subject: cpufreq: intel_pstate: Update pid_params.sample_rate_ns in pid_param_set()
From: "Rafael J. Wysocki" <[email protected]>
[ 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.
--- drivers/cpufreq/intel_pstate.c | 1 + 1 file changed, 1 insertion(+)
drivers/cpufreq/intel_pstate.c +1 -0
@@ -609,6 +609,7 @@ static void intel_pstate_hwp_set_online_static int pid_param_set (void *data,u64 val) { *(u32 *)data = val; + pid_params.sample_rate_ns = pid_params.sample_rate_ms *NSEC_PER_MSEC ;intel_pstate_reset_all_pid ();return 0 ; }
Patches currently in stable-queue which might be from [email protected] are
queue-4.9/cpufreq-intel_pstate-update-pid_params.sample_rate_ns-in-pid_param_set.patch