PPC64 Linux bringup patches v3
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest11 patches 6 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/11 | PPC64: Implement slbmtetarget-ppc/ target-ppc/ target-ppc/ +1 more | +68 | 2 replies | |
| 2/11 | PPC64: Implement large pagestarget-ppc/ target-ppc/ | +49 | 0 replies | |
| 3/11 | PPC64: Implment tlbieltarget-ppc/ | +14 | 0 replies | |
| 4/11 | Activate uninorth AGP bridgehw/ | +8 | 0 replies | |
| 5/11 | PPC64: Nop some SPRs on 970fxtarget-ppc/ | +12 | 0 replies | |
| 6/11 | PPC64: Enable 64bit mode on interruptstarget-ppc/ | +5 | 0 replies | |
| 7/11 | PPC64: Implement mtfsf.L encodingtarget-ppc/ | +6 | 0 replies | |
| 8/11 | PPC64: Fix RFI(d)target-ppc/ | +3 | 0 replies | |
| 9/11 | PPC64: Fix NX bittarget-ppc/ | +1 | 2 replies | |
| 10/11 | PPC64: Keep SLB in-CPUtarget-ppc/ target-ppc/ target-ppc/ | +81 | 1 reply | |
| 11/11 | PPC64: Disable BAT for 970target-ppc/ | +3 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [Qemu-devel] [PATCH 00/11] PPC64 Linux bringup patches v3
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(-)