qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 00/11] PPC64 Linux bringup patches v3
@ 2009-03-06 15:35 Alexander Graf
  2009-03-06 15:35 ` [Qemu-devel] [PATCH 01/11] PPC64: Implement slbmte Alexander Graf
  2009-03-07 10:04 ` [Qemu-devel] Re: [PATCH 00/11] PPC64 Linux bringup patches v3 Blue Swirl
  0 siblings, 2 replies; 19+ messages in thread
From: Alexander Graf @ 2009-03-06 15:35 UTC (permalink / raw)
  To: qemu-devel; +Cc: blauwirbel

After spending even more time trying to get qemu-system-ppc64 to run Linux, I
get up to userspace now :-).

I am aware that this patchset is not 100% accurate and perfect for emulation,
but I think that it can't get worse than it is now.

This patchset enhances MMU support to work with large pages, implement tlbiel,
and fixes random issues I ran into while getting closer to the kernel running
userspace code :).

Keep in mind that this also requires an OpenBIOS update, as the current code
is not aware that it gets run in 64 bit mode.

For now booting into userspace from an initrd works fine. I didn't try to get
IDE working, but it looks like that's broken. Also console=ttyPZ0 doesn't work
for me, because the pmz doesn't initialize properly (probably an OpenBIOS issue).

So as long as you use graphical mode and run code from an initrd, you're fine.

I also removed the lwsync patch from this patchset, as it only fixed symptoms
and no causes. It would be great if anyone would step up to find out how to
fix that, as it's not a ppc-only problem.

Alexander Graf (11):
  PPC64: Implement slbmte
  PPC64: Implement large pages
  PPC64: Implment tlbiel
  Activate uninorth AGP bridge
  PPC64: Nop some SPRs on 970fx
  PPC64: Enable 64bit mode on interrupts
  PPC64: Implement mtfsf.L encoding
  PPC64: Fix RFI(d)
  PPC64: Fix NX bit
  PPC64: Keep SLB in-CPU
  PPC64: Disable BAT for 970

 hw/unin_pci.c               |   27 ++---
 target-ppc/cpu.h            |   11 ++-
 target-ppc/helper.c         |  276 ++++++++++++++++++++++++++-----------------
 target-ppc/op_helper.c      |   12 +-
 target-ppc/translate.c      |   45 ++++++-
 target-ppc/translate_init.c |   14 ++-
 6 files changed, 245 insertions(+), 140 deletions(-)

^ permalink raw reply	[flat|nested] 19+ messages in thread
* [Qemu-devel] [PATCH 00/11] PPC64 Linux bringup patches v4
@ 2009-03-07 19:08 Alexander Graf
  2009-03-07 19:08 ` [Qemu-devel] [PATCH 01/11] PPC64: Implement slbmte Alexander Graf
  0 siblings, 1 reply; 19+ messages in thread
From: Alexander Graf @ 2009-03-07 19:08 UTC (permalink / raw)
  To: qemu-devel; +Cc: blauwirbel

After spending even more time trying to get qemu-system-ppc64 to run Linux, I
get up to userspace now :-).

I am aware that this patchset is not 100% accurate and perfect for emulation,
but I think that it can't get worse than it is now.

This patchset enhances MMU support to work with large pages, implement tlbiel,
and fixes random issues I ran into while getting closer to the kernel running
userspace code :).

Keep in mind that this also requires an OpenBIOS update, as the current code
is not aware that it gets run in 64 bit mode.

For now booting into userspace from an initrd works fine. I didn't try to get
IDE working, but it looks like that's broken. Also console=ttyPZ0 doesn't work
for me, because the pmz doesn't initialize properly (probably an OpenBIOS issue).

So as long as you use graphical mode and run code from an initrd, you're fine.

I also removed the lwsync patch from this patchset, as it only fixed symptoms
and no causes. It would be great if anyone would step up to find out how to
fix that, as it's not a ppc-only problem.

v4 fixes:

 - guarded is NX after all
 - remove SLB bridge writing
 - make ppc32 build again

Alexander Graf (11):
  PPC64: Implement slbmte
  PPC64: Implement large pages
  PPC64: Implment tlbiel
  Activate uninorth AGP bridge
  PPC64: Nop some SPRs on 970fx
  PPC64: Enable 64bit mode on interrupts
  PPC64: Implement mtfsf.L encoding
  PPC64: Fix RFI(d)
  PPC64: Fix NX bit
  PPC64: Keep SLB in-CPU
  PPC64: Disable BAT for 970

 hw/unin_pci.c               |   27 ++---
 target-ppc/cpu.h            |   11 ++-
 target-ppc/helper.c         |  274 ++++++++++++++++++++++++++-----------------
 target-ppc/op_helper.c      |   14 ++-
 target-ppc/translate.c      |   45 ++++++-
 target-ppc/translate_init.c |   14 ++-
 6 files changed, 247 insertions(+), 138 deletions(-)

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2009-03-07 19:09 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-06 15:35 [Qemu-devel] [PATCH 00/11] PPC64 Linux bringup patches v3 Alexander Graf
2009-03-06 15:35 ` [Qemu-devel] [PATCH 01/11] PPC64: Implement slbmte Alexander Graf
2009-03-06 15:35   ` [Qemu-devel] [PATCH 02/11] PPC64: Implement large pages Alexander Graf
2009-03-06 15:35     ` [Qemu-devel] [PATCH 03/11] PPC64: Implment tlbiel Alexander Graf
2009-03-06 15:35       ` [Qemu-devel] [PATCH 04/11] Activate uninorth AGP bridge Alexander Graf
2009-03-06 15:35         ` [Qemu-devel] [PATCH 05/11] PPC64: Nop some SPRs on 970fx Alexander Graf
2009-03-06 15:36           ` [Qemu-devel] [PATCH 06/11] PPC64: Enable 64bit mode on interrupts Alexander Graf
2009-03-06 15:36             ` [Qemu-devel] [PATCH 07/11] PPC64: Implement mtfsf.L encoding Alexander Graf
2009-03-06 15:36               ` [Qemu-devel] [PATCH 08/11] PPC64: Fix RFI(d) Alexander Graf
2009-03-06 15:36                 ` [Qemu-devel] [PATCH 09/11] PPC64: Fix NX bit Alexander Graf
2009-03-06 15:36                   ` [Qemu-devel] [PATCH 10/11] PPC64: Keep SLB in-CPU Alexander Graf
2009-03-06 15:36                     ` [Qemu-devel] [PATCH 11/11] PPC64: Disable BAT for 970 Alexander Graf
2009-03-06 19:55                     ` [Qemu-devel] [PATCH 10/11] PPC64: Keep SLB in-CPU Hollis Blanchard
2009-03-06 19:31                   ` [Qemu-devel] [PATCH 09/11] PPC64: Fix NX bit Hollis Blanchard
2009-03-06 19:41                     ` Alexander Graf
2009-03-07  9:57   ` [Qemu-devel] Re: [PATCH 01/11] PPC64: Implement slbmte Blue Swirl
2009-03-07 12:10     ` Alexander Graf
2009-03-07 10:04 ` [Qemu-devel] Re: [PATCH 00/11] PPC64 Linux bringup patches v3 Blue Swirl
  -- strict thread matches above, loose matches on Subject: below --
2009-03-07 19:08 [Qemu-devel] [PATCH 00/11] PPC64 Linux bringup patches v4 Alexander Graf
2009-03-07 19:08 ` [Qemu-devel] [PATCH 01/11] PPC64: Implement slbmte Alexander Graf
2009-03-07 19:08   ` [Qemu-devel] [PATCH 02/11] PPC64: Implement large pages Alexander Graf
2009-03-07 19:08     ` [Qemu-devel] [PATCH 03/11] PPC64: Implment tlbiel Alexander Graf
2009-03-07 19:08       ` [Qemu-devel] [PATCH 04/11] Activate uninorth AGP bridge Alexander Graf
2009-03-07 19:08         ` [Qemu-devel] [PATCH 05/11] PPC64: Nop some SPRs on 970fx Alexander Graf
2009-03-07 19:08           ` [Qemu-devel] [PATCH 06/11] PPC64: Enable 64bit mode on interrupts Alexander Graf
2009-03-07 19:08             ` [Qemu-devel] [PATCH 07/11] PPC64: Implement mtfsf.L encoding Alexander Graf
2009-03-07 19:08               ` [Qemu-devel] [PATCH 08/11] PPC64: Fix RFI(d) Alexander Graf

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).