2018-03-15 05:19:53 |
bugproxy |
bug |
|
|
added bug |
2018-03-15 05:19:54 |
bugproxy |
tags |
|
architecture-ppc64le bugnameltc-165731 severity-high targetmilestone-inin--- |
|
2018-03-15 05:19:55 |
bugproxy |
ubuntu: assignee |
|
Ubuntu on IBM Power Systems Bug Triage (ubuntu-power-triage) |
|
2018-03-15 05:19:58 |
bugproxy |
affects |
ubuntu |
kernel-package (Ubuntu) |
|
2018-03-15 06:02:46 |
Frank Heimes |
bug task added |
|
ubuntu-power-systems |
|
2018-03-15 06:02:55 |
Frank Heimes |
ubuntu-power-systems: importance |
Undecided |
High |
|
2018-03-15 06:03:09 |
Frank Heimes |
affects |
kernel-package (Ubuntu) |
linux (Ubuntu) |
|
2018-03-15 06:04:26 |
Frank Heimes |
ubuntu-power-systems: assignee |
|
Canonical Kernel Team (canonical-kernel-team) |
|
2018-03-15 06:04:34 |
Frank Heimes |
ubuntu-power-systems: status |
New |
Triaged |
|
2018-03-15 06:04:45 |
Frank Heimes |
tags |
architecture-ppc64le bugnameltc-165731 severity-high targetmilestone-inin--- |
architecture-ppc64le bugnameltc-165731 severity-high targetmilestone-inin--- triage-g |
|
2018-03-15 06:05:01 |
Frank Heimes |
bug |
|
|
added subscriber ChristianEhrhardt |
2018-03-15 19:05:10 |
Joseph Salisbury |
linux (Ubuntu): status |
New |
Triaged |
|
2018-03-15 19:05:13 |
Joseph Salisbury |
linux (Ubuntu): importance |
Undecided |
High |
|
2018-03-15 19:28:55 |
Joseph Salisbury |
nominated for series |
|
Ubuntu Bionic |
|
2018-03-15 19:28:55 |
Joseph Salisbury |
bug task added |
|
linux (Ubuntu Bionic) |
|
2018-03-15 19:28:55 |
Joseph Salisbury |
nominated for series |
|
Ubuntu Artful |
|
2018-03-15 19:28:55 |
Joseph Salisbury |
bug task added |
|
linux (Ubuntu Artful) |
|
2018-03-15 19:29:01 |
Joseph Salisbury |
linux (Ubuntu Artful): status |
New |
In Progress |
|
2018-03-15 19:29:04 |
Joseph Salisbury |
linux (Ubuntu Bionic): status |
Triaged |
In Progress |
|
2018-03-15 19:29:07 |
Joseph Salisbury |
linux (Ubuntu Artful): importance |
Undecided |
High |
|
2018-03-15 19:29:10 |
Joseph Salisbury |
linux (Ubuntu Artful): assignee |
|
Joseph Salisbury (jsalisbury) |
|
2018-03-15 19:29:12 |
Joseph Salisbury |
linux (Ubuntu Bionic): assignee |
Ubuntu on IBM Power Systems Bug Triage (ubuntu-power-triage) |
Joseph Salisbury (jsalisbury) |
|
2018-03-15 20:25:50 |
Frank Heimes |
ubuntu-power-systems: status |
Triaged |
In Progress |
|
2018-03-23 20:08:41 |
Joseph Salisbury |
description |
== Comment: #0 - JENIFER HOPPER <jhopper@us.ibm.com> - 2018-03-14 16:20:47 ==
+++ This bug was initially created as a clone of Bug #163375 +++
---Problem Description---
All KVM guest cpu utilization is being reported as sys% time in the host.
It turns out Guest time accounting (CONFIG_VIRT_CPU_ACCOUNTING_GEN) has been broken since v4.13 by commit:
commit 8b24e69fc47e43679bb29ddb481aa0e8dce2a3c5
Author: Paul Mackerras <paulus@ozlabs.org>
Date: Mon Jun 26 15:45:51 2017 +1000
KVM: PPC: Book3S HV: Close race with testing for signals on guest entry
---
That is now fixed and upstream accepted in Paulus' tree as git commit:
https://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc.git/commit/?h=kvm-ppc-fixes&id=61bd0f66ff92d5ce765ff9850fd3cbfec773c560
("KVM: PPC: Book3S HV: Fix guest time accounting with VIRT_CPU_ACCOUNTING_GEN")
Please include this patch in Ubuntu so that guest cpu accounting is correct.
Contact Information = jhopper@us.ibm.com
---uname output---
Linux ltc-b114 4.15.0-10-generic #11-Ubuntu SMP Tue Feb 13 18:21:52 UTC 2018 ppc64le ppc64le ppc64le GNU/Linux
Machine Type = 5104-22C
---Debugger---
A debugger is not configured
---Steps to Reproduce---
Start a KVM guest, run something that generates cpu utilization in the guest, observe mpstat on the host. |
== SRU Justification ==
All KVM guest cpu utilization is being reported as sys% time in the host.
It turns out Guest time accounting (CONFIG_VIRT_CPU_ACCOUNTING_GEN) has
been broken since v4.13 by commit 8b24e69fc47e436.
Commit 61bd0f66ff92 fixes this bug and is included in mainline as of v4.16-rc5.
The commit was cc'd to upstream stable, but has not yet landed in upstream 4.15.
== Fix ==
61bd0f66ff92 ("KVM: PPC: Book3S HV: Fix guest time accounting with VIRT_CPU_ACCOUNTING_GEN")
== Regression Potential ==
Low. Also cc'd to stable, so it has had additionl upstream review. 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 - JENIFER HOPPER <jhopper@us.ibm.com> - 2018-03-14 16:20:47 ==
+++ This bug was initially created as a clone of Bug #163375 +++
---Problem Description---
All KVM guest cpu utilization is being reported as sys% time in the host.
It turns out Guest time accounting (CONFIG_VIRT_CPU_ACCOUNTING_GEN) has been broken since v4.13 by commit:
commit 8b24e69fc47e43679bb29ddb481aa0e8dce2a3c5
Author: Paul Mackerras <paulus@ozlabs.org>
Date: Mon Jun 26 15:45:51 2017 +1000
KVM: PPC: Book3S HV: Close race with testing for signals on guest entry
---
That is now fixed and upstream accepted in Paulus' tree as git commit:
https://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc.git/commit/?h=kvm-ppc-fixes&id=61bd0f66ff92d5ce765ff9850fd3cbfec773c560
("KVM: PPC: Book3S HV: Fix guest time accounting with VIRT_CPU_ACCOUNTING_GEN")
Please include this patch in Ubuntu so that guest cpu accounting is correct.
Contact Information = jhopper@us.ibm.com
---uname output---
Linux ltc-b114 4.15.0-10-generic #11-Ubuntu SMP Tue Feb 13 18:21:52 UTC 2018 ppc64le ppc64le ppc64le GNU/Linux
Machine Type = 5104-22C
---Debugger---
A debugger is not configured
---Steps to Reproduce---
Start a KVM guest, run something that generates cpu utilization in the guest, observe mpstat on the host. |
|
2018-03-27 17:25:47 |
Thadeu Lima de Souza Cascardo |
linux (Ubuntu Bionic): status |
In Progress |
Fix Committed |
|
2018-04-03 10:12:11 |
Kleber Sacilotto de Souza |
linux (Ubuntu Artful): status |
In Progress |
Fix Committed |
|
2018-04-03 10:39:19 |
Frank Heimes |
ubuntu-power-systems: status |
In Progress |
Fix Committed |
|
2018-04-10 09:33:04 |
Brad Figg |
tags |
architecture-ppc64le bugnameltc-165731 severity-high targetmilestone-inin--- triage-g |
architecture-ppc64le bugnameltc-165731 severity-high targetmilestone-inin--- triage-g verification-needed-artful |
|
2018-04-11 16:10:51 |
bugproxy |
tags |
architecture-ppc64le bugnameltc-165731 severity-high targetmilestone-inin--- triage-g verification-needed-artful |
architecture-ppc64le bugnameltc-165731 severity-high targetmilestone-inin--- triage-g verification-done-artful |
|
2018-04-13 23:43:34 |
Launchpad Janitor |
linux (Ubuntu Bionic): status |
Fix Committed |
Fix Released |
|
2018-04-23 09:21:59 |
Launchpad Janitor |
linux (Ubuntu Artful): status |
Fix Committed |
Fix Released |
|
2018-04-23 09:21:59 |
Launchpad Janitor |
cve linked |
|
2017-5715 |
|
2018-04-23 09:21:59 |
Launchpad Janitor |
cve linked |
|
2017-5754 |
|
2018-04-23 09:21:59 |
Launchpad Janitor |
cve linked |
|
2018-8043 |
|
2018-04-23 14:19:44 |
Manoj Iyer |
ubuntu-power-systems: status |
Fix Committed |
Fix Released |
|
2019-02-11 14:59:51 |
bugproxy |
tags |
architecture-ppc64le bugnameltc-165731 severity-high targetmilestone-inin--- triage-g verification-done-artful |
architecture-ppc64le bugnameltc-165731 severity-high targetmilestone-inin1804 triage-g verification-done-artful |
|
2019-07-24 21:02:53 |
Brad Figg |
tags |
architecture-ppc64le bugnameltc-165731 severity-high targetmilestone-inin1804 triage-g verification-done-artful |
architecture-ppc64le bugnameltc-165731 cscc severity-high targetmilestone-inin1804 triage-g verification-done-artful |
|