[Bug 1778854] Re: kvm_pr on power9 not loadable

2019-05-06 Thread Christian Ehrhardt 
Since this works (using disable_radix thanks leonardo) in Cosmic and
also through the HWE kernel on Bionic I think there is no more work
needed. The trigger was P9 HW which is fine for this specific (and
uncommon) function to define the HWE kernel as requirement.

** Changed in: qemu (Ubuntu Cosmic)
   Status: New => Invalid

** Changed in: linux (Ubuntu Cosmic)
   Status: New => Won't Fix

** Changed in: linux (Ubuntu Bionic)
   Status: Confirmed => Won't Fix

** Changed in: ubuntu-power-systems
   Status: Triaged => Fix Released

** Changed in: linux (Ubuntu Cosmic)
   Status: Won't Fix => Fix Released

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

Title:
  kvm_pr on power9 not loadable

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

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

[Bug 1778854] Re: kvm_pr on power9 not loadable

2019-02-21 Thread Terry Rudd
** Also affects: qemu (Ubuntu Cosmic)
   Importance: Undecided
   Status: New

** Also affects: linux (Ubuntu Cosmic)
   Importance: Undecided
   Status: New

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

Title:
  kvm_pr on power9 not loadable

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

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

[Bug 1778854] Re: kvm_pr on power9 not loadable

2019-02-21 Thread Manoj Iyer
** Changed in: linux (Ubuntu)
 Assignee: (unassigned) => Canonical Kernel Team (canonical-kernel-team)

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

Title:
  kvm_pr on power9 not loadable

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

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

[Bug 1778854] Re: kvm_pr on power9 not loadable

2019-02-18 Thread Manoj Iyer
** Changed in: ubuntu-power-systems
   Importance: Medium => Wishlist

** Tags removed: 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/1778854

Title:
  kvm_pr on power9 not loadable

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

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

[Bug 1778854] Re: kvm_pr on power9 not loadable

2019-02-18 Thread Frank Heimes
** Tags added: reverse-proxy-bugzilla 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/1778854

Title:
  kvm_pr on power9 not loadable

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

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

[Bug 1778854] Re: kvm_pr on power9 not loadable

2019-02-06 Thread bugproxy
--- Comment From lagar...@br.ibm.com 2019-02-06 06:59 EDT---
Just an additional information: starting with linux 4.20 and QEMU 3.1 one can 
created nested guests on RPT guests as well using kvm_hv (kvm_pr will not work 
with RPT).

** 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/1778854

Title:
  kvm_pr on power9 not loadable

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

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

[Bug 1778854] Re: kvm_pr on power9 not loadable

2019-01-08 Thread Christian Ehrhardt 
Interesting, thanks Leonardo!

Tested on Bionic (4.15) and Disco (4.18).
Default:
sudo modprobe kvm_pr
modprobe: ERROR: could not insert 'kvm_pr': Input/output error

Added "disable_radix" to the guest kernel commandline and retried loading the 
module again.
Bionic: Malformed early option 'disable_radix'
Disco: accepts the option

With that option set kvm_pr can be loaded.
Thanks now all fits together, and that is "enough" for me.

If there are kernel fixes that you'd want in Bionic to get disable_radix
to work we can add a kernel task (I don't need it).

TL;DR: for Disco forward I should be able to enable P9 based nested
tests with that tweak in place.

** Also affects: qemu (Ubuntu Bionic)
   Importance: Undecided
   Status: New

** Also affects: linux (Ubuntu)
   Importance: Undecided
   Status: New

** Changed in: linux (Ubuntu)
   Status: New => Fix Released

** Changed in: linux (Ubuntu Bionic)
   Status: New => Confirmed

** Changed in: linux (Ubuntu Bionic)
   Importance: Undecided => Wishlist

** Changed in: qemu (Ubuntu)
   Status: New => Invalid

** Changed in: qemu (Ubuntu Bionic)
   Status: New => Invalid

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

Title:
  kvm_pr on power9 not loadable

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

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

[Bug 1778854] Re: kvm_pr on power9 not loadable

2018-08-13 Thread  Christian Ehrhardt 
FYI - until resolved some of my usual pre-upload tests have to be
skipped on P9.

** Changed in: qemu (Ubuntu)
   Importance: Undecided => High

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

Title:
  kvm_pr on power9 not loadable

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

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

[Bug 1778854] Re: kvm_pr on power9 not loadable

2018-08-13 Thread  Christian Ehrhardt 
I have run into this again.
I've read that it works for you, but here is all I have and as I said before - 
what would you want me to report to look at?

---


On power you can never load the usual kvm_hv module in a guest.
 $ sudo modprobe kvm_hv
 modprobe: ERROR: could not insert 'kvm_hv': No such device

That is normal and expected.
But on a Power9 system I can neither load kvm_pr which was usually the way to 
go for nested KVM.

$ sudo modprobe kvm_pr
modprobe: ERROR: could not insert 'kvm_pr': Input/output error

There is no error whatsoever in dmesg when triggering this.
>From libvirt the guest is defined with all defaults - see 
>http://paste.ubuntu.com/p/2r34SG6pq6/

That gives the guest CPU this guest view:
cat /proc/cpuinfo
processor : 0
cpu : POWER9 (architected), altivec supported
clock : 2134.00MHz
revision : 2.2 (pvr 004e 1202)

timebase : 51200
platform : pSeries
model : IBM pSeries (emulated by qemu)
machine : CHRP IBM pSeries (emulated by qemu)
MMU : Radix

Nothing obvious here, also the module exists and seems normal to me:
$ modinfo kvm_pr
filename: /lib/modules/4.17.0-6-generic/kernel/arch/powerpc/kvm/kvm-pr.ko
alias: devname:kvm
alias: char-major-10-232
license: GPL
srcversion: 2472883ADEEBC51508B6BF4
depends: kvm
intree: Y
name: kvm_pr
vermagic: 4.17.0-6-generic SMP mod_unload mprofile-kernel relocatable
sig_id: PKCS#7
signer:
sig_key:
sig_hashalgo: md4
signature: 30:82...

Current kernel is From Cosmic (as that is what I test for atm):
4.17.0-6-generic

If I start the guest with the "least virtual" cpu via
  

I get no difference in /proc/cpuinfo from the guest nor does the problem
change.


FYI Host CPU reports as (this is already with smt off)
[...]
processor   : 156
cpu : POWER9, altivec supported
clock   : 3800.00MHz
revision: 2.2 (pvr 004e 1202)

timebase: 51200
platform: PowerNV
model   : 9006-12C
machine : PowerNV 9006-12C
firmware: OPAL
MMU : Radix

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

Title:
  kvm_pr on power9 not loadable

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

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

[Bug 1778854] Re: kvm_pr on power9 not loadable

2018-07-16 Thread  Christian Ehrhardt 
Hmm, in that case just teach me what data you'd want to look on when this 
happens again.
We will keep the bug as  incomplete and when I hit it again I can check what 
you would need to analyze it better.

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

Title:
  kvm_pr on power9 not loadable

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

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

[Bug 1778854] Re: kvm_pr on power9 not loadable

2018-07-02 Thread Frank Heimes
** Changed in: ubuntu-power-systems
   Status: New => Triaged

** Changed in: ubuntu-power-systems
   Importance: Undecided => Medium

** Changed in: ubuntu-power-systems
 Assignee: (unassigned) => bugproxy (bugproxy)

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

Title:
  kvm_pr on power9 not loadable

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

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

[Bug 1778854] Re: kvm_pr on power9 not loadable

2018-06-29 Thread bugproxy
** Tags added: architecture-ppc64le bugnameltc-169337 severity-medium
targetmilestone-inin---

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

Title:
  kvm_pr on power9 not loadable

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

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

[Bug 1778854] Re: kvm_pr on power9 not loadable

2018-06-28 Thread Breno Leitão
hi Christian, this is interesting. I tried to reproduce here on my P9
(with cosmic and kernel 4.15.0-22) , but I was not able to:

➜  ~ sudo modprobe kvm_pr

➜  ~ lsmod | grep kvm_pr
kvm_pr107493  0
kvm   225431  1 kvm_pr

➜  ~ uname -a
Linux cosmic 4.15.0-22-generic #24-Ubuntu SMP Wed May 16 12:12:37 UTC 2018 
ppc64le ppc64le ppc64le GNU/Linux

➜  ~ cat /proc/cpuinfo | grep model 
model   : IBM pSeries (emulated by qemu)

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

Title:
  kvm_pr on power9 not loadable

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

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

[Bug 1778854] Re: kvm_pr on power9 not loadable

2018-06-27 Thread  Christian Ehrhardt 
Added the project, please reverse mirror to get explained what (should)
happen in this case.

** Also affects: ubuntu-power-systems
   Importance: Undecided
   Status: New

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

Title:
  kvm_pr on power9 not loadable

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

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