------- Comment From mranw...@us.ibm.com 2019-08-21 03:21 EDT-------
I did testing on this and got the same results.  The different scenarios are 
listed here and all match up with original results.  I tested with 
1:2.11+dfsg-1ubuntu7.18~ppa1 .

No migration:

max-cpu-compat=power9,cap-ibs=workaround,cap-ccf-assist=on:
count-cache-flush: hardware assisted flush sequence enabled

max-cpu-compat=power9,cap-ibs=workaround,cap-ccf-assist=off:
count-cache-flush: full software flush sequence enabled.

max-cpu-compat=power9,cap-ibs=broken:
count-cache-flush: software flush disabled.

First set:
Source:  max-cpu-compat=power9,cap-ibs=broken
Target:  max-cpu-compat=power9,cap-ibs=workaround,cap-ccf-assist=off

Result:  worked w/warning:
qemu-system-ppc64le: warning: cap-ibs lower level (0) in incoming stream than 
on destination (1)

Source:  max-cpu-compat=power9,cap-ibs=broken
Target:  max-cpu-compat=power9,cap-ibs=workaround,cap-ccf-assist=on

Result:  worked w/warning:
qemu-system-ppc64le: warning: cap-ibs lower level (0) in incoming stream than 
on destination (1)
qemu-system-ppc64le: warning: cap-ccf-assist lower level (0) in incoming stream 
than on destination (1)

Source:  max-cpu-compat=power9,cap-ibs=broken
Target:  max-cpu-compat=power9,cap-ibs=broken

Result:  worked

Second set:
Source:  max-cpu-compat=power9,cap-ibs=workaround,cap-ccf-assist=off
Target:  max-cpu-compat=power9,cap-ibs=workaround,cap-ccf-assist=off

Result:  worked

Source:  max-cpu-compat=power9,cap-ibs=workaround,cap-ccf-assist=off
Target:  max-cpu-compat=power9,cap-ibs=workaround,cap-ccf-assist=on

Result:  worked w/warning
qemu-system-ppc64le: warning: cap-ccf-assist lower level (0) in incoming stream 
than on destination (1)
[    0.000000] count-cache-flush: full software flush sequence enabled.

Source:  max-cpu-compat=power9,cap-ibs=workaround,cap-ccf-assist=off
Target:  max-cpu-compat=power9,cap-ibs=broken

Result:  fail
qemu-system-ppc64le: cap-ibs higher level (1) in incoming stream than on 
destination (0)
qemu-system-ppc64le: error while loading state for instance 0x0 of device 
'spapr'
qemu-system-ppc64le: load of migration failed: Invalid argument

Third set:

Source:  max-cpu-compat=power9,cap-ibs=workaround,cap-ccf-assist=on
Target:  max-cpu-compat=power9,cap-ibs=workaround,cap-ccf-assist=on

Result:  worked
count-cache-flush: hardware assisted flush sequence enabled

Source:  max-cpu-compat=power9,cap-ibs=workaround,cap-ccf-assist=on
Target:  max-cpu-compat=power9,cap-ibs=workaround,cap-ccf-assist=off

Result:  fail
qemu-system-ppc64le: cap-ccf-assist higher level (1) in incoming stream than on 
destination (0)
qemu-system-ppc64le: error while loading state for instance 0x0 of device 
'spapr'
qemu-system-ppc64le: load of migration failed: Invalid argument

Source:  max-cpu-compat=power9,cap-ibs=workaround,cap-ccf-assist=on
Target:  max-cpu-compat=power9,cap-ibs=broken

Result:  fail
qemu-system-ppc64le: cap-ibs higher level (1) in incoming stream than on 
destination (0)
qemu-system-ppc64le: cap-ccf-assist higher level (1) in incoming stream than on 
destination (0)
qemu-system-ppc64le: error while loading state for instance 0x0 of device 
'spapr'
qemu-system-ppc64le: load of migration failed: Invalid argument

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

Title:
  QEMU -  count cache flush Spectre v2 mitigation (CVE) (required for
  POWER9 DD2.3)

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

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

Reply via email to