]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - arch/x86/include/asm/msr-index.h
intel_pstate: Add support for HWP
authorDirk Brandewie <dirk.j.brandewie@intel.com>
Thu, 6 Nov 2014 17:40:47 +0000 (09:40 -0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 11 Nov 2014 23:04:38 +0000 (00:04 +0100)
commit2f86dc4cddcb21290ca099e1dce2a53533c86e0b
tree4f713a464f066752b8f190fafe1d23bc37118d59
parent77873887729aaddec5cd27203a6ce8c4987733e4
intel_pstate: Add support for HWP

Add support of Hardware Managed Performance States (HWP) described in Volume 3
section 14.4 of the SDM.

With HWP enbaled intel_pstate will no longer be responsible for selecting P
states for the processor. intel_pstate will continue to register to
the cpufreq core as the scaling driver for CPUs implementing
HWP. In HWP mode intel_pstate provides three functions reporting
frequency to the cpufreq core, support for the set_policy() interface
from the core and maintaining the intel_pstate sysfs interface in
/sys/devices/system/cpu/intel_pstate.  User preferences expressed via
the set_policy() interface or the sysfs interface are forwared to the
CPU via the HWP MSR interface.

Signed-off-by: Dirk Brandewie <dirk.j.brandewie@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Documentation/cpu-freq/intel-pstate.txt
Documentation/kernel-parameters.txt
arch/x86/include/uapi/asm/msr-index.h
drivers/cpufreq/intel_pstate.c