<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/tools/power/cpupower/Makefile, branch linux-4.7.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.7.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.7.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2016-04-28T14:02:29Z</updated>
<entry>
<title>cpupower: Add cpuidle parts into library</title>
<updated>2016-04-28T14:02:29Z</updated>
<author>
<name>Thomas Renninger</name>
</author>
<published>2016-04-28T13:24:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ac5a181d065d74fb6b213d538f743392f27bcdbd'/>
<id>urn:sha1:ac5a181d065d74fb6b213d538f743392f27bcdbd</id>
<content type='text'>
This more or less is a renaming and moving of functions and should not
introduce any functional change.

cpupower was built from cpufrequtils (which had a C library providing easy
access to cpu frequency platform info). In the meantime it got enhanced
by quite some neat cpuidle userspace tools.

Now the cpu idle functions have been separated and added to the cpupower.so
library.
So beside an already existing public header file:
cpufreq.h
cpupower now also exports these cpu idle functions in:
cpuidle.h

Here again pasted for better review of the interfaces:

======================================
int cpuidle_is_state_disabled(unsigned int cpu,
                                       unsigned int idlestate);
int cpuidle_state_disable(unsigned int cpu, unsigned int idlestate,
                                   unsigned int disable);
unsigned long cpuidle_state_latency(unsigned int cpu,
                                                unsigned int idlestate);
unsigned long cpuidle_state_usage(unsigned int cpu,
                                        unsigned int idlestate);
unsigned long long cpuidle_state_time(unsigned int cpu,
                                                unsigned int idlestate);
char *cpuidle_state_name(unsigned int cpu,
                                unsigned int idlestate);
char *cpuidle_state_desc(unsigned int cpu,
                                unsigned int idlestate);
unsigned int cpuidle_state_count(unsigned int cpu);

char *cpuidle_get_governor(void);
char *cpuidle_get_driver(void);

======================================

Signed-off-by: Thomas Renninger &lt;trenn@suse.com&gt;
Signed-off-by: Rafael J. Wysocki &lt;rafael.j.wysocki@intel.com&gt;
</content>
</entry>
<entry>
<title>cpupower: Provide STATIC variable in Makefile for debug builds</title>
<updated>2015-12-03T01:30:30Z</updated>
<author>
<name>Thomas Renninger</name>
</author>
<published>2015-12-01T16:14:14Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e51207f0030474958e59bbc7e002f169bdb05c50'/>
<id>urn:sha1:e51207f0030474958e59bbc7e002f169bdb05c50</id>
<content type='text'>
When working on cpupower code, you often want to compile library code into the
binary.

This allows to execute modified cpupower code, even with library changes
without doing "make install"

Signed-off-by: Thomas Renninger &lt;trenn@suse.com&gt;
Signed-off-by: Rafael J. Wysocki &lt;rafael.j.wysocki@intel.com&gt;
</content>
</entry>
<entry>
<title>Revert "cpupower Makefile change to help run the tool without 'make install'"</title>
<updated>2015-03-11T20:56:49Z</updated>
<author>
<name>Josh Boyer</name>
</author>
<published>2015-03-11T00:26:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b8ea351b0e154c9dc28609db58eddc6c2934c954'/>
<id>urn:sha1:b8ea351b0e154c9dc28609db58eddc6c2934c954</id>
<content type='text'>
This reverts commit 5c1de006e8e66b0be05be422416629e344c71652.

While the original commit makes it easier to run cpupower from the
local build directory, it also leaves the binary with a rather poor
rpath of './' in it after it is installed on a system via 'make install'.

This is considered bad practice and can cause cpupower to fail in
rpmbuild with the following error:

ERROR   0004: file '/usr/bin/cpupower' contains an insecure rpath './' in [./]
error: Bad exit status from /var/tmp/rpm-tmp.A6u26r (%install)
    Bad exit status from /var/tmp/rpm-tmp.A6u26r (%install)

Developers should be able to use LD_LIBRARY_PATH to achieve the same
effect and not introduce rpath into the binary.

Signed-off-by: Josh Boyer &lt;jwboyer@feoraproject.org&gt;
Signed-off-by: Rafael J. Wysocki &lt;rafael.j.wysocki@intel.com&gt;
</content>
</entry>
<entry>
<title>cpupower Makefile change to help run the tool without 'make install'</title>
<updated>2015-01-30T00:47:41Z</updated>
<author>
<name>sriram@marirs.net.in</name>
</author>
<published>2014-12-22T16:47:37Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5c1de006e8e66b0be05be422416629e344c71652'/>
<id>urn:sha1:5c1de006e8e66b0be05be422416629e344c71652</id>
<content type='text'>
The cpupower tool, when compiled against libcpupower.so fail's to run as
the linker file path's are missing during compilation. So added changes
in the Makefile to run cpupower tool, which helps us run the tool
without doing a 'make install'.

Signed-off-by: Sriram Raghunathan &lt;sriram@marirs.net.in&gt;
Acked-by: Thomas Renninger &lt;trenn@suse.de&gt;
Signed-off-by: Rafael J. Wysocki &lt;rafael.j.wysocki@intel.com&gt;
</content>
</entry>
<entry>
<title>Merge branches 'acpi-tools' and 'pm-tools'</title>
<updated>2014-06-03T21:13:34Z</updated>
<author>
<name>Rafael J. Wysocki</name>
</author>
<published>2014-06-03T21:13:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2e30baad228624e3868714af6ecab967c4445d4a'/>
<id>urn:sha1:2e30baad228624e3868714af6ecab967c4445d4a</id>
<content type='text'>
* acpi-tools:
  ACPI / tools: Introduce ec_access.c - tool to access the EC

* pm-tools:
  cpupower: Remove mc and smt power aware scheduler info/settings
  cpupower: cpupower info -b should return 0 on success, not the perf bias value
  cpupower: If root, try to load msr driver on x86 if /dev/cpu/0/msr is not available
  cpupower: Install recently added cpupower-idle-{set, info} manpages
  cpupower: Introduce idle state disable-by-latency and enable-all
  cpupower: Remove all manpages on make uninstall
  cpupower: Remove dead link to homepage, and update the targets built.
  cpupower: Rename cpufrequtils -&gt; cpupower, and libcpufreq -&gt; libcpupower.
  PM / tools: cpupower: add option to display values without round offs
  tools / power: turbostat: Drop temperature checks
</content>
</entry>
<entry>
<title>cpupower: Install recently added cpupower-idle-{set, info} manpages</title>
<updated>2014-05-16T22:36:36Z</updated>
<author>
<name>Thomas Renninger</name>
</author>
<published>2014-05-13T10:41:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=84baab91772b5aeec9040cb33de6a46738b1aba8'/>
<id>urn:sha1:84baab91772b5aeec9040cb33de6a46738b1aba8</id>
<content type='text'>
Signed-off-by: Thomas Renninger &lt;trenn@suse.de&gt;
Signed-off-by: Rafael J. Wysocki &lt;rafael.j.wysocki@intel.com&gt;
</content>
</entry>
<entry>
<title>cpupower: Remove all manpages on make uninstall</title>
<updated>2014-05-16T22:36:36Z</updated>
<author>
<name>Ramkumar Ramachandra</name>
</author>
<published>2014-05-13T10:41:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=706f4c1100e7131f2e8aa9552daba52fbf6b97cb'/>
<id>urn:sha1:706f4c1100e7131f2e8aa9552daba52fbf6b97cb</id>
<content type='text'>
Signed-off-by: Ramkumar Ramachandra &lt;artagnon@gmail.com&gt;
Signed-off-by: Thomas Renninger &lt;trenn@suse.de&gt;
Signed-off-by: Rafael J. Wysocki &lt;rafael.j.wysocki@intel.com&gt;
</content>
</entry>
<entry>
<title>cpufreq: Make linux-pm@vger.kernel.org official mailing list</title>
<updated>2014-04-30T23:15:32Z</updated>
<author>
<name>Viresh Kumar</name>
</author>
<published>2014-04-22T05:12:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=dec102aa9ac112d66133314815d20233c96ad749'/>
<id>urn:sha1:dec102aa9ac112d66133314815d20233c96ad749</id>
<content type='text'>
There has been confusion all the time about which mailing list to follow
for cpufreq activities, linux-pm@vger.kernel.org or cpufreq@vger.kernel.org.

Since patches sent to cpufreq@vger.kernel.org don't go to Patchwork
which is a maintenance workflow problem, make linux-pm@vger.kernel.org
the official mailing list for cpufreq stuff and remove all references
of cpufreq@vger.kernel.org from kernel source.

Later, we can request that the list be dropped entirely.

Signed-off-by: Viresh Kumar &lt;viresh.kumar@linaro.org&gt;
[rjw: Changelog]
Signed-off-by: Rafael J. Wysocki &lt;rafael.j.wysocki@intel.com&gt;
</content>
</entry>
<entry>
<title>cpupower: Add Haswell family 0x45 specific idle monitor to show PC8,9,10 states</title>
<updated>2013-07-04T23:52:19Z</updated>
<author>
<name>Thomas Renninger</name>
</author>
<published>2013-06-28T13:34:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7ee767b69b6885dd81bafaf1881c5028033a6177'/>
<id>urn:sha1:7ee767b69b6885dd81bafaf1881c5028033a6177</id>
<content type='text'>
This specific processor supports 3 new package sleep states.
Provide a monitor, so that the user can see their usage.

Signed-off-by: Thomas Renninger &lt;trenn@suse.de&gt;
Signed-off-by: Rafael J. Wysocki &lt;rafael.j.wysocki@intel.com&gt;
</content>
</entry>
<entry>
<title>cpupower: Introduce idle-set subcommand and C-state enabling/disabling</title>
<updated>2013-07-04T23:52:19Z</updated>
<author>
<name>Thomas Renninger</name>
</author>
<published>2013-06-28T13:34:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c4f3610eba69321b9cf35779cd67e68b5138cc16'/>
<id>urn:sha1:c4f3610eba69321b9cf35779cd67e68b5138cc16</id>
<content type='text'>
Example:

cpupower idle-set -d 3

will disable C-state 3 on all processors (set commands are active on
all CPUs by default), same as:

cpupower -c all idle-set -d 3

Signed-off-by: Thomas Renninger &lt;trenn@suse.de&gt;
Signed-off-by: Rafael J. Wysocki &lt;rafael.j.wysocki@intel.com&gt;
</content>
</entry>
</feed>
