Comment 19 for bug 1761372

Revision history for this message
bugproxy (bugproxy) wrote : Comment bridged from LTC Bugzilla

------- Comment From <email address hidden> 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