------- Comment From [email protected] 2018-05-04 10:18 EDT-------
Tested and found fixed.

Power9:
Host:
4.15.0-15-generic #16-Ubuntu
qemu: 1:2.11+dfsg-1ubuntu6
libvirt: 4.0.0-1ubuntu7
kvm -M ? 2>&1|grep sxxm
pseries-2.12-sxxm    pSeries Logical Partition (PAPR compliant)
pseries-bionic-sxxm  pSeries Logical Partition (PAPR compliant)

Guest:
4.15.0-15-generic #16-Ubuntu

with: pseries-bionic-sxxm
# make tests
=========
Machine details from dmesg:
dmesg | grep -e 'pSeries machine' -e 'OPAL detected' -e rfi-fixups -e rfi-flush
[    0.000000] Using pSeries machine description
[    0.000000] rfi-flush: Using ori type flush
[    0.000000] rfi-flush: Using mttrig type flush
[    0.000000] rfi-flush: patched 9 locations
=========
Running tests...
Testing mitigation for spectre (ii. indirect branch prediction)... PASS 
(20000066 branches, 10000008 branch misses)
Testing mitigation for meltdown (l1d flush - syscall)... PASS (196008075 
misses, 192000000 expected) [10/10 pass]
Testing mitigation for meltdown (l1d flush - userspace)... SKIP (!power8)

with: pseries-bionic
make tests
=========
Machine details from dmesg:
dmesg | grep -e 'pSeries machine' -e 'OPAL detected' -e rfi-fixups -e rfi-flush
[    0.000000] Using pSeries machine description
[    0.000000] rfi-flush: Using fallback displacement flush
[    0.000000] rfi-flush: patched 9 locations
=========
Running tests...
Testing mitigation for spectre (ii. indirect branch prediction)... PASS 
(20000058 branches, 10000007 branch misses)
Testing mitigation for meltdown (l1d flush - syscall)... PASS (197506169 
misses, 192000000 expected) [10/10 pass]
Testing mitigation for meltdown (l1d flush - userspace)... SKIP (!power8)

------------

Power8:

# make tests
=========
Machine details from dmesg:
dmesg | grep -e 'pSeries machine' -e 'OPAL detected' -e rfi-fixups -e rfi-flush
[    0.000000] Using pSeries machine description
[    0.000000] rfi-flush: fallback displacement flush available
[    0.000000] rfi-flush: patched 9 locations (no flush)
=========
Running tests...
Testing mitigation for spectre (ii. indirect branch prediction)... PASS 
(20000100 branches, 10000007 branch misses)
Testing mitigation for meltdown (l1d flush - syscall)... FAIL (95128 misses, 
192000000 expected) [10/10 failures]
Testing mitigation for meltdown (l1d flush - userspace)... PASS (193524721 
misses, 192000000 expected) [10/10 pass]
root@ubuntu:~/side-channel-tests/staging# dmesg|grep rfi
[    0.000000] rfi-flush: fallback displacement flush available
[    0.000000] rfi-flush: patched 9 locations (no flush)
root@ubuntu:~/side-channel-tests/staging# uname -a
Linux ubuntu 4.15.0-17-generic #18-Ubuntu SMP Mon Apr 16 21:16:36 UTC 2018 
ppc64le ppc64le ppc64le GNU/Linux

** Tags removed: targetmilestone-inin---
** Tags added: targetmilestone-inin1804

-- 
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:
  [18.04] backport needed for spectre/meltdown mitigation machine type
  qemu patches (kvm)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-power-systems/+bug/1761372/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to