2018-05-17 09:20:24 |
bugproxy |
bug |
|
|
added bug |
2018-05-17 09:20:26 |
bugproxy |
tags |
|
architecture-ppc64le bugnameltc-167913 severity-critical targetmilestone-inin1804 |
|
2018-05-17 09:20:28 |
bugproxy |
attachment added |
|
dmesg log is attached https://bugs.launchpad.net/bugs/1771780/+attachment/5140717/+files/dmesg.txt |
|
2018-05-17 09:20:29 |
bugproxy |
ubuntu: assignee |
|
Ubuntu on IBM Power Systems Bug Triage (ubuntu-power-triage) |
|
2018-05-17 09:20:33 |
bugproxy |
affects |
ubuntu |
linux (Ubuntu) |
|
2018-05-17 09:31:51 |
Andrew Cloke |
bug task added |
|
ubuntu-power-systems |
|
2018-05-17 09:32:12 |
Andrew Cloke |
ubuntu-power-systems: assignee |
|
Canonical Kernel Team (canonical-kernel-team) |
|
2018-05-17 09:32:20 |
Andrew Cloke |
ubuntu-power-systems: importance |
Undecided |
Critical |
|
2018-05-17 09:32:27 |
Andrew Cloke |
tags |
architecture-ppc64le bugnameltc-167913 severity-critical targetmilestone-inin1804 |
architecture-ppc64le bugnameltc-167913 severity-critical targetmilestone-inin1804 triage-g |
|
2018-05-21 14:16:41 |
Manoj Iyer |
linux (Ubuntu): assignee |
Ubuntu on IBM Power Systems Bug Triage (ubuntu-power-triage) |
Canonical Kernel Team (canonical-kernel-team) |
|
2018-05-21 14:16:45 |
Manoj Iyer |
linux (Ubuntu): importance |
Undecided |
Critical |
|
2018-05-21 14:17:14 |
Manoj Iyer |
tags |
architecture-ppc64le bugnameltc-167913 severity-critical targetmilestone-inin1804 triage-g |
architecture-ppc64le bugnameltc-167913 p9 severity-critical targetmilestone-inin1804 triage-g |
|
2018-05-21 14:17:30 |
Manoj Iyer |
ubuntu-power-systems: status |
New |
Triaged |
|
2018-05-21 17:35:48 |
Joseph Salisbury |
linux (Ubuntu): status |
New |
Triaged |
|
2018-05-21 17:35:56 |
Joseph Salisbury |
nominated for series |
|
Ubuntu Bionic |
|
2018-05-21 17:35:56 |
Joseph Salisbury |
bug task added |
|
linux (Ubuntu Bionic) |
|
2018-05-21 17:36:02 |
Joseph Salisbury |
linux (Ubuntu Bionic): status |
New |
Triaged |
|
2018-05-21 17:36:05 |
Joseph Salisbury |
linux (Ubuntu Bionic): importance |
Undecided |
Critical |
|
2018-05-21 17:42:34 |
Joseph Salisbury |
linux (Ubuntu Bionic): assignee |
|
Joseph Salisbury (jsalisbury) |
|
2018-05-21 17:42:39 |
Joseph Salisbury |
linux (Ubuntu): assignee |
Canonical Kernel Team (canonical-kernel-team) |
Joseph Salisbury (jsalisbury) |
|
2018-05-21 17:42:43 |
Joseph Salisbury |
linux (Ubuntu Bionic): status |
Triaged |
In Progress |
|
2018-05-21 17:42:46 |
Joseph Salisbury |
linux (Ubuntu): status |
Triaged |
In Progress |
|
2018-05-21 17:53:09 |
Joseph Salisbury |
nominated for series |
|
Ubuntu Cosmic |
|
2018-05-21 17:53:09 |
Joseph Salisbury |
bug task added |
|
linux (Ubuntu Cosmic) |
|
2018-05-21 17:53:09 |
Joseph Salisbury |
nominated for series |
|
Ubuntu Artful |
|
2018-05-21 17:53:09 |
Joseph Salisbury |
bug task added |
|
linux (Ubuntu Artful) |
|
2018-05-21 17:53:09 |
Joseph Salisbury |
nominated for series |
|
Ubuntu Xenial |
|
2018-05-21 17:53:09 |
Joseph Salisbury |
bug task added |
|
linux (Ubuntu Xenial) |
|
2018-05-21 17:53:19 |
Joseph Salisbury |
linux (Ubuntu Artful): importance |
Undecided |
Critical |
|
2018-05-21 17:53:21 |
Joseph Salisbury |
linux (Ubuntu Xenial): importance |
Undecided |
Critical |
|
2018-05-21 17:58:12 |
Joseph Salisbury |
bug task deleted |
linux (Ubuntu Artful) |
|
|
2018-05-21 17:58:26 |
Joseph Salisbury |
bug task deleted |
linux (Ubuntu Xenial) |
|
|
2018-05-23 17:32:43 |
Joseph Salisbury |
description |
== Comment: #0 - PAVAMAN SUBRAMANIYAM - 2018-05-16 04:07:59 ==
---Problem Description---
cpupower idle-info is not listing stop4 and stop5 idle states when all CORES are guarded
---uname output---
Linux ltc-wspoon11 4.15.0-20-generic #21-Ubuntu SMP Tue Apr 24 06:14:44 UTC 2018 ppc64le ppc64le ppc64le GNU/Linux
Machine Type = P9
---Debugger---
A debugger is not configured
---Steps to Reproduce---
Install a P9 Open Power Hardware with Ubuntu 18.04 OS.
root@ltc-wspoon11:~# uname -a
Linux ltc-wspoon11 4.15.0-20-generic #21-Ubuntu SMP Tue Apr 24 06:14:44 UTC 2018 ppc64le ppc64le ppc64le GNU/Linux
root@ltc-wspoon11:~# cat /etc/os-release
NAME="Ubuntu"
VERSION="18.04 LTS (Bionic Beaver)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 18.04 LTS"
VERSION_ID="18.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=bionic
UBUNTU_CODENAME=bionic
Then guard an entire processor and also guard all the CORES in the processor 0 except for 1 single core.
root@ltc-wspoon11:~# opal-gard list
ID | Error | Type | Path
-----------------------------------------------------------------------
00000001 | 00000000 | Manual | /Sys0/Node0/Proc0/EQ1/EX0/Core0
00000002 | 00000000 | Manual | /Sys0/Node0/Proc0/EQ1/EX0/Core1
00000003 | 00000000 | Manual | /Sys0/Node0/Proc1
00000004 | 00000000 | Manual | /Sys0/Node0/Proc0/EQ2/EX0/Core1
00000005 | 00000000 | Manual | /Sys0/Node0/Proc0/EQ2/EX0/Core0
00000006 | 00000000 | Manual | /Sys0/Node0/Proc0/EQ2/EX1/Core0
00000007 | 00000000 | Manual | /Sys0/Node0/Proc0/EQ2/EX1/Core1
00000008 | 00000000 | Manual | /Sys0/Node0/Proc0/EQ3/EX0/Core0
00000009 | 00000000 | Manual | /Sys0/Node0/Proc0/EQ3/EX0/Core1
0000000a | 00000000 | Manual | /Sys0/Node0/Proc0/EQ3/EX1/Core0
0000000b | 00000000 | Manual | /Sys0/Node0/Proc0/EQ3/EX1/Core1
0000000c | 00000000 | Manual | /Sys0/Node0/Proc0/EQ4/EX0/Core0
0000000d | 00000000 | Manual | /Sys0/Node0/Proc0/EQ4/EX0/Core1
0000000e | 00000000 | Manual | /Sys0/Node0/Proc0/EQ4/EX1/Core0
0000000f | 00000000 | Manual | /Sys0/Node0/Proc0/EQ4/EX1/Core1
00000010 | 00000000 | Manual | /Sys0/Node0/Proc0/EQ5/EX0/Core0
00000011 | 00000000 | Manual | /Sys0/Node0/Proc0/EQ5/EX0/Core1
00000012 | 00000000 | Manual | /Sys0/Node0/Proc0/EQ5/EX1/Core0
00000013 | 00000000 | Manual | /Sys0/Node0/Proc0/EQ5/EX1/Core1
00000014 | 00000000 | Manual | /Sys0/Node0/Proc0/EQ1/EX1/Core0
00000015 | 00000000 | Manual | /Sys0/Node0/Proc0/EQ1/EX1/Core1
00000016 | 00000000 | Manual | /Sys0/Node0/Proc0/EQ0/EX1/Core1
00000017 | 00000000 | Manual | /Sys0/Node0/Proc0/EQ0/EX1/Core0
=======================================================================
Then execute the cpupower idle-info command to check the idle states being shown in the OS.
root@ltc-wspoon11:~# cpupower idle-info
CPUidle driver: powernv_idle
CPUidle governor: menu
analyzing CPU 0:
Number of idle states: 7
Available idle states: snooze stop0_lite stop0 stop1_lite stop1 stop2_lite stop2
snooze:
Flags/Description: snooze
Latency: 0
Usage: 774653
Duration: 7698954
stop0_lite:
Flags/Description: stop0_lite
Latency: 1
Usage: 2751
Duration: 11363825
stop0:
Flags/Description: stop0
Latency: 2
Usage: 2343
Duration: 915084
stop1_lite:
Flags/Description: stop1_lite
Latency: 5
Usage: 20
Duration: 1533
stop1:
Flags/Description: stop1
Latency: 5
Usage: 1103
Duration: 1016794
stop2_lite:
Flags/Description: stop2_lite
Latency: 10
Usage: 5
Duration: 765
stop2:
Flags/Description: stop2
Latency: 10
Usage: 113729
Duration: 2850877810
Userspace tool common name: /usr/bin/cpupower
The userspace tool has the following bit modes: 64-bit
Userspace rpm: linux-tools-common
Userspace tool obtained from project website: na
== Comment: #8 - Akshay Adiga <aksadiga@in.ibm.com> - 2018-05-16 13:29:55 ==
Patch is posted on linux mailing list
https://patchwork.ozlabs.org/patch/914575/ |
== SRU Justification ==
During testing, IBM found that cpupower idle-info is not listing stop4 and
stop5 idle states when all CORES are guarded. A patch has been
submitted upstream by IBM. However, the patch has not landed in
linux-next or mainline as of yet. For that reason, this SRU request is
being sent as a SAUCE patch request.
== Fix ==
UBUNTU: SAUCE: cpuidle/powernv : init all present cpus for deep states
== Regression Potential ==
Low. Limited to powerpc.
== Test Case ==
A test kernel was built with this patch and tested by the original bug reporter.
The bug reporter states the test kernel resolved the bug.
== Comment: #0 - PAVAMAN SUBRAMANIYAM - 2018-05-16 04:07:59 ==
---Problem Description---
cpupower idle-info is not listing stop4 and stop5 idle states when all CORES are guarded
---uname output---
Linux ltc-wspoon11 4.15.0-20-generic #21-Ubuntu SMP Tue Apr 24 06:14:44 UTC 2018 ppc64le ppc64le ppc64le GNU/Linux
Machine Type = P9
---Debugger---
A debugger is not configured
---Steps to Reproduce---
Install a P9 Open Power Hardware with Ubuntu 18.04 OS.
root@ltc-wspoon11:~# uname -a
Linux ltc-wspoon11 4.15.0-20-generic #21-Ubuntu SMP Tue Apr 24 06:14:44 UTC 2018 ppc64le ppc64le ppc64le GNU/Linux
root@ltc-wspoon11:~# cat /etc/os-release
NAME="Ubuntu"
VERSION="18.04 LTS (Bionic Beaver)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 18.04 LTS"
VERSION_ID="18.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=bionic
UBUNTU_CODENAME=bionic
Then guard an entire processor and also guard all the CORES in the processor 0 except for 1 single core.
root@ltc-wspoon11:~# opal-gard list
ID | Error | Type | Path
-----------------------------------------------------------------------
00000001 | 00000000 | Manual | /Sys0/Node0/Proc0/EQ1/EX0/Core0
00000002 | 00000000 | Manual | /Sys0/Node0/Proc0/EQ1/EX0/Core1
00000003 | 00000000 | Manual | /Sys0/Node0/Proc1
00000004 | 00000000 | Manual | /Sys0/Node0/Proc0/EQ2/EX0/Core1
00000005 | 00000000 | Manual | /Sys0/Node0/Proc0/EQ2/EX0/Core0
00000006 | 00000000 | Manual | /Sys0/Node0/Proc0/EQ2/EX1/Core0
00000007 | 00000000 | Manual | /Sys0/Node0/Proc0/EQ2/EX1/Core1
00000008 | 00000000 | Manual | /Sys0/Node0/Proc0/EQ3/EX0/Core0
00000009 | 00000000 | Manual | /Sys0/Node0/Proc0/EQ3/EX0/Core1
0000000a | 00000000 | Manual | /Sys0/Node0/Proc0/EQ3/EX1/Core0
0000000b | 00000000 | Manual | /Sys0/Node0/Proc0/EQ3/EX1/Core1
0000000c | 00000000 | Manual | /Sys0/Node0/Proc0/EQ4/EX0/Core0
0000000d | 00000000 | Manual | /Sys0/Node0/Proc0/EQ4/EX0/Core1
0000000e | 00000000 | Manual | /Sys0/Node0/Proc0/EQ4/EX1/Core0
0000000f | 00000000 | Manual | /Sys0/Node0/Proc0/EQ4/EX1/Core1
00000010 | 00000000 | Manual | /Sys0/Node0/Proc0/EQ5/EX0/Core0
00000011 | 00000000 | Manual | /Sys0/Node0/Proc0/EQ5/EX0/Core1
00000012 | 00000000 | Manual | /Sys0/Node0/Proc0/EQ5/EX1/Core0
00000013 | 00000000 | Manual | /Sys0/Node0/Proc0/EQ5/EX1/Core1
00000014 | 00000000 | Manual | /Sys0/Node0/Proc0/EQ1/EX1/Core0
00000015 | 00000000 | Manual | /Sys0/Node0/Proc0/EQ1/EX1/Core1
00000016 | 00000000 | Manual | /Sys0/Node0/Proc0/EQ0/EX1/Core1
00000017 | 00000000 | Manual | /Sys0/Node0/Proc0/EQ0/EX1/Core0
=======================================================================
Then execute the cpupower idle-info command to check the idle states being shown in the OS.
root@ltc-wspoon11:~# cpupower idle-info
CPUidle driver: powernv_idle
CPUidle governor: menu
analyzing CPU 0:
Number of idle states: 7
Available idle states: snooze stop0_lite stop0 stop1_lite stop1 stop2_lite stop2
snooze:
Flags/Description: snooze
Latency: 0
Usage: 774653
Duration: 7698954
stop0_lite:
Flags/Description: stop0_lite
Latency: 1
Usage: 2751
Duration: 11363825
stop0:
Flags/Description: stop0
Latency: 2
Usage: 2343
Duration: 915084
stop1_lite:
Flags/Description: stop1_lite
Latency: 5
Usage: 20
Duration: 1533
stop1:
Flags/Description: stop1
Latency: 5
Usage: 1103
Duration: 1016794
stop2_lite:
Flags/Description: stop2_lite
Latency: 10
Usage: 5
Duration: 765
stop2:
Flags/Description: stop2
Latency: 10
Usage: 113729
Duration: 2850877810
Userspace tool common name: /usr/bin/cpupower
The userspace tool has the following bit modes: 64-bit
Userspace rpm: linux-tools-common
Userspace tool obtained from project website: na
== Comment: #8 - Akshay Adiga <aksadiga@in.ibm.com> - 2018-05-16 13:29:55 ==
Patch is posted on linux mailing list
https://patchwork.ozlabs.org/patch/914575/ |
|
2018-06-07 22:51:01 |
Khaled El Mously |
linux (Ubuntu Cosmic): status |
In Progress |
Fix Committed |
|
2018-06-11 14:06:41 |
Frank Heimes |
ubuntu-power-systems: status |
Triaged |
In Progress |
|
2018-06-12 16:10:17 |
Khaled El Mously |
linux (Ubuntu Bionic): status |
In Progress |
Fix Committed |
|
2018-06-14 11:02:27 |
Brad Figg |
tags |
architecture-ppc64le bugnameltc-167913 p9 severity-critical targetmilestone-inin1804 triage-g |
architecture-ppc64le bugnameltc-167913 p9 severity-critical targetmilestone-inin1804 triage-g verification-needed-bionic |
|
2018-06-15 04:59:33 |
bugproxy |
tags |
architecture-ppc64le bugnameltc-167913 p9 severity-critical targetmilestone-inin1804 triage-g verification-needed-bionic |
architecture-ppc64le bugnameltc-167913 p9 severity-critical targetmilestone-inin1804 triage-g verification-done-bionic |
|
2018-06-18 13:48:53 |
Manoj Iyer |
ubuntu-power-systems: status |
In Progress |
Fix Committed |
|
2018-07-02 08:27:55 |
Launchpad Janitor |
linux (Ubuntu Bionic): status |
Fix Committed |
Fix Released |
|
2018-07-02 08:27:55 |
Launchpad Janitor |
cve linked |
|
2018-11508 |
|
2018-07-02 08:27:55 |
Launchpad Janitor |
cve linked |
|
2018-7755 |
|
2018-07-19 19:12:29 |
Joseph Salisbury |
linux (Ubuntu Cosmic): status |
Fix Committed |
Fix Released |
|
2018-07-19 19:39:57 |
Andrew Cloke |
ubuntu-power-systems: status |
Fix Committed |
Fix Released |
|