Skip to contentSkip to conversation

Patch "intel_pstate: Add get_scaling cpu_defaults param to Knights Landing" has been added to the 4.1-stable tree

PATCH [email protected] 1 participant 1 message Aug 8, 2015

Subsystems (3)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

intel_pstate: Add get_scaling cpu_defaults param to Knights Landing

to the 4.1-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:
intel_pstate-add-get_scaling-cpu_defaults-param-to-knights-landing.patch
and it can be found in the queue-4.1 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 69cefc273f942bd7bb347a02e8b5b738d5f6e6f3 Mon Sep 17 00:00:00 2001

From: Lukasz Anaczkowski <[email protected]>
Date: Tue, 21 Jul 2015 10:41:13 +0200
Subject: intel_pstate: Add get_scaling cpu_defaults param to Knights Landing

From: Lukasz Anaczkowski <[email protected]>

commit 69cefc273f942bd7bb347a02e8b5b738d5f6e6f3 upstream.

Scaling for Knights Landing is same as the default scaling (100000). When Knigts Landing support was added to the pstate driver, this parameter was omitted resulting in a kernel panic during boot.

---
 drivers/cpufreq/intel_pstate.c |    1 +
 1 file changed, 1 insertion(+)
drivers/cpufreq/intel_pstate.c +1 -0
@@ -678,6 +678,7 @@ static struct cpu_defaults knl_params =
 		.get_max = core_get_max_pstate,
 		.get_min = core_get_min_pstate,
 		.get_turbo = knl_get_turbo_pstate,
+		.get_scaling = core_get_scaling,
 		.set = core_set_pstate,
 	},
 };

Patches currently in stable-queue which might be from [email protected] are

queue-4.1/intel_pstate-add-get_scaling-cpu_defaults-param-to-knights-landing.patch