lp:~canonical-hwe-team/powertop/master-bzr

Created by Anthony Wong on 2015-08-17 and last modified on 2020-02-14
Get this branch:
bzr branch lp:~canonical-hwe-team/powertop/master-bzr

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Canonical Hardware Enablement
Project:
powertop
Status:
Development

Import details

Import Status: Reviewed

This branch is an import of the HEAD branch of the Git repository at https://github.com/fenrus75/powertop.git.

The next import is scheduled to run in 3 hours.

Last successful import was 2 hours ago.

Import started 2 hours ago on alnitak and finished 2 hours ago taking 20 seconds — see the log
Import started 8 hours ago on alnitak and finished 8 hours ago taking 20 seconds — see the log
Import started 14 hours ago on alnitak and finished 14 hours ago taking 25 seconds — see the log
Import started 20 hours ago on alnitak and finished 20 hours ago taking 20 seconds — see the log
Import started on 2020-02-16 on alnitak and finished on 2020-02-16 taking 20 seconds — see the log
Import started on 2020-02-16 on alnitak and finished on 2020-02-16 taking 20 seconds — see the log
Import started on 2020-02-15 on alnitak and finished on 2020-02-15 taking 20 seconds — see the log
Import started on 2020-02-15 on alnitak and finished on 2020-02-15 taking 20 seconds — see the log
Import started on 2020-02-15 on alnitak and finished on 2020-02-15 taking 20 seconds — see the log
Import started on 2020-02-15 on alnitak and finished on 2020-02-15 taking 20 seconds — see the log

Recent revisions

925. By Nivedita Swaminathan <email address hidden> on 2019-12-06

intel_cpus: Enable Comet Lake (Mobile) and Comet Lake (Desktop) support

Signed-off-by: Nivedita Swaminathan <email address hidden>

924. By Nivedita Swaminathan <email address hidden> on 2019-09-26

powertop.pot: Fix Project-Id-Version

Signed-off-by: Nivedita Swaminathan <email address hidden>

923. By Nivedita Swaminathan <email address hidden> on 2019-09-26

po: regenerate with new POT and strings

Signed-off-by: Nivedita Swaminathan <email address hidden>

922. By Nivedita Swaminathan <email address hidden> on 2019-09-26

wakeup.h: include limits.h

limits.h must be included to define PATH_MAX otherwise
build will fail on:

In file included from wakeup/wakeup_ethernet.cpp:45:0:
wakeup/wakeup_ethernet.h:35:16: error: 'PATH_MAX' was not declared in this scope
  char eth_path[PATH_MAX];

In file included from wakeup/wakeup_usb.cpp:45:0:
wakeup/wakeup_usb.h:35:16: error: 'PATH_MAX' was not declared in this scope
  char usb_path[PATH_MAX];

Fixes:
 - http://autobuild.buildroot.org/results/a0b3337cf4a827e6566f8b15b6bb180f0dcef7a3

Signed-off-by: Fabrice Fontaine <email address hidden>
Signed-off-by: Nivedita Swaminathan <email address hidden>

921. By Nivedita Swaminathan <email address hidden> on 2019-09-26

Make the wakeup toggle text clearer

The text is currenly "Enable" or "Disable", which makes
it seem like toggling is needed to get it in that state.
Instead the text should be "Enabled" or "Disabled" which
reflects the current state

Signed-off-by: Zane Zakraisek <email address hidden>
Signed-off-by: Nivedita Swaminathan <email address hidden>

920. By Gayatri Kammela <email address hidden> on 2019-09-26

src/parameters: fix: set the global parameter "global_power_override" to 1 to get power estimate

PowerTop gives power estimate to devices and processes under certain
conditions. However, due the parameter called "global_power_override"
which is set to 0, the condition to print the power estimate was never
met.Thus, PowerTop doesnt display power estimates.

To fix this issue, set the global parameter to 1 which will make the
condition true always.

Signed-off-by: Gayatri Kammela <email address hidden>

919. By Gayatri Kammela <email address hidden> on 2019-09-26

src/cpu/cpu.cpp: Bug fix: Increase the char buffer size in enumerate_cpus()

Function enumerate_cpus() fails to call handle_one_cpu() which is
responsible for populating supported cstates and pstates in a platform,
when get a line from /proc/cpuinfo is too big for the buffer's current
size of 1024.

In such scenario, since the cstates and pstates are zero, there
would be nothing to populate in "Idle stats" and Frequency stats", thus
leaving the tabs empty.

To fix up the issue, increase the buffer size to 4096.

Signed-off-by: Gayatri Kammela <email address hidden>

918. By Gayatri Kammela <email address hidden> on 2019-09-26

runtime_tunables: Add runtime pm enabling support for ahci

Add runtime pm enabling support for SATA/AHCI based systems. This patch
enables runtime pm for all the ports that are supported by SATA and the
disk.

Runtime pm enabling support for host i.e., SATA itself is already
included.

Signed-off-by: Gayatri Kammela <email address hidden>

917. By Gayatri Kammela <email address hidden> on 2019-09-26

src/tuning/tuning.cpp: fix: Update the size of tuned_data array

"Optimal Tuned Software Settings" is a section in the powertop report
shows all the settings that are tuned to GOOD. At present, this section
has multiple lines of whitespace at the end, which can confuse users as
if some data is missing.

Currently, the size of tuned_data array is set to size of all_tunables
and thus updating the size for the tuned_data array will remove the
whitespace.

Signed-off-by: Gayatri Kammela <email address hidden>

916. By Gayatri Kammela <email address hidden> on 2019-09-26

src/devices/ahci.cpp: fix: Remove the humanname from ahci_data array

Device stats tab reports humanname for ahci and the purpose of having
a humanname is to identify ahci data clearly in the powertop report.
However, the printf() that is responsible for printing the humanname
spams the device stats tab and tunables tab for every auto refresh of
the window.

To fix this glitch, remove the humanname from the ahci_data array.

Signed-off-by: Gayatri Kammela <email address hidden>

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.