]> git.karo-electronics.de Git - linux-beck.git/commit
intel_pstate: enable HWP per CPU
authorKristen Carlson Accardi <kristen@linux.intel.com>
Tue, 14 Jul 2015 16:46:23 +0000 (09:46 -0700)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 16 Jul 2015 21:51:27 +0000 (23:51 +0200)
commitba88d4338f226766f510e207911dde8c1875e072
treeb454a104e34e7425d6a7d39008b08ddfc67f5ae1
parent3a5f5b2e3b4ba165e342c4e969c7fa8d85be0d94
intel_pstate: enable HWP per CPU

HWP previously was only enabled at driver load time, on the boot
CPU, however, HWP must be enabled per package. Move the code to
enable HWP to the cpufreq driver init path so that it will be
called per CPU.

Signed-off-by: Kristen Carlson Accardi <kristen@linux.intel.com>
Tested-by: David Zhuang <david.zhuang@oracle.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/intel_pstate.c