qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Hollis Blanchard <hollisb@us.ibm.com>
To: Liu Yu <Yu.Liu@freescale.com>
Cc: kvm-ppc@vger.kernel.org, qemu-devel@nongnu.org
Subject: RE: [Qemu-devel] [PATCH 3/9] powerpc/kvm: Enable mpic for E500 platform
Date: Fri, 16 Jan 2009 12:17:40 -0600	[thread overview]
Message-ID: <1232129860.29223.18.camel@slate.austin.ibm.com> (raw)
In-Reply-To: <0A1FE637C2C7E148B9573BB60CC630E507D06B@zch01exm26.fsl.freescale.net>

On Fri, 2009-01-16 at 13:34 +0800, Liu Yu wrote:
> 
> > -----Original Message-----
> > From: Anthony Liguori [mailto:anthony@codemonkey.ws] 
> > Sent: Friday, January 16, 2009 5:23 AM
> > To: qemu-devel@nongnu.org
> > Cc: Liu Yu-B13201; kvm-ppc@vger.kernel.org
> > Subject: Re: [Qemu-devel] [PATCH 3/9] powerpc/kvm: Enable 
> > mpic for E500 platform
> > 
> > Liu Yu wrote:
> > > The modify is based on original author's method
> > > to switch openpic and mpic by static define,
> > > like the switch between USE_INTEL_GW80314 and USE_MPCxxx.
> > > (Although the support for intel has broken)
> > > So they can't be used at the same time.
> > >
> > > I guess it's not the correct way to do this.
> > > but I am not sure is the USE_MPC85xx and openpic are still needed?
> > >   
> > 
> > Have you tested some of the other (TCG) boards (for instance, 
> > with the 
> > debian image Aurelien recently posted)?
> > 
> 
> You mean test powerpc mac99? No.

It doesn't sound like mac99 works right now anyways, so that may not be
possible to test.

> I only modified few places to the original code. I think it won't be influenced.
> But mpic and openpic couldnot work in the same qemu binary with this patch.
> If they should both be supported, then I need to modify more.

Due to the (artificial) "ppc" vs "ppcemb" split, I'm not sure this is a
requirement.

The only issue I can see is if there are "ppc" targets (e.g. 970) that
use the same[1] MPIC as found on e500, and that is different from and
not supported by the current OpenPIC emulation.

[1] By "same" I mean "substantially similar". As I understand it,
OpenPIC and MPIC are very similar designs, but there are different
bugs/quirks to different implementations. So even if e500's MPIC isn't
*exactly* the same as 970 chipsets' MPIC, if they're close enough that
the code could be shared, it should be.

-- 
Hollis Blanchard
IBM Linux Technology Center

  reply	other threads:[~2009-01-16 18:18 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-15 12:34 [Qemu-devel] [PATCH 0/9] powerpc/kvm: Add MPC85xx platform support Liu Yu
2009-01-15 12:34 ` [Qemu-devel] [PATCH 1/9] powerpc/kvm: Fix a uninitialized bug Liu Yu
2009-01-15 12:34   ` [Qemu-devel] [PATCH 2/9] powerpc/kvm: fix a openpic bug Liu Yu
2009-01-15 12:34     ` [Qemu-devel] [PATCH 3/9] powerpc/kvm: Enable mpic for E500 platform Liu Yu
2009-01-15 12:34       ` [Qemu-devel] [PATCH 4/9] powerpc/kvm: enable POWERPC_MMU_BOOKE_FSL when kvm is enabled Liu Yu
2009-01-15 12:34         ` [Qemu-devel] [PATCH 5/9] powerpc/kvm: Add freescale pci controller's support Liu Yu
2009-01-15 12:34           ` [Qemu-devel] [PATCH 6/9] powerpc/kvm: Add E500 irq support Liu Yu
2009-01-15 12:34             ` [Qemu-devel] [PATCH 7/9] powerpc/kvm: Add E500 core emulation Liu Yu
2009-01-15 12:34               ` [Qemu-devel] [PATCH 8/9] powerpc/kvm: extern one function for E500 code use Liu Yu
     [not found]                 ` <1232022857-2315-10-git-send-email-yu.liu@freescale.com>
2009-01-16  8:22                   ` [Qemu-devel] RE: [PATCH 9/9] powerpc/kvm: Add MPC85xx board support Liu Yu
2009-01-16 18:09                     ` Hollis Blanchard
2009-01-20  3:09                       ` Liu Yu
2009-01-20 17:23                         ` Hollis Blanchard
2009-01-15 19:53               ` [Qemu-devel] Re: [PATCH 7/9] powerpc/kvm: Add E500 core emulation Hollis Blanchard
2009-01-16  7:51                 ` [Qemu-devel] " Liu Yu
2009-01-16 18:02                   ` Hollis Blanchard
2009-01-19 10:54                     ` Liu Yu
2009-01-19 10:59                       ` Liu Yu
2009-01-15 20:02           ` [Qemu-devel] Re: [PATCH 5/9] powerpc/kvm: Add freescale pci controller's support Hollis Blanchard
2009-01-16  7:37             ` [Qemu-devel] " Liu Yu
2009-01-15 21:22       ` [Qemu-devel] [PATCH 3/9] powerpc/kvm: Enable mpic for E500 platform Anthony Liguori
2009-01-16  5:34         ` Liu Yu
2009-01-16 18:17           ` Hollis Blanchard [this message]
2009-01-16 21:20             ` Aurelien Jarno
2009-01-15 20:06 ` [Qemu-devel] Re: [PATCH 0/9] powerpc/kvm: Add MPC85xx platform support Hollis Blanchard
2009-01-15 21:26 ` [Qemu-devel] " Anthony Liguori

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1232129860.29223.18.camel@slate.austin.ibm.com \
    --to=hollisb@us.ibm.com \
    --cc=Yu.Liu@freescale.com \
    --cc=kvm-ppc@vger.kernel.org \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).