Public bug reported:

== Comment: #0 - Satheesh Rajendran <sathe...@in.ibm.com> - 2018-04-04 08:58:54 
==
---Problem Description---
backport needed for spectre/meltdown mitigation machine type qemu patches

Reason:
For mitigating spectre/meltdown cpu vulnerability, qemu implements the machine 
capabilities  cfpc,sbbc,ibs, which are present in the current qemu, but the 
default values of it would be broken(no mitigation) even fixes in hw/fw/sw is 
available. 

Qemu further introduces  machine type variant pseries-2.12-sxxm which
would set bydefault below capabilities without need of explicitly
mentioning it, if mitigation is available in fw/sw. which is missing
needs a backport.

kvm -M pseries,help 2>&1|egrep 'cap-cfpc|cap-sbbc|cap-ibs
pseries-bionic.cap-sbbc=string (Speculation Barrier Bounds Checking (broken, 
workaround, fixed)(null))
pseries-bionic.cap-cfpc=string (Cache Flush on Privilege Change (broken, 
workaround, fixed)(null))
pseries-bionic.cap-ibs=string (Indirect Branch Serialisation (broken, 
workaround, fixed)(null))

Upstream qemu Commits:

813f3cf655 ppc/spapr-caps: Define the pseries-2.12-sxxm machine type
c76c0d3090 ppc/spapr-caps: Convert cap-ibs to custom spapr-cap
aaf265ffde ppc/spapr-caps: Convert cap-sbbc to custom spapr-cap
f27aa81e72 ppc/spapr-caps: Convert cap-cfpc to custom spapr-cap
87175d1bc5 ppc/spapr-caps: Add support for custom spapr_capabilities
cb931c2108 target/ppc: Check mask when setting cap_ppc_safe_indirect_branch


 
Contact Information = sathe...@in.ibm.com 
 
---uname output---
4.15.0-14-generic #15-Ubuntu SMP Mon Apr 2 19:47:43 UTC 2018
 
Machine Type = power9 boston 2.2 (pvr 004e 1202) 
 
---Debugger---
A debugger is not configured
 
Userspace tool common name: qemu-kvm                               
1:2.11+dfsg-1ubuntu5 
 
The userspace tool has the following bit modes: both 

Userspace rpm: qemu-kvm                               1:2.11+dfsg-
1ubuntu5

Userspace tool obtained from project website:  na 
 
*Additional Instructions for sathe...@in.ibm.com:
-Attach ltrace and strace of userspace application.

** Affects: qemu (Ubuntu)
     Importance: Undecided
     Assignee: Ubuntu on IBM Power Systems Bug Triage (ubuntu-power-triage)
         Status: New


** Tags: architecture-ppc64le bugnameltc-166426 severity-critical 
targetmilestone-inin---

** Tags added: architecture-ppc64le bugnameltc-166426 severity-critical
targetmilestone-inin---

** Changed in: ubuntu
     Assignee: (unassigned) => Ubuntu on IBM Power Systems Bug Triage 
(ubuntu-power-triage)

** Package changed: ubuntu => qemu (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1761372

Title:
  backport needed for spectre/meltdown mitigation machine type qemu
  patches (kvm)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/1761372/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to