Skip to content

PPC64 Linux bringup patches v2

Alexander Graf qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7PPC64: Implement slbmtetarget-ppc/cpu.h target-ppc/helper.c target-ppc/op_helper.c +1 more+68 -210 replies
2/7PPC64: Implement large pagestarget-ppc/cpu.h target-ppc/helper.c+49 -300 replies
3/7PPC64: Implment tlbieltarget-ppc/translate.c+14 -00 replies
4/7Activate uninorth AGP bridgehw/unin_pci.c+8 -190 replies
5/7PPC64: Nop some SPRs on 970fxtarget-ppc/translate_init.c+12 -00 replies
6/7PPC64: Enable 64bit mode on interruptstarget-ppc/helper.c+5 -10 replies
7/7PPC64: Don't fault at lwsynctarget-ppc/translate.c+4 -08 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/7] PPC64 Linux bringup patches v2

After spending even more time trying to get qemu-system-ppc64 to run Linux, I get up to the pretty penguin on the screen 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.

Also, I am now stuck at a kernel panic in the pmz initialization, because the Device Tree doesn't contain proper interrupt line propagation. I am seriously lost there and it would be awesome if someone with more OpenFirmware knowledge could step in here.

Alexander Graf (7):
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: Don't fault at lwsync

 hw/unin_pci.c               |   27 +++------
 target-ppc/cpu.h            |    4 +-
 target-ppc/helper.c         |  141 +++++++++++++++++++++++++++++--------------
 target-ppc/op_helper.c      |    6 +-
 target-ppc/translate.c      |   41 +++++++++++-
 target-ppc/translate_init.c |   12 ++++
 6 files changed, 160 insertions(+), 71 deletions(-)