[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 1/5] kvm/powerpc: Enable MPIC for E500 platform.

2009-02-26 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

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

2009-02-26 Thread Blue Swirl
On 2/26/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

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

2009-02-26 Thread Liu Yu-B13201
> -Original Message- > From: Blue Swirl [mailto:blauwir...@gmail.com] > Sent: Friday, February 27, 2009 2:47 AM > To: Liu Yu-B13201 > Cc: qemu-de...@nongnu.org; aurel...@aurel32.net; > holl...@us.ibm.com; kvm-ppc@vger.kernel.org > Subject: Re: [PATCH 1/5] kvm/pow

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

2009-02-27 Thread Blue Swirl
oll...@us.ibm.com; kvm-ppc@vger.kernel.org > > Subject: Re: [PATCH 1/5] kvm/powerpc: Enable MPIC for E500 platform. > > > > On 2/26/09, Liu Yu wrote: > > > MPIC and OpenPIC have very similar design. > > > So a lot of code can be reused. > > > > >

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

2009-03-02 Thread Aurelien Jarno
To: Liu Yu-B13201 > > > Cc: qemu-de...@nongnu.org; aurel...@aurel32.net; > > > holl...@us.ibm.com; kvm-ppc@vger.kernel.org > > > Subject: Re: [PATCH 1/5] kvm/powerpc: Enable MPIC for E500 platform. > > > > > > On 2/26/09, Liu Yu wro

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

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] [P

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

2009-02-19 Thread Aurelien Jarno
On Tue, Feb 17, 2009 at 04:55:51PM +0200, Blue Swirl wrote: > 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. endi

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

2009-02-20 Thread Blue Swirl
On 2/20/09, Aurelien Jarno wrote: > On Tue, Feb 17, 2009 at 04:55:51PM +0200, Blue Swirl wrote: > > 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