<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/cpufreq/intel_pstate.c, branch linux-3.11.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.11.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.11.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2013-11-13T03:08:06Z</updated>
<entry>
<title>cpufreq / intel_pstate: Fix max_perf_pct on resume</title>
<updated>2013-11-13T03:08:06Z</updated>
<author>
<name>Dirk Brandewie</name>
</author>
<published>2013-10-15T18:06:14Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c1b9c53bba4b87365354cec96fa3ed76a6cae6d9'/>
<id>urn:sha1:c1b9c53bba4b87365354cec96fa3ed76a6cae6d9</id>
<content type='text'>
commit 52e0a509e5d6f902ec26bc2a8bb02b137dc453be upstream.

If the system is suspended while max_perf_pct is less than 100 percent
or no_turbo set policy-&gt;{min,max} will be set incorrectly with scaled
values which turn the scaled values into hard limits.

References: https://bugzilla.kernel.org/show_bug.cgi?id=61241
Reported-by: Patrick Bartels &lt;petzicus@googlemail.com&gt;
Signed-off-by: Dirk Brandewie &lt;dirk.j.brandewie@intel.com&gt;
Signed-off-by: Rafael J. Wysocki &lt;rafael.j.wysocki@intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>cpufreq / intel_pstate: Change to scale off of max P-state</title>
<updated>2013-07-23T02:18:28Z</updated>
<author>
<name>Dirk Brandewie</name>
</author>
<published>2013-07-18T15:48:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2134ed4d614349b2b4e8d7bb593baa9179b8dd1e'/>
<id>urn:sha1:2134ed4d614349b2b4e8d7bb593baa9179b8dd1e</id>
<content type='text'>
Change to using max P-state instead of max turbo P-state.  This
change resolves two issues.

On a quiet system intel_pstate can fail to respond to a load change.

On CPU SKUs that have a limited number of P-states and no turbo range
intel_pstate fails to select the highest available P-state.

This change is suitable for stable v3.9+

References: https://bugzilla.kernel.org/show_bug.cgi?id=59481
Reported-and-tested-by: Arjan van de Ven &lt;arjan@linux.intel.com&gt;
Reported-and-tested-by: dsmythies@telus.net
Signed-off-by: Dirk Brandewie &lt;dirk.j.brandewie@intel.com&gt;
Acked-by: Viresh Kumar &lt;viresh.kumar@linaro.org&gt;
Cc: 3.9+ &lt;stable@vger.kernel.org&gt;
Signed-off-by: Rafael J. Wysocki &lt;rafael.j.wysocki@intel.com&gt;
</content>
</entry>
<entry>
<title>cpufreq: delete __cpuinit usage from all cpufreq files</title>
<updated>2013-07-14T23:36:57Z</updated>
<author>
<name>Paul Gortmaker</name>
</author>
<published>2013-06-19T17:54:04Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2760984f6578d5a462155bb4727766d0c8b68387'/>
<id>urn:sha1:2760984f6578d5a462155bb4727766d0c8b68387</id>
<content type='text'>
The __cpuinit type of throwaway sections might have made sense
some time ago when RAM was more constrained, but now the savings
do not offset the cost and complications.  For example, the fix in
commit 5e427ec2d0 ("x86: Fix bit corruption at CPU resume time")
is a good example of the nasty type of bugs that can be created
with improper use of the various __init prefixes.

After a discussion on LKML[1] it was decided that cpuinit should go
the way of devinit and be phased out.  Once all the users are gone,
we can then finally remove the macros themselves from linux/init.h.

This removes all the drivers/cpufreq uses of the __cpuinit macros
from all C files.

[1] https://lkml.org/lkml/2013/5/20/589

[v2: leave 2nd lines of args misaligned as requested by Viresh]
Cc: "Rafael J. Wysocki" &lt;rjw@sisk.pl&gt;
Cc: Viresh Kumar &lt;viresh.kumar@linaro.org&gt;
Cc: cpufreq@vger.kernel.org
Cc: linux-pm@vger.kernel.org
Acked-by: Dirk Brandewie &lt;dirk.j.brandewie@intel.com&gt;
Acked-by: Viresh Kumar &lt;viresh.kumar@linaro.org&gt;
Signed-off-by: Paul Gortmaker &lt;paul.gortmaker@windriver.com&gt;
</content>
</entry>
<entry>
<title>cpufreq / intel_pstate: Add additional supported CPU ID</title>
<updated>2013-05-21T22:28:44Z</updated>
<author>
<name>Dirk Brandewie</name>
</author>
<published>2013-05-17T16:10:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c96d53d600643ee0adfd1cb90814bd9510e62b71'/>
<id>urn:sha1:c96d53d600643ee0adfd1cb90814bd9510e62b71</id>
<content type='text'>
Add CPU ID for Ivybrigde processor.

Signed-off-by: Dirk Brandewie &lt;dirk.j.brandewie@intel.com&gt;
Signed-off-by: Rafael J. Wysocki &lt;rafael.j.wysocki@intel.com&gt;
</content>
</entry>
<entry>
<title>cpufreq / intel_pstate: use vzalloc() instead of vmalloc()/memset(0)</title>
<updated>2013-05-13T23:39:28Z</updated>
<author>
<name>Wei Yongjun</name>
</author>
<published>2013-05-13T08:03:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b57ffac5e57bff33dde3cff35dff5c41876a6d12'/>
<id>urn:sha1:b57ffac5e57bff33dde3cff35dff5c41876a6d12</id>
<content type='text'>
Use vzalloc() instead of vmalloc() and memset(0).

Signed-off-by: Wei Yongjun &lt;yongjun_wei@trendmicro.com.cn&gt;
Acked-by: Viresh Kumar &lt;viresh.kumar@linaro.org&gt;
Acked-by: Dirk Brandewie &lt;dirk.j.brandewie@intel.com&gt;
Signed-off-by: Rafael J. Wysocki &lt;rafael.j.wysocki@intel.com&gt;
</content>
</entry>
<entry>
<title>cpufreq / intel_pstate: remove #ifdef MODULE compile fence</title>
<updated>2013-05-12T12:04:17Z</updated>
<author>
<name>Dirk Brandewie</name>
</author>
<published>2013-05-07T15:20:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=35363e943f2b0aa503e1dd55f894f736563e85a3'/>
<id>urn:sha1:35363e943f2b0aa503e1dd55f894f736563e85a3</id>
<content type='text'>
The driver can no longer be built as a module remove the compile fence
around cpufreq tracing call.

Signed-off-by: Dirk Brandewie &lt;dirk.j.brandewie@intel.com&gt;
Signed-off-by: Rafael J. Wysocki &lt;rafael.j.wysocki@intel.com&gt;
</content>
</entry>
<entry>
<title>cpufreq / intel_pstate: Remove idle mode PID</title>
<updated>2013-05-12T12:04:17Z</updated>
<author>
<name>Dirk Brandewie</name>
</author>
<published>2013-05-07T15:20:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a73108d578559c83e35fa386a4058142a019b8d4'/>
<id>urn:sha1:a73108d578559c83e35fa386a4058142a019b8d4</id>
<content type='text'>
Remove dead code from the driver.

Signed-off-by: Dirk Brandewie &lt;dirk.j.brandewie@intel.com&gt;
Signed-off-by: Rafael J. Wysocki &lt;rafael.j.wysocki@intel.com&gt;
</content>
</entry>
<entry>
<title>cpufreq / intel_pstate: fix ffmpeg regression</title>
<updated>2013-05-12T12:04:16Z</updated>
<author>
<name>Dirk Brandewie</name>
</author>
<published>2013-05-07T15:20:27Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ca182aee389f8026401510f4c63841cb02c820e8'/>
<id>urn:sha1:ca182aee389f8026401510f4c63841cb02c820e8</id>
<content type='text'>
The ffmpeg benchmark in the phoronix test suite has threads on
multiple cores that rely on the progress on of threads on other cores
and ping pong back and forth fast enough to make the core appear less
busy than it "should" be.  If the core has been at minimum p-state for
a while bump the pstate up to kick the core to see if it is in this
ping pong state.  If the core is truly idle the p-state will be
reduced at the next sample time.  If the core makes more progress it
will send more work to the thread bringing both threads out of the
ping pong scenario and the p-state will be selected normally.

This fixes a performance regression of approximately 30%

Cc: 3.9+ &lt;stable@vger.kernel.org&gt;
Signed-off-by: Dirk Brandewie &lt;dirk.j.brandewie@intel.com&gt;
Signed-off-by: Rafael J. Wysocki &lt;rafael.j.wysocki@intel.com&gt;
</content>
</entry>
<entry>
<title>cpufreq / intel_pstate: use lowest requested max performance</title>
<updated>2013-05-12T12:04:16Z</updated>
<author>
<name>Dirk Brandewie</name>
</author>
<published>2013-05-07T15:20:26Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d8f469e9cff3bc4a6317d923e9506be046aa7bdc'/>
<id>urn:sha1:d8f469e9cff3bc4a6317d923e9506be046aa7bdc</id>
<content type='text'>
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 &lt;srinivas.pandruvada@linux.intel.com&gt;
Cc: 3.9+ &lt;stable@vger.kernel.org&gt;
Signed-off-by: Dirk Brandewie &lt;dirk.j.brandewie@intel.com&gt;
Signed-off-by: Rafael J. Wysocki &lt;rafael.j.wysocki@intel.com&gt;
</content>
</entry>
<entry>
<title>cpufreq / intel_pstate: remove idle time and duration from sample and calculations</title>
<updated>2013-05-12T12:04:16Z</updated>
<author>
<name>Dirk Brandewie</name>
</author>
<published>2013-05-07T15:20:25Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1abc4b20b85b42e8573957e54b193385cf48b0d6'/>
<id>urn:sha1:1abc4b20b85b42e8573957e54b193385cf48b0d6</id>
<content type='text'>
Idle time is taken into account in the APERF/MPERF ratio calculation
there is no reason for the driver to track it seperately.  This
reduces the work in the driver and makes the code more readable.

Removal of the tracking of sample duration removes the possibility of
the divide by zero exception when the duration is sub 1us

References: https://bugzilla.kernel.org/show_bug.cgi?id=56691
Reported-by: Mike Lothian &lt;mike@fireburn.co.uk&gt;
Cc: 3.9+ &lt;stable@vger.kernel.org&gt;
Signed-off-by: Dirk Brandewie &lt;dirk.j.brandewie@intel.com&gt;
Signed-off-by: Rafael J. Wysocki &lt;rafael.j.wysocki@intel.com&gt;
</content>
</entry>
</feed>
