Ubuntu18.04: PowerNV - cpupower monitor will not work when cpu0 is offline
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
The Ubuntu-power-systems project |
Fix Released
|
High
|
Canonical Kernel Team | ||
linux (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Bionic |
Fix Released
|
High
|
Unassigned |
Bug Description
== Comment: #0 - Shriya R. Kulkarni <email address hidden> - 2018-01-16 04:58:48 ==
Problem Description :
=============
cpupower monitor fails to show stop states when cpu 0 is made offline.
Testing :
=====
root@ltc-
root@ltc-
WARNING: at least one cpu is offline
No HW Cstate monitors found
root@ltc-
WARNING: at least one cpu is offline
No HW Cstate monitors found
root@ltc-
root@ltc-
root@ltc-
PKG |CORE|CPU | snoo | stop | stop | stop | stop
0| 12| 12| 0.00| 0.00| 0.00| 0.00| 0.01
Details :
====
uname -a : Linux ltc-wspoon12 4.13.0-25-generic #29-Ubuntu SMP Mon Jan 8 21:15:55 UTC 2018 ppc64le ppc64le ppc64le GNU/Linux
OS : Ubuntu 18.04
Machine : Witherspoon ( DD2.1) and Boston (DD.01)
Patch :
====
Patch that fixes the issue : https:/
== Comment: #1 - VIPIN K. PARASHAR <email address hidden> - 2018-01-16 05:09:40 ==
(In reply to comment #0)
> Patch :
> ====
> Patch that fixes the issue :
> https:/
> ?id=dbdc468f35e
$ git log dbdc468f35ee827 -1
commit dbdc468f35ee827
Author: Abhishek Goel <email address hidden>
Date: Wed Nov 15 14:10:02 2017 +0530
cpupower : Fix cpupower working when cpu0 is offline
cpuidle_monitor used to assume that cpu0 is always online which is not
a valid assumption on POWER machines. This patch fixes this by getting
the cpu on which the current thread is running, instead of always using
cpu0 for monitoring which may not be online.
Signed-off-by: Abhishek Goel <email address hidden>
Signed-off-by: Shuah Khan <email address hidden>
$
Commit dbdc468f3 is available with 4.15-rc2 onwards.
tags: | added: architecture-ppc64le bugnameltc-163623 severity-high targetmilestone-inin1804 |
Changed in ubuntu: | |
assignee: | nobody → Ubuntu on IBM Power Systems Bug Triage (ubuntu-power-triage) |
affects: | ubuntu → linux (Ubuntu) |
Changed in ubuntu-power-systems: | |
status: | New → Triaged |
importance: | Undecided → High |
assignee: | nobody → Canonical Kernel Team (canonical-kernel-team) |
tags: | added: triage-g |
Changed in linux (Ubuntu): | |
importance: | Undecided → High |
Changed in ubuntu-power-systems: | |
status: | Triaged → In Progress |
Changed in ubuntu-power-systems: | |
status: | In Progress → Incomplete |
Changed in ubuntu-power-systems: | |
status: | Incomplete → In Progress |
Changed in linux (Ubuntu Bionic): | |
status: | In Progress → Fix Released |
Changed in ubuntu-power-systems: | |
status: | In Progress → Fix Released |
I built a test kernel with commit dbdc468f35ee827c. The test kernel can be downloaded from: kernel. ubuntu. com/~jsalisbury /lp1743541
http://
Can you test this kernel and see if it resolves this bug?