[SRU][Artful][Bionic][PATCH 0/1] KVM: PPC: Book3S HV: Fix guest time accounting with VIRT_CPU_ACCOUNTING_GEN

Joseph Salisbury joseph.salisbury at canonical.com
Fri Mar 23 20:03:02 UTC 2018


BugLink: http://bugs.launchpad.net/bugs/1755979

== 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.

Laurent Vivier (1):
  KVM: PPC: Book3S HV: Fix guest time accounting with
    VIRT_CPU_ACCOUNTING_GEN

 arch/powerpc/kvm/book3s_hv.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

-- 
2.7.4





More information about the kernel-team mailing list