Public bug reported: == Comment: #0 - Satheesh Rajendran <sathe...@in.ibm.com> - 2018-04-19 04:26:51 == ---Problem Description--- Backport spectre/meltdown fixes on qemu for ppc64 into all LTS releases Contact Information = sathe...@in.ibm.com ---uname output--- - Machine Type = power8,power9 ---Debugger--- A debugger is not configured ---Steps to Reproduce--- For pseries guests there are 3 tri-state -machine options/capabilities relating to Spectre/Meltdown mitigation: cap-cfpc, cap-sbbc, cap-ibs, which each correspond to a set of host machine capabilities advertised by the KVM kernel module in new/patched host kernels that can be used to mitigate various aspects of Spectre/Meltdown:
cap-cfpc: Cache Flush on Privilege Change cap-sbbc: Speculation Barrier Bounds Checking cap-ibs: Indirect Branch Serialisation Details can be found here https://www.qemu.org/2018/02/14/qemu-2-11-1 -and-spectre-update/ Needed qemu commits: cb931c2108 target/ppc: Check mask when setting cap_ppc_safe_indirect_branch 4f5b039d2b ppc/spapr-caps: Disallow setting workaround for spapr-cap-ibs 8c5909c419 ppc/spapr-caps: Change migration macro to take full spapr-cap name c59704b254 target/ppc/spapr: Add H-Call H_GET_CPU_CHARACTERISTICS 4be8d4e7d9 target/ppc/spapr_caps: Add new tristate cap safe_indirect_branch 09114fd817 target/ppc/spapr_caps: Add new tristate cap safe_bounds_check 8f38eaf8f9 target/ppc/spapr_caps: Add new tristate cap safe_cache 6898aed77f target/ppc/spapr_caps: Add support for tristate spapr_capabilities 8acc2ae5e9 target/ppc/kvm: Add cap_ppc_safe_[cache/bounds_check/indirect_branch] Optional commits to introduce a machine type variant pseries-<release>-sxxm, when used would set/enable the three machine capabilities explained above automatically, if host is capable(host kernel is supported). Bug 166426 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 Userspace tool common name: qemu-kvm The userspace tool has the following bit modes: both Userspace rpm: qemu-kvm Userspace tool obtained from project website: na *Additional Instructions for sathe...@in.ibm.com: -Attach ltrace and strace of userspace application. ** Affects: ubuntu-power-systems Importance: Critical Assignee: Canonical Kernel Team (canonical-kernel-team) Status: Triaged ** Affects: qemu (Ubuntu) Importance: Undecided Assignee: Ubuntu on IBM Power Systems Bug Triage (ubuntu-power-triage) Status: New ** Tags: architecture-ppc64le bugnameltc-166958 severity-critical targetmilestone-inin--- triage-g ** Tags added: architecture-ppc64le bugnameltc-166958 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/1765364 Title: Backport spectre/meltdown fixes on qemu for ppc64 into all LTS releases To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-power-systems/+bug/1765364/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs