qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Scott Wood <scottwood@freescale.com>
To: "Andreas Färber" <afaerber@suse.de>
Cc: Julio Guerra <guerr@julio.in>,
	Stuart Yoder <stuart.yoder@freescale.com>,
	qemu-ppc@nongnu.org, qemu-devel@nongnu.org,
	Alexander Graf <agraf@suse.de>
Subject: Re: [Qemu-devel] [PATCH v2] e600 core for MPC86xx processors
Date: Thu, 6 Jun 2013 11:31:50 -0500	[thread overview]
Message-ID: <1370536310.21533.7@snotra> (raw)
In-Reply-To: <51B0761F.6010502@suse.de> (from afaerber@suse.de on Thu Jun  6 06:44:31 2013)

On 06/06/2013 06:44:31 AM, Andreas Färber wrote:
> Am 26.05.2013 19:41, schrieb Julio Guerra:
> > MPC86xx processors are based on the e600 core, which is not the case
> > in qemu where it is based on the 7400 processor.
> >
> > This patch creates the e600 core and instantiates the MPC86xx
> > processors based on it. Therefore, adding the high BATs and the SPRG
> > 4..7 registers, which are e600-specific [1].
> >
> > This allows to define the MPC8610 processor too and my program  
> running
> > on a real MPC8610 target is now able to run on qemu :)
> >
> > [1]  
> http://cache.freescale.com/files/32bit/doc/ref_manual/E600CORERM.pdf
> >
> > Signed-off-by: Julio Guerra <guerr@julio.in>
> > ---
> >  target-ppc/cpu-models.c     |  10 ++--
> >  target-ppc/cpu-models.h     |   4 +-
> >  target-ppc/translate_init.c | 122  
> ++++++++++++++++++++++++++++++++++++++++++++
> >  3 files changed, 127 insertions(+), 9 deletions(-)
> 
> >From a technical (QOM) view this patch looks fine.
> 
> However I can't judge whether all that code is right for e600 and
> whether you may want to share some code with e500 / e5500 in some way?
> CC'ing some Freescale folks.

e600 is a very different core from e500/e5500.  It is a 74xx  
derivative.  The only thing I can see that could be shared with e500 is  
the code to register SPRG4-7, but that's something that's already  
duplicated between a bunch of cores.

-Scott

  reply	other threads:[~2013-06-06 16:32 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-26 17:41 [Qemu-devel] [PATCH v2] e600 core for MPC86xx processors Julio Guerra
2013-06-06  6:20 ` Julio Guerra
2013-06-06 11:44 ` Andreas Färber
2013-06-06 16:31   ` Scott Wood [this message]
2013-06-07 13:44     ` Julio Guerra
2013-06-13  6:32       ` Julio Guerra
2013-06-20 23:16 ` Alexander Graf
2013-06-21 12:01   ` Julio Guerra
2013-06-21 12:03     ` Alexander Graf
2013-06-24  4:14       ` Alexey Kardashevskiy
2013-06-24  6:13         ` Julio Guerra
2013-06-24  6:41           ` Alexander Graf
2013-06-22  0:50   ` [Qemu-devel] [Qemu-ppc] " Alexander Graf

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=1370536310.21533.7@snotra \
    --to=scottwood@freescale.com \
    --cc=afaerber@suse.de \
    --cc=agraf@suse.de \
    --cc=guerr@julio.in \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-ppc@nongnu.org \
    --cc=stuart.yoder@freescale.com \
    /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).