[Bug 1765364] Comment bridged from LTC Bugzilla

2019-03-13 Thread bugproxy
--- Comment From sathe...@in.ibm.com 2019-03-13 02:57 EDT---
Tested with below levels:

Host Kernel: 4.15.0-46-generic #49~16.04.1-Ubuntu SMP Tue Feb 12
17:43:02 UTC 2019 ppc64le

# cd /sys/firmware/devicetree/base/ibm,opal/fw-features
# ls -1 */enabled
fw-branch-hints-honored/enabled
fw-count-cache-disabled/enabled
inst-l1d-flush-ori30,30,0/enabled
inst-spec-barrier-ori31,31,0/enabled
needs-l1d-flush-msr-hv-1-to-0/enabled
needs-l1d-flush-msr-pr-0-to-1/enabled
needs-spec-barrier-for-bound-checks/enabled
speculation-policy-favor-security/enabled
tm-suspend-mode/enabled

FW: FW860.60 (SV860_180) (b)

# apt policy qemu-kvm
qemu-kvm:
Installed: 1:2.5+dfsg-5ubuntu10.35~test2
Candidate: 1:2.5+dfsg-5ubuntu10.35~test2
Version table:
1:2.5+dfsg-5ubuntu10.35 400
400 http://ports.ubuntu.com/ubuntu-ports xenial-proposed/main ppc64el Packages
*** 1:2.5+dfsg-5ubuntu10.35~test2 500
500 http://ppa.launchpad.net/ubuntu-security-proposed/ppa/ubuntu xenial/main 
ppc64el Packages
100 /var/lib/dpkg/status
1:2.5+dfsg-5ubuntu10.34 500
500 http://us.ports.ubuntu.com/ubuntu-ports xenial-updates/main ppc64el Packages
1:2.5+dfsg-5ubuntu10.33 500
500 http://ports.ubuntu.com/ubuntu-ports xenial-security/main ppc64el Packages
1:2.5+dfsg-5ubuntu10 500
500 http://us.ports.ubuntu.com/ubuntu-ports xenial/main ppc64el Packages

Guest:

#kvm -M pseries,cap-sbbc=workaround,cap-cfpc=workaround,cap-ibs=fixed-
ccd -smp 4 -m 8192 -serial mon:stdio -enable-kvm -vga none -nographic
/home/ubuntu-16.04.4-ppc64le.qcow2

SLOF **
QEMU Starting
Build Date = Dec 21 2017 00:39:26
FW Version = buildd@ release 20151103
Press "s" to enter Open Firmware.
...
...
root@guest:~# dmesg|grep rfi
[0.00] rfi-flush: fallback displacement flush available
[0.00] rfi-flush: ori type flush available
[0.00] rfi-flush: mttrig type flush available
[0.00] rfi-flush: patched 10 locations (ori+mttrig type flush)

root@guest:~# uname -a
Linux guest 4.15.0-26-generic #28~16.04.1-Ubuntu SMP Thu Jul 5 09:29:59 UTC 
2018 ppc64le ppc64le ppc64le GNU/Linux

root@guest:~# cat /sys/kernel/debug/powerpc/rfi_flush
1

Regards,
-Satheesh

-- 
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 16.04 and
  possibly 14.04 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

[Bug 1765364] Comment bridged from LTC Bugzilla

2019-02-06 Thread bugproxy
--- Comment From sura...@au1.ibm.com 2019-02-06 18:11 EDT---
I have backported the 3 patches I mentioned previously and pushed a tree here:

https://github.com/sjitindarsingh/qemu/tree/ubuntu-xenial-devel

Note rework of "b2540203bd: ppc/spapr_caps: Don't disable cap_cfpc on
POWER8 by default" to account for how previous backport was done.

-- 
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 16.04 and
  possibly 14.04 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

[Bug 1765364] Comment bridged from LTC Bugzilla

2019-02-04 Thread bugproxy
--- Comment From sathe...@in.ibm.com 2019-02-04 05:09 EDT---
(In reply to comment #35)
> Hi,
>
> 8c5909c419 ppc/spapr-caps: Change migration macro to take full spapr-cap name
>
> Was part of my original backport and so should already be present. But as
> has already been said, this is purely
> cosmetic.
>
>
>
> The following 3 patches:
> 8fea704 target/ppc: Factor out the parsing in
> kvmppc_get_cpu_characteristics()
> 072f416a53: target/ppc: Don't require private l1d cache on POWER8 for
> cap_ppc_safe_cache
> b2540203bd: ppc/spapr_caps: Don't disable cap_cfpc on POWER8 by default
>
> Should be added to allow for cap-cfpc to be set to workaround on POWER8.
>
> That is all I would suggest.

Please let know if xenial  qemu package has updated with these patches,
if not include and let know for further test, Thanks in advance.

Regards,
-Satheesh

-- 
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 16.04 and
  possibly 14.04 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

[Bug 1765364] Comment bridged from LTC Bugzilla

2019-02-04 Thread bugproxy
--- Comment From sthou...@in.ibm.com 2019-02-04 04:28 EDT---
(In reply to comment #35)
> Hi,
>
> 8c5909c419 ppc/spapr-caps: Change migration macro to take full spapr-cap name
>
> Was part of my original backport and so should already be present. But as
> has already been said, this is purely
> cosmetic.
>
>
>
> The following 3 patches:
> 8fea704 target/ppc: Factor out the parsing in
> kvmppc_get_cpu_characteristics()
> 072f416a53: target/ppc: Don't require private l1d cache on POWER8 for
> cap_ppc_safe_cache
> b2540203bd: ppc/spapr_caps: Don't disable cap_cfpc on POWER8 by default
>
> Should be added to allow for cap-cfpc to be set to workaround on POWER8.
>
> That is all I would suggest.

Satheesh, let me know if you get a chance to verify these..

-- 
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 16.04 and
  possibly 14.04 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

[Bug 1765364] Comment bridged from LTC Bugzilla

2019-01-13 Thread bugproxy
--- Comment From sura...@au1.ibm.com 2019-01-13 19:50 EDT---
Hi,

8c5909c419 ppc/spapr-caps: Change migration macro to take full spapr-cap
name

Was part of my original backport and so should already be present. But as has 
already been said, this is purely
cosmetic.

The following 3 patches:
8fea704 target/ppc: Factor out the parsing in kvmppc_get_cpu_characteristics()
072f416a53: target/ppc: Don't require private l1d cache on POWER8 for 
cap_ppc_safe_cache
b2540203bd: ppc/spapr_caps: Don't disable cap_cfpc on POWER8 by default

Should be added to allow for cap-cfpc to be set to workaround on POWER8.

That is all I would suggest.

-- 
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 16.04 and
  possibly 14.04 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

[Bug 1765364] Comment bridged from LTC Bugzilla

2019-01-10 Thread bugproxy
--- Comment From mranw...@us.ibm.com 2019-01-11 01:58 EDT---
I talked to Michael Roth on this.  It looks like everything is there for 
spectre mitigation but there's two patches to allow power 8 guests to use 
cap_cfpc=workaround:

072f416a53: target/ppc: Don't require private l1d cache on POWER8 for 
cap_ppc_safe_cache
b2540203bd: ppc/spapr_caps: Don't disable cap_cfpc on POWER8 by default

Looks like the first one also pre-reqs:
8fea704 target/ppc: Factor out the parsing in kvmppc_get_cpu_characteristics()

Suraj - anything else needed or you suggest there?

Finally, this is, as Michael said, cosmetic, but if you wanted you can pull it 
in (it's not necessary):
8c5909c419 ppc/spapr-caps: Change migration macro to take full spapr-cap name

-- 
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 16.04 and
  possibly 14.04 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

[Bug 1765364] Comment bridged from LTC Bugzilla

2018-09-25 Thread bugproxy
--- Comment From sathe...@in.ibm.com 2018-09-25 13:55 EDT---
(In reply to comment #27)
> The test package is for Xenial, not for Trusty. Does that installation
> failure affect Xenial also?

my bad, mistaken it for Trusty.

Xenial installation has no issues, and tested the qemu package with
below level

HW: Power8
FW: latest contains spectre/meltdown fixes(FW860.60 (SV860_174) (b))
# cd /sys/firmware/devicetree/base/ibm,opal/fw-features
# ls -1 */enabled
fw-branch-hints-honored/enabled
fw-count-cache-disabled/enabled
inst-l1d-flush-ori30,30,0/enabled
inst-spec-barrier-ori31,31,0/enabled
needs-l1d-flush-msr-hv-1-to-0/enabled
needs-l1d-flush-msr-pr-0-to-1/enabled
needs-spec-barrier-for-bound-checks/enabled
speculation-policy-favor-security/enabled
tm-suspend-mode/enabled

Host Kernel: 4.15.0-34-generic

qemu:
ri  qemu-system-ppc   1:2.5+dfsg-5ubuntu10.32~test1 
 ppc64el  QEMU full system emulation binaries (ppc)
ii  qemu-kvm  1:2.5+dfsg-5ubuntu10.32~test1 
 ppc64el  QEMU Full virtualization

guest: ubuntu18.10(4.17.0-9-generic)

# kvm -M pseries,cap-sbbc=workaround,cap-cfpc=workaround -smp 4 -m 8192 -serial 
mon:stdio -enable-kvm -vga none -nographic ~/ubuntu1810-ppc64le.qcow2
qemu-system-ppc64: Requested safe cache capability level not supported by kvm, 
try cap-cfpc=broken

#
looks like some patches missing backport?

probably below patch?, not sure though

https://github.com/qemu/qemu/commit/b2540203bdf4a390c3489146eae82ce237303653
#diff-b0796c6a577709f249c7c5d96b9ea049

@Suraj,
Could you pls help here, thanks in advance.

Regards,
-Satheesh.

-- 
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 16.04 and
  possibly 14.04 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

[Bug 1765364] Comment bridged from LTC Bugzilla

2018-09-21 Thread bugproxy
--- Comment From sathe...@in.ibm.com 2018-09-21 14:06 EDT---
(In reply to comment #25)
> ping?

Hitting and blocked with installation failure for Trusty ,
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1792948/comments/3.

Pls suggest in case of any alternative ways to test.

Thanks in advance.

Regards,
-Satheesh

-- 
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 16.04 and
  possibly 14.04 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

[Bug 1765364] Comment bridged from LTC Bugzilla

2018-08-01 Thread bugproxy
--- Comment From sura...@au1.ibm.com 2018-08-01 02:08 EDT---
Patches backported to xenial-devel and pushed here:
https://github.com/sjitindarsingh/qemu/tree/ubuntu-xenial-devel

-- 
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 16.04 and
  possibly 14.04 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

[Bug 1765364] Comment bridged from LTC Bugzilla

2018-07-30 Thread bugproxy
--- Comment From sura...@au1.ibm.com 2018-07-30 22:03 EDT---
Taking a look at bionic-devel, it looks like all the relevant patches have 
already been backported as of 13 Jun.

commit 88bd38f84c0ec61729f2502cc87613186e36da81
Author: Christian Ehrhardt 
Date:   Wed Jun 13 10:41:34 2018 +0200

[PATCH] ppc/spapr-caps: Define the pseries-2.12-sxxm machine type
Gbp-Pq: 
ubuntu/lp-1761372-7-ppc-spapr-caps-Define-the-pseries-2.12-sxxm-machine-.patch.

I will prepare a patch set for the xenial-devel branch.

-- 
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 16.04 and
  possibly 14.04 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

[Bug 1765364] Comment bridged from LTC Bugzilla

2018-07-26 Thread bugproxy
--- Comment From sura...@au1.ibm.com 2018-07-23 01:57 EDT---
Happy to do the backport.
But can someone point me to where I can find the relevant ubuntu qemu trees the 
patches need to apply to?

-- 
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 16.04 and
  possibly 14.04 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

[Bug 1765364] Comment bridged from LTC Bugzilla

2018-07-17 Thread bugproxy
--- Comment From bar...@us.ibm.com 2018-07-17 15:43 EDT---
Each company might be waiting on each other for this one.
To clarify:  Is Canonical's request for IBM to provide complete backports for 
qemu in versions 14.04 and 16.04, supplemental information to the qemu commit 
list provided earlier, or something else?
Thanks.

-- 
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 16.04 and
  possibly 14.04 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

[Bug 1765364] Comment bridged from LTC Bugzilla

2018-06-18 Thread bugproxy
--- Comment From sura...@au1.ibm.com 2018-06-18 23:22 EDT---
Is a list of the relevant kernel patches still required for this bug?

What help is required for this backport?

-- 
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 16.04 and
  possibly 14.04 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