RE: [PATCH] Add emulation of E500 register mmucsr0

2009-02-17 Thread Liu Yu-B13201
> -Original Message- > From: Hollis Blanchard [mailto:holl...@us.ibm.com] > Sent: Wednesday, February 18, 2009 4:07 AM > To: Avi Kivity > Cc: kvm-ppc@vger.kernel.org; Liu Yu-B13201 > Subject: Re: [PATCH] Add emulation of E500 register mmucsr0 > > Acked-by: Hollis Blanchard > > Avi, wo

RE: [Qemu-devel] [PATCH 1/5] kvm/powerpc: Enable MPIC for E500 platform.

2009-02-17 Thread Liu Yu-B13201
> -Original Message- > From: Blue Swirl [mailto:blauwir...@gmail.com] > Sent: Tuesday, February 17, 2009 10:56 PM > To: qemu-de...@nongnu.org > Cc: aurel...@aurel32.net; holl...@us.ibm.com; Liu Yu-B13201; > kvm-ppc@vger.kernel.org > Subject: Re: [Qemu-devel] [PATCH 1/5] kvm/powerpc: Enab

RE: [Qemu-devel] [PATCH 2/5] kvm/powerpc: Add freescale pci controller's support

2009-02-17 Thread Liu Yu-B13201
> -Original Message- > From: kvm-ppc-ow...@vger.kernel.org > [mailto:kvm-ppc-ow...@vger.kernel.org] On Behalf Of Blue Swirl > Sent: Tuesday, February 17, 2009 11:09 PM > To: qemu-de...@nongnu.org > Cc: aurel...@aurel32.net; holl...@us.ibm.com; Liu Yu-B13201; > kvm-ppc@vger.kernel.org > S

Re: [PATCH] Add emulation of E500 register mmucsr0

2009-02-17 Thread Hollis Blanchard
Acked-by: Hollis Blanchard Avi, would you apply this? Yu, I think you should feel free to send e500-specific patches directly to Avi. If it touches other PowerPC code I'd like to ack first though. I just don't want to slow you down if you need me to ack every patch... sound good? -- Hollis Bla

Re: [Qemu-devel] [PATCH 2/5] kvm/powerpc: Add freescale pci controller's support

2009-02-17 Thread Jamie Lokier
M. Warner Losh wrote: > There's one web page[1] that suggests that this might be useful to > preserve moral rights in some countries. Moral rights are the right > to take one's name off something that someone else has changed > contrary to your wishes. I don't know the extent that this matter > t

Re: [Qemu-devel] [PATCH 2/5] kvm/powerpc: Add freescale pci controller's support

2009-02-17 Thread M. Warner Losh
In message: <20090217.090852.-292225365@bsdimp.com> "M. Warner Losh" writes: : In message: : Blue Swirl writes: : : > + * Copyright (C) 2009 Freescale Semiconductor, Inc. All rights reserved. : : : : "All rights reserved" conflicts with GPL. : : "All rights reserve

Re: [Qemu-devel] [PATCH 2/5] kvm/powerpc: Add freescale pci controller's support

2009-02-17 Thread M. Warner Losh
In message: Blue Swirl writes: : > + * Copyright (C) 2009 Freescale Semiconductor, Inc. All rights reserved. : : "All rights reserved" conflicts with GPL. "All rights reserved" is a phrase used to invoke one's copyright in Latin America prior to the some of the more recent rounds o

Re: [Qemu-devel] [PATCH 4/5] kvm/powerpc: Add MPC8544DS board support

2009-02-17 Thread Blue Swirl
On 2/17/09, Liu Yu wrote: > This patch add emulation of MPC8544DS board. > And it can work on All E500 platforms. > > Signed-off-by: Liu Yu > + * Copyright (C) 2009 Freescale Semiconductor, Inc. All rights reserved. Again, "All rights reserved" is not what GPL says. > +ret = kvmppc_rea

Re: [Qemu-devel] [PATCH 2/5] kvm/powerpc: Add freescale pci controller's support

2009-02-17 Thread Blue Swirl
On 2/17/09, Liu Yu wrote: > This patch add the emulation of freescale's pci controller for E500 platform. > > Signed-off-by: Liu Yu A reset function (registered with qemu_register_reset) would be nice. > + * Copyright (C) 2009 Freescale Semiconductor, Inc. All rights reserved. "All rights re

Re: [Qemu-devel] [PATCH 1/5] kvm/powerpc: Enable MPIC for E500 platform.

2009-02-17 Thread Blue Swirl
On 2/17/09, Liu Yu wrote: > MPIC and OpenPIC have very similar design. > So a lot of code can be reused. > > Modification mainly include: > 1. keep struct openpic_t to the maximum size of both MPIC and OpenPIC. > 2. endianess swap. >MPIC has the same endianess as target, so no need to swap

[PATCH 5/5] kvm/powerpc: flat device tree files for MPC8544DS

2009-02-17 Thread Liu Yu
mpc8544ds.dts is copied from kerenl. Non-supported devices has been removed. Signed-off-by: Liu Yu --- pc-bios/mpc8544ds.dtb | Bin 0 -> 12288 bytes pc-bios/mpc8544ds.dts | 122 + 2 files changed, 122 insertions(+), 0 deletions(-) create mode 10

[PATCH 4/5] kvm/powerpc: Add MPC8544DS board support

2009-02-17 Thread Liu Yu
This patch add emulation of MPC8544DS board. And it can work on All E500 platforms. Signed-off-by: Liu Yu --- Makefile.target|2 +- hw/boards.h|1 + hw/ppce500.h | 22 hw/ppce500_mpc8544ds.c | 286 tar

[PATCH 3/5] kvm/powerpc: Add irq support for E500 core

2009-02-17 Thread Liu Yu
Signed-off-by: Liu Yu --- hw/ppc.c| 60 +++ hw/ppc.h|1 + target-ppc/cpu.h| 10 +++ target-ppc/translate_init.c |5 ++- 4 files changed, 74 insertions(+), 2 deletions(-) diff --git a/hw/p

[PATCH 1/5] kvm/powerpc: Enable MPIC for E500 platform.

2009-02-17 Thread Liu Yu
MPIC and OpenPIC have very similar design. So a lot of code can be reused. Modification mainly include: 1. keep struct openpic_t to the maximum size of both MPIC and OpenPIC. 2. endianess swap. MPIC has the same endianess as target, so no need to swap for MPIC. 3. using different init functions

[PATCH 2/5] kvm/powerpc: Add freescale pci controller's support

2009-02-17 Thread Liu Yu
This patch add the emulation of freescale's pci controller for E500 platform. Signed-off-by: Liu Yu --- Makefile.target |2 + hw/ppce500_pci.c | 370 ++ 2 files changed, 372 insertions(+), 0 deletions(-) create mode 100644 hw/ppce500_pci

powerpc/kvm: Add MPC8544DS board support

2009-02-17 Thread Liu Yu
patch 1: enable mpic for E500 platform. patch 2: add E500 pci controller emulation. patch 3: add E500 irq support. patch 4: add MPC8544DS board emulation. patch 5: FDT of MPC8544DS -- To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in the body of a message to majord...@vger.ker

[PATCH] Add emulation of E500 register mmucsr0

2009-02-17 Thread Liu Yu
Latest kernel flushes TLB via mmucsr0. Signed-off-by: Liu Yu --- arch/powerpc/kvm/e500_emulate.c |8 arch/powerpc/kvm/e500_tlb.c | 16 arch/powerpc/kvm/e500_tlb.h |1 + 3 files changed, 25 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/kvm/e5

RE: kvm on G4 processors?

2009-02-17 Thread Liu Yu-B13201
> -Original Message- > From: kvm-ppc-ow...@vger.kernel.org > [mailto:kvm-ppc-ow...@vger.kernel.org] On Behalf Of Roberto Innocenti > Sent: Tuesday, February 17, 2009 4:26 PM > To: kvm-ppc@vger.kernel.org > Subject: kvm on G4 processors? > > I have tried to compile kernel 2.6.27 with kvm

kvm on G4 processors?

2009-02-17 Thread Roberto Innocenti
I have tried to compile kernel 2.6.27 with kvm support on my PowerBook G4, but kvm option is not visible becouse kernel menu config permit to compile kvm kernel module only if you ave a PowerPC 440 architecture and not G4. But really kvm doesn't work for G4 processors, it's so different the archite