From: Dirk Brandewie Date: Tue, 7 May 2013 15:20:26 +0000 (-0700) Subject: cpufreq / intel_pstate: use lowest requested max performance X-Git-Tag: v3.10-rc2~15^2~4^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d8f469e9cff3bc4a6317d923e9506be046aa7bdc;p=pandora-kernel.git cpufreq / intel_pstate: use lowest requested max performance There are two ways that the maximum p-state can be clamped, via a policy change and via the sysfs file. The acpi-thermal driver adjusts the p-state policy in response to thermal events. These changes override the users settings at the moment. Use the lowest of the two requested values this ensures that we will not exceed the requested pstate from either mechanism. Reported-by: Srinivas Pandruvada Cc: 3.9+ Signed-off-by: Dirk Brandewie Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed