Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

intel_pstate: Add get_scaling cpu_defaults param to Knights Landing

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.

Fixes: b34ef932d79a (intel_pstate: Knights Landing support)
Reported-by: Yasuaki Ishimatsu <yishimat@redhat.com>
Signed-off-by: Dasaratharaman Chandramouli <dasaratharaman.chandramouli@intel.com>
Signed-off-by: Lukasz Anaczkowski <lukasz.anaczkowski@intel.com>
Acked-by: Kristen Carlson Accardi <kristen@linux.intel.com>
Cc: 4.1+ <stable@vger.kernel.org> # 4.1+
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>

authored by

Lukasz Anaczkowski and committed by
Rafael J. Wysocki
69cefc27 cbfe8fa6

+1
+1
drivers/cpufreq/intel_pstate.c
··· 681 681 .get_max = core_get_max_pstate, 682 682 .get_min = core_get_min_pstate, 683 683 .get_turbo = knl_get_turbo_pstate, 684 + .get_scaling = core_get_scaling, 684 685 .set = core_set_pstate, 685 686 }, 686 687 };