cpufreq/intel_pstate: Use CPPC to get max performance
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 22 Nov 2016 20:24:00 +0000 (12:24 -0800)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 24 Nov 2016 19:44:20 +0000 (20:44 +0100)
commit17669006adf64d35a74cb21e3c8dfb6fb8be689f
treec7dbd479e6558c47c95a128b78864f9e0a9b10b0
parent8b533a0eeefc5861cea57163dd3cec2798a77f6c
cpufreq/intel_pstate: Use CPPC to get max performance

Use the acpi cppc_lib interface to get CPPC performance limits and update
the per cpu priority for the ITMT scheduler. If the highest performance of
CPUs differs the ITMT feature is enabled.

Co-developed-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Tim Chen <tim.c.chen@linux.intel.com>
Cc: linux-pm@vger.kernel.org
Cc: peterz@infradead.org
Cc: jolsa@redhat.com
Cc: rjw@rjwysocki.net
Cc: linux-acpi@vger.kernel.org
Cc: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Cc: bp@suse.de
Link: http://lkml.kernel.org/r/0998b98943bcdec7d1ddd4ff27358da555ea8e92.1479844244.git.tim.c.chen@linux.intel.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
drivers/cpufreq/Kconfig.x86
drivers/cpufreq/intel_pstate.c