Freescale P5020 cpu will be kvm-pr?

12 messages, 2 authors, 2016-03-17 · open the first message on its own page

Freescale P5020 cpu will be kvm-pr?

From: luigi burdo <hidden>
Date: 2016-02-29 19:08:41

Hi all,sorry for this email but i need to ask to  Alexander Graf and Michael Ellerman if will be possible have kvm and kvm-pr for the Freescale/Nix P5020 cpu . We are testing a new desktop machine with this powerpc cpu classesand right now we see kvm under qemu is working only on emb side, this because the kernelset the e5500 cpu as a emb and there is no an option for build the kernel with book3s.

here are the new machine specs:http://www.vincentperkins.com/AmigaNG/x5000.php 
Thanks for your time and sorry for my English
Luigi BurdoA-eon X5000 Beta Tester 
 		 	   		  

Re: Freescale P5020 cpu will be kvm-pr?

From: Scott Wood <oss@buserror.net>
Date: 2016-03-09 00:10:09

On Mon, 2016-02-29 at 20:03 +0100, luigi burdo wrote:
Hi all,
sorry for this email but i need to ask to  Alexander Graf and Michael
Ellerman if will be possible have kvm and kvm-pr for the Freescale/Nix P5020
cpu . 
KVM for e5500 uses hardware hypervisor features.  PR-mode KVM is not
supported.  Nested KVM is not supported.
We are testing a new desktop machine with this powerpc cpu classes
and right now we see kvm under qemu is working only on emb side, this
because the kernel
set the e5500 cpu as a emb and there is no an option for build the kernel
with book3s.
p5020 uses an e5500 core which is book3e.  You cannot use a book3s kernel with
it.  Why would you want to?

I don't know what you mean by "working only on emb side".

-Scott

RE: Freescale P5020 cpu will be kvm-pr?

From: luigi burdo <hidden>
Date: 2016-03-09 00:27:05

Hi Scott, thanks for the reply,about: I don't know what you mean by "working only on emb side".thru qemu 2.5 i can use only ppcemb as kvm not ppc64 or ppc 
Dont have the Kvm-pr is a really unhappy news, it means we will not have the opportunity to run for example Mol-kvm on  this machine.
about:KVM for e5500 uses hardware hypervisor featureslook like hypervisor is disabled because the main Hardware is too young and need a better knowledge.

Thanks for your time and infos
Luigi
From: oss@buserror.net
To: intermediadc@hotmail.com; linuxppc-dev@lists.ozlabs.org
Date: Tue, 8 Mar 2016 18:10:05 -0600
Subject: Re: Freescale P5020 cpu will be kvm-pr?
CC: matthew@a-eon.com; contact@a-eon.com; chzigotzky@xenosoft.de

On Mon, 2016-02-29 at 20:03 +0100, luigi burdo wrote:
quoted
Hi all,
sorry for this email but i need to ask to  Alexander Graf and Michael
Ellerman if will be possible have kvm and kvm-pr for the Freescale/Nix P5020
cpu . 
KVM for e5500 uses hardware hypervisor features.  PR-mode KVM is not
supported.  Nested KVM is not supported.
quoted
We are testing a new desktop machine with this powerpc cpu classes
and right now we see kvm under qemu is working only on emb side, this
because the kernel
set the e5500 cpu as a emb and there is no an option for build the kernel
with book3s.
p5020 uses an e5500 core which is book3e.  You cannot use a book3s kernel with
it.  Why would you want to?

I don't know what you mean by "working only on emb side".

-Scott


_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev
 		 	   		  

Re: Freescale P5020 cpu will be kvm-pr?

From: Scott Wood <oss@buserror.net>
Date: 2016-03-09 00:37:47

On Wed, 2016-03-09 at 01:27 +0100, luigi burdo wrote:
Hi Scott, thanks for the reply,
about: I don't know what you mean by "working only on emb side".
thru qemu 2.5 i can use only ppcemb as kvm not ppc64 or ppc 
Oh, you mean the QEMU target... "ppc64" should work.
Dont have the Kvm-pr is a really unhappy news, it means we will not have the
opportunity to run 
for example Mol-kvm on  this machine.
Right.  KVM on book3e does not allow making the CPU look like a different type
of PPC.  It just lets you create virtual instances of the same CPU.
about:KVM for e5500 uses hardware hypervisor features
look like hypervisor is disabled because the main Hardware is too young and
need a better knowledge.
Not sure what you mean here.

-Scott

RE: Freescale P5020 cpu will be kvm-pr?

From: luigi burdo <hidden>
Date: 2016-03-10 10:22:07

Hi Scott,
sorry for late reply in this last few days  i become another time father .
In any way for better explain the issue i attached my dmesg log
probably will make understand better than my poor english

Thanks for your time
Luigi Burdo
AmigaOne X5000 beta tester 


From: intermediadc@hotmail.com
To: oss@buserror.net; linuxppc-dev@lists.ozlabs.org
Subject: RE: Freescale P5020 cpu will be kvm-pr?
Date: Wed, 9 Mar 2016 01:27:00 +0100
CC: matthew@a-eon.com; contact@a-eon.com; chzigotzky@xenosoft.de




Hi Scott, thanks for the reply,about: I don't know what you mean by "working only on emb side".thru qemu 2.5 i can use only ppcemb as kvm not ppc64 or ppc 
Dont have the Kvm-pr is a really unhappy news, it means we will not have the opportunity to run for example Mol-kvm on  this machine.
about:KVM for e5500 uses hardware hypervisor featureslook like hypervisor is disabled because the main Hardware is too young and need a better knowledge.

Thanks for your time and infos
Luigi
From: oss@buserror.net
To: intermediadc@hotmail.com; linuxppc-dev@lists.ozlabs.org
Date: Tue, 8 Mar 2016 18:10:05 -0600
Subject: Re: Freescale P5020 cpu will be kvm-pr?
CC: matthew@a-eon.com; contact@a-eon.com; chzigotzky@xenosoft.de

On Mon, 2016-02-29 at 20:03 +0100, luigi burdo wrote:
quoted
Hi all,
sorry for this email but i need to ask to  Alexander Graf and Michael
Ellerman if will be possible have kvm and kvm-pr for the Freescale/Nix P5020
cpu . 
KVM for e5500 uses hardware hypervisor features.  PR-mode KVM is not
supported.  Nested KVM is not supported.
quoted
We are testing a new desktop machine with this powerpc cpu classes
and right now we see kvm under qemu is working only on emb side, this
because the kernel
set the e5500 cpu as a emb and there is no an option for build the kernel
with book3s.
p5020 uses an e5500 core which is book3e.  You cannot use a book3s kernel with
it.  Why would you want to?

I don't know what you mean by "working only on emb side".

-Scott


_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev
 		 	   		  

_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev 		 	   		  

Re: Freescale P5020 cpu will be kvm-pr?

From: Scott Wood <oss@buserror.net>
Date: 2016-03-15 22:37:54

On Thu, 2016-03-10 at 11:22 +0100, luigi burdo wrote:
Hi Scott,
sorry for late reply in this last few days  i become another time father .
In any way for better explain the issue i attached my dmesg log
probably will make understand better than my poor english

Thanks for your time
Luigi Burdo
AmigaOne X5000 beta tester 
Please don't top-post.

Is there anything particular about that log that you are concerned about?

-Scott

Re: Freescale P5020 cpu will be kvm-pr?

From: luigi burdo <hidden>
Date: 2016-03-16 06:25:05

hi Scott,
the P5020 mmu is signed by the kernel no book3e found=20
kvm ppc64 crash if run by qemu.
in the kernel( 4.5 too)all is enabled we had a base .config by freescale/nix=
=20
where kvm options and book3e  where enabled.
my suspect is this can be an generated issue by  the host uboot or a missed t=
db parameter and not a linux kernel problem.
Just was need an expert point of view .
thanks for your time
luigi burdo

Inviato da iPad
Il giorno 15 mar 2016, alle ore 23:37, Scott Wood [off-list ref] ha sc=
ritto:
=20
quoted
On Thu, 2016-03-10 at 11:22 +0100, luigi burdo wrote:
Hi Scott,
sorry for late reply in this last few days  i become another time father .=
quoted
In any way for better explain the issue i attached my dmesg log
probably will make understand better than my poor english
=20
Thanks for your time
Luigi Burdo
AmigaOne X5000 beta tester
=20
Please don't top-post.
=20
Is there anything particular about that log that you are concerned about?
=20
-Scott
=20
=20

Re: Freescale P5020 cpu will be kvm-pr?

From: Scott Wood <oss@buserror.net>
Date: 2016-03-17 03:47:33

On Wed, 2016-03-16 at 07:24 +0100, luigi burdo wrote:
hi Scott,
the P5020 mmu is signed by the kernel no book3e found 
I don't understand this sentence.
kvm ppc64 crash if run by qemu.
You didn't show that log.
in the kernel( 4.5 too)all is enabled we had a base .config by freescale/nix
where kvm options and book3e  where enabled.
You should start with corenet64_smp_defconfig, and enable KVM options plus
PPC_QEMU_E500.
my suspect is this can be an generated issue by  the host uboot
Host U-Boot has nothing to do with KVM.
 or a missed tdb parameter and not a linux kernel problem.
What is tdb?

-Scott

Re: Freescale P5020 cpu will be kvm-pr?

From: luigi burdo <hidden>
Date: 2016-03-17 06:07:06

hi scott,
i will send the logs for sure will be more understendable compared my=20
self learned english.

Il giorno 17 mar 2016, alle ore 04:47, Scott Wood [off-list ref] ha sc=
ritto:
=20
quoted
On Wed, 2016-03-16 at 07:24 +0100, luigi burdo wrote:
hi Scott,
the P5020 mmu is signed by the kernel no book3e found
=20
I don't understand this sentence.
=20
i have this in the dmesg no mmu book3e found  will write the exact message t=
oo.
quoted
kvm ppc64 crash if run by qemu.
=20
You didn't show that log.
=20
i will seend it too
quoted
in the kernel( 4.5 too)all is enabled we had a base .config by freescale/=
nix
quoted
where kvm options and book3e  where enabled.
=20
You should start with corenet64_smp_defconfig, and enable KVM options plus=
PPC_QEMU_E500.
=20
yes it is enabled in the kernel config but  i have a exit with crash
quoted
my suspect is this can be an generated issue by  the host uboot
=20
Host U-Boot has nothing to do with KVM.
=20
good to know, i had this suspect only because we have to force the booting w=
ith mem=3D3500M the uboot is a 2014 version.
quoted
or a missed tdb parameter and not a linux kernel problem.
=20
What is tdb?
=20
sorry ipad bad typing tdb is the 5020.dtb=20
-Scott
=20
thanks for your time
luigi

Inviato da iPad

RE: Freescale P5020 cpu will be kvm-pr?

From: luigi burdo <hidden>
Date: 2016-03-17 13:38:23

Hi Scott,
this is my Kernel 4.5 dmesg 

dmesg | grep -i MMU
[    0.000000] MMU: Supported page sizes
[    0.000000] MMU: Book3E HW tablewalk not supported
[    0.000000] mmu_features      = 0x000a0010
[    0.000000] MMU: Allocated 2112 bytes of context maps for 255 contexts

dmesg | grep -i e500
[    0.001787] e500 family performance monitor hardware support registered


 dmesg | grep -i hypervisor

[    0.396726] ePAPR hypervisor byte channel driver
[    3.240020] Freescale hypervisor management driver
[    3.240024] fsl-hv: no hypervisor found



my cpu info

processor    : 0
cpu        : e5500
clock        : 1995.000000MHz
revision    : 1.2 (pvr 8024 0012)

processor    : 1
cpu        : e5500
clock        : 1995.000000MHz
revision    : 1.2 (pvr 8024 0012)

timebase    : 24937500
platform    : CoreNet Generic
model        : varisys,CYRUS5020



i attached my kenrel .config

My qemu-ppc-64 crash, note i have the same crash 

qemu: fatal: This KVM version does not support PAPR

NIP 0000000000000000   LR 0000000000000000 CTR 0000000000000000 XER 0000000000000000 CPU#0
MSR 0000000000000000 HID0 0000000000000000  HF 0000000000000000 idx 0
TB 00000000 00000000 DECR 00000000
GPR00 0000000000000000 0000000000000000 0000000000000000 0000000000000000
GPR04 0000000000000000 0000000000000000 0000000000000000 0000000000000000
GPR08 0000000000000000 0000000000000000 0000000000000000 0000000000000000
GPR12 0000000000000000 0000000000000000 0000000000000000 0000000000000000
GPR16 0000000000000000 0000000000000000 0000000000000000 0000000000000000
GPR20 0000000000000000 0000000000000000 0000000000000000 0000000000000000
GPR24 0000000000000000 0000000000000000 0000000000000000 0000000000000000
GPR28 0000000000000000 0000000000000000 0000000000000000 0000000000000000
CR 00000000  [ -  -  -  -  -  -  -  -  ]             RES 0000000000000000
FPR00 0000000000000000 0000000000000000 0000000000000000 0000000000000000
FPR04 0000000000000000 0000000000000000 0000000000000000 0000000000000000
FPR08 0000000000000000 0000000000000000 0000000000000000 0000000000000000
FPR12 0000000000000000 0000000000000000 0000000000000000 0000000000000000
FPR16 0000000000000000 0000000000000000 0000000000000000 0000000000000000
FPR20 0000000000000000 0000000000000000 0000000000000000 0000000000000000
FPR24 0000000000000000 0000000000000000 0000000000000000 0000000000000000
FPR28 0000000000000000 0000000000000000 0000000000000000 0000000000000000
FPSCR 0000000000000000
 SRR0 0000000000000000  SRR1 0000000000000000    PVR 0000000080240020 VRSAVE 0000000000000000
SPRG0 0000000000000000 SPRG1 0000000000000000  SPRG2 0000000000000000  SPRG3 0000000000000000
SPRG4 0000000000000000 SPRG5 0000000000000000  SPRG6 0000000000000000  SPRG7 0000000000000000
CSRR0 0000000000000000 CSRR1 0000000000000000 MCSRR0 0000000000000000 MCSRR1 0000000000000000
  TCR 0000000000000000   TSR 0000000000000000    ESR 0000000000000000   DEAR 0000000000000000
  PIR 0000000000000000 DECAR 0000000000000000   IVPR 0000000000000000   EPCR 0000000000000000
 MCSR 0000000000000000 SPRG8 0000000000000000    EPR 0000000000000000
 MCAR 0000000000000000  PID1 0000000000000000   PID2 0000000000000000    SVR 0000000000000000
 MAS0 0000000000000000  MAS1 0000000000000000   MAS2 0000000000000000   MAS3 0000000000000000
 MAS4 0000000000000000  MAS6 0000000000000000   MAS7 0000000000000000    PID 0000000000000000
MMUCFG 0000000000000000 TLB0CFG 0000000004110200 TLB1CFG 00000000401cc040
Aborted (core dumped)

i had been try with more kenel configurations but not change the result.

Thanks for your time

Luigi 









From: oss@buserror.net
To: intermediadc@hotmail.com
Date: Wed, 16 Mar 2016 22:47:25 -0500
Subject: Re: Freescale P5020 cpu will be kvm-pr?
CC: contact@a-eon.com; matthew@a-eon.com; linuxppc-dev@lists.ozlabs.org; chzigotzky@xenosoft.de

On Wed, 2016-03-16 at 07:24 +0100, luigi burdo wrote:
quoted
hi Scott,
the P5020 mmu is signed by the kernel no book3e found 
I don't understand this sentence.
quoted
kvm ppc64 crash if run by qemu.
You didn't show that log.
quoted
in the kernel( 4.5 too)all is enabled we had a base .config by freescale/nix
where kvm options and book3e  where enabled.
You should start with corenet64_smp_defconfig, and enable KVM options plus
PPC_QEMU_E500.
quoted
my suspect is this can be an generated issue by  the host uboot
Host U-Boot has nothing to do with KVM.
quoted
 or a missed tdb parameter and not a linux kernel problem.
What is tdb?

-Scott

_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-devFailed to load module Failed to 


From: oss@buserror.net
To: intermediadc@hotmail.com
Date: Wed, 16 Mar 2016 22:47:25 -0500
Subject: Re: Freescale P5020 cpu will be kvm-pr?
CC: contact@a-eon.com; matthew@a-eon.com; linuxppc-dev@lists.ozlabs.org; chzigotzky@xenosoft.de

On Wed, 2016-03-16 at 07:24 +0100, luigi burdo wrote:
quoted
hi Scott,
the P5020 mmu is signed by the kernel no book3e found 
I don't understand this sentence.
quoted
kvm ppc64 crash if run by qemu.
You didn't show that log.
quoted
in the kernel( 4.5 too)all is enabled we had a base .config by freescale/nix
where kvm options and book3e  where enabled.
You should start with corenet64_smp_defconfig, and enable KVM options plus
PPC_QEMU_E500.
quoted
my suspect is this can be an generated issue by  the host uboot
Host U-Boot has nothing to do with KVM.
quoted
 or a missed tdb parameter and not a linux kernel problem.
What is tdb?

-Scott

_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev
 		 	   		  

Re: Freescale P5020 cpu will be kvm-pr?

From: Scott Wood <oss@buserror.net>
Date: 2016-03-17 16:23:17

On Thu, 2016-03-17 at 14:38 +0100, luigi burdo wrote:
Hi Scott,
this is my Kernel 4.5 dmesg 

dmesg | grep -i MMU
[    0.000000] MMU: Supported page sizes
[    0.000000] MMU: Book3E HW tablewalk not supported
[    0.000000] mmu_features      = 0x000a0010
[    0.000000] MMU: Allocated 2112 bytes of context maps for 255 contexts

dmesg | grep -i e500
[    0.001787] e500 family performance monitor hardware support registered


 dmesg | grep -i hypervisor

[    0.396726] ePAPR hypervisor byte channel driver
[    3.240020] Freescale hypervisor management driver
[    3.240024] fsl-hv: no hypervisor found
None of these messages are a problem.

"Book3E HW tablewalk" is for e6500, not e5500.  fsl-hv is for the Freescale
Embedded Hypervisor (Topaz), not KVM.

i attached my kenrel .config

My qemu-ppc-64 crash, note i have the same crash 

qemu: fatal: This KVM version does not support PAPR
You need to tell QEMU to use the appropriate CPU type (e5500) and platform
(ppce500).  PAPR is for book3s, which is what QEMU defaults to.

-Scott

RE: Freescale P5020 cpu will be kvm-pr?

From: luigi burdo <hidden>
Date: 2016-03-17 18:25:50

Hi Scott,
thank you very much for your infos are really appreciated
because let me know better this hardware 

Kind regards
Luigi Burdo
AmigaOne X5000
beta Tester



From: oss@buserror.net
To: intermediadc@hotmail.com
Date: Thu, 17 Mar 2016 11:23:10 -0500
Subject: Re: Freescale P5020 cpu will be kvm-pr?
CC: linuxppc-dev@lists.ozlabs.org; matthew@a-eon.com; contact@a-eon.com; chzigotzky@xenosoft.de

On Thu, 2016-03-17 at 14:38 +0100, luigi burdo wrote:
quoted
Hi Scott,
this is my Kernel 4.5 dmesg 

dmesg | grep -i MMU
[    0.000000] MMU: Supported page sizes
[    0.000000] MMU: Book3E HW tablewalk not supported
[    0.000000] mmu_features      = 0x000a0010
[    0.000000] MMU: Allocated 2112 bytes of context maps for 255 contexts

dmesg | grep -i e500
[    0.001787] e500 family performance monitor hardware support registered


 dmesg | grep -i hypervisor

[    0.396726] ePAPR hypervisor byte channel driver
[    3.240020] Freescale hypervisor management driver
[    3.240024] fsl-hv: no hypervisor found
None of these messages are a problem.

"Book3E HW tablewalk" is for e6500, not e5500.  fsl-hv is for the Freescale
Embedded Hypervisor (Topaz), not KVM.

quoted
i attached my kenrel .config

My qemu-ppc-64 crash, note i have the same crash 

qemu: fatal: This KVM version does not support PAPR
You need to tell QEMU to use the appropriate CPU type (e5500) and platform
(ppce500).  PAPR is for book3s, which is what QEMU defaults to.

-Scott

_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev
 		 	   		  
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help