qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "J. Mayer" <l_indien@magic.fr>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] PowerPC64 and more
Date: Thu, 21 Jul 2005 13:15:37 +0200	[thread overview]
Message-ID: <1121944537.9483.74.camel@rapid> (raw)

[-- Attachment #1: Type: text/plain, Size: 2247 bytes --]

Here's a long awaited patch (hum, Fabrice ? ;-) ).
It is really invasive in the target-ppc subdirectory.

It provides:
* PowerPC 64 target support
* better 64 bits hosts support (use native registers instead of 32 bit
aliases)
* Software driven TLB support for 6xx & 7xx(x) PowerPC with generic
background, then
  PowerPC 4xx software driven TLB will be easy to implement.
* Some preliminary support for 403 MMU.
* More SPR definitions.
* Optimizations and cleanups (sure, always more to do !)
* Serial driver IRQ fixes.

Those new features have some limitations:
* PowerPC 64 is tested only in 32 bits mode, because:
  - No 64 bits PowerPC model is fully implemented (we need at least
970FX).
  - We have no PowerPC 64 hardware based target. I guess PREP could be
used
    to launch Linux.
  - Open Hack'Ware need PPC64 support (work in progress)
 Then it acts exactly the same way as PowerPC 32 target, using 64 bits
registers.
 Note that one will be able to select any 32 bits or 64 bits CPU when
using
 PowerPC 64 target. PowerPC 32 target will remain only because it's much
more
 efficient when running on 32 bits hosts.
* There is no PowerPC 64 linux-user emulation because I did not find a
clean way
  to be able to launch all PowerPC executables (ie 64 bits _and_ 32 bits
ones)
  with this target.
* SoftTLB emulation is buggy: it works well until we get in user mode
  But while entering init process, it comes into an infinite loop
filling TLBs...
  This need to be fixed to get a complete 602 & 603 emulation.
* New CPU model (40x, 440, 601, 602, 603, 7x5, 74xx, ...)
  are incomplete and not fully fonctionnal.
  For now, only PowerPC 604, 740 & 750 models are usable.

To come (to do or to be tested):
* more support for PowerPC 40x & 440:
  - I got most of unimplemented instructions (mostly tested !)
  - MMU and exception models need to be implemented (partially done)
  - I already have some code for simple devices emulation using DCR (IRQ
controler, serial   
    ports, ...)
* Altivec for 74xx (yes, I got most of it...)
* PowerPC 601 support (will also give original POWER support, as a side
effet).
* and more....

Please enjoy and report any problem, success or suggestion.

-- 
J. Mayer <l_indien@magic.fr>
Never organized

[-- Attachment #2: ppc64_diff.tar.bz2 --]
[-- Type: application/x-bzip-compressed-tar, Size: 45876 bytes --]

             reply	other threads:[~2005-07-21 11:37 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-21 11:15 J. Mayer [this message]
2005-07-21 22:10 ` [Qemu-devel] PowerPC64 and more Filip Navara
2005-07-21 22:37   ` J. Mayer
2005-07-21 22:58     ` Filip Navara
2005-07-22 11:56       ` J. Mayer
2005-07-22  1:05     ` Joe Batt

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=1121944537.9483.74.camel@rapid \
    --to=l_indien@magic.fr \
    --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).