From: Blue Swirl <blauwirbel@gmail.com>
To: Alexander Graf <alex@csgraf.de>
Cc: openbios@openbios.org, qemu-devel@nongnu.org,
Laurent Vivier <laurent@vivier.eu>
Subject: Re: [Qemu-devel] [PATCH] Enable support for PPC64 on qemu target v2
Date: Sat, 28 Feb 2009 10:17:34 +0200 [thread overview]
Message-ID: <f43fc5580902280017u2a5193b1id733e394bbba1522@mail.gmail.com> (raw)
In-Reply-To: <E0F799C5-98E8-4C76-BC16-DCC50F2CB0A7@csgraf.de>
On 2/28/09, Alexander Graf <alex@csgraf.de> wrote:
>
> On 27.02.2009, at 22:47, Blue Swirl wrote:
>
>
> > On 2/27/09, Alexander Graf <alex@csgraf.de> wrote:
> >
> > > This patch enables OpenBIOS to initialize on PPC64, enabling support for
> > > -cpu 970fx.
> > > It gets up to the boot prompt and works rather good so far, though I
> haven't
> > > been able to run a kernel yet.
> > >
> >
> > It looks like there is a bug in Qemu (testing boot from Debian 4.0R5 CD):
> >
> > invalid/unsupported opcode: 1e - 12 - 1b (782106e4) 00000000014080e4 1
> > IN:
> > 0x00000000014080d0: mr r31,r3
> > 0x00000000014080d4: mr r30,r4
> > 0x00000000014080d8: mr r29,r5
> > 0x00000000014080dc: mr r28,r6
> > 0x00000000014080e0: mr r27,r7
> > 0x00000000014080e4: rldicr r1,r1,0,59
> >
> > But rldicr should be supported on a 750, according to "IBM PowerPC 740
> > / PowerPC 750 RISC Microprocessor User’s Manual".
Sorry, I was confused: 970 != 750.
> Please keep in mind that booting a PPC64 kernel doesn't work for me yet.
> I'm currently stuck with the DSI handler clobbering the high 32 bits in the
> 64 bit GPRs.
>
> I'll try to write up a patch that provides custom register save/restore
> code for ppc64. Are there any preferences on that?
>
> Would it be better to build a specific PPC64 binary or to detect which code
> to take in runtime and patch it accordingly?
Single binary for both if possible.
next prev parent reply other threads:[~2009-02-28 8:17 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-26 23:39 [Qemu-devel] [PATCH] Enable support for PPC64 on qemu target v2 Alexander Graf
2009-02-27 0:25 ` Laurent Vivier
2009-02-27 20:03 ` Blue Swirl
2009-02-27 21:47 ` Blue Swirl
2009-02-28 0:24 ` Alexander Graf
2009-02-28 8:17 ` Blue Swirl [this message]
2009-02-27 22:24 ` Laurent Vivier
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=f43fc5580902280017u2a5193b1id733e394bbba1522@mail.gmail.com \
--to=blauwirbel@gmail.com \
--cc=alex@csgraf.de \
--cc=laurent@vivier.eu \
--cc=openbios@openbios.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).