From: Alexander Graf <agraf@suse.de>
To: QEMU Developers <qemu-devel@nongnu.org>
Cc: Aurelien Jarno <aurelien@aurel32.net>
Subject: [Qemu-devel] [PATCH 0/9] PPC NewWorld fixery v3
Date: Tue, 12 Jan 2010 12:58:37 +0100 [thread overview]
Message-ID: <1263297526-13518-1-git-send-email-agraf@suse.de> (raw)
I'm trying to get the PPC64 system emulation target working finally.
While doing so, I ran into several issues, all related to PCI this time.
This patchset fixes all the PCI config space access and PCI interrupt
mapping issues I've found on PPC64. Using this and a patched OpenBIOS
version, I can successfully access IDE devices and was booting a guest
into the shell from IDE using serial console.
To leverage this patch, you also need a few patches to OpenBIOS. I'll
present them to the OpenBIOS list, but in general getting patches into
Qemu is harder than getting them into OpenBIOS. So I want to wait for
the review process here first.
Find the OpenBIOS patch at: http://alex.csgraf.de/openbios-ppc-u3.patch
v1 -> v2:
- use decoding function for config space bits
- merge config space data access functions
- introduce encoding function for x86 style encodings
- convert Uninorth to use config space decoder
v2 -> v3:
- call pci_addr_to_devfn pci_addr_to_config_reg
- split out debug fix
- call convert functions config_addr instead of config_reg
- no spaces between braces
- dropped: Enable secondary cmd64x
- new: Tell the guest about the time base frequency
- new: Use macio IDE controller for Newworld
- new: Get rid of segfaults in DBDMA emulation
- new: Add USB per default on U3
Alexander Graf (9):
PCI: PCI config space access overhaul
PPC: Add config space conversion function for uni_north
PPC: Use Mac99_U3 type on ppc64
PPC: Include dump of lspci -nn on real G5
PPC: Make interrupts work
PPC: tell the guest about the time base frequency
PPC: Use macio IDE controller for Newworld
PPC: Get rid of segfaults in DBDMA emulation
PPC: Add USB per default on U3
hw/apb_pci.c | 1 +
hw/grackle_pci.c | 1 +
hw/gt64xxx.c | 1 +
hw/mac_dbdma.c | 10 ++-
hw/pci.h | 13 ++++
hw/pci_host.c | 46 ++++++++++++---
hw/pci_host.h | 16 +++++
hw/pci_host_template.h | 92 +++++++++--------------------
hw/pci_host_template_all.h | 23 +++++++
hw/pci_ids.h | 1 +
hw/piix_pci.c | 1 +
hw/ppc.h | 2 +
hw/ppc4xx_pci.c | 1 +
hw/ppc_mac.h | 1 +
hw/ppc_newworld.c | 49 +++++++++++++---
hw/ppc_oldworld.c | 9 +++
hw/ppce500_pci.c | 1 +
hw/unin_pci.c | 141 +++++++++++++++++++++++++++++++++++++++++++-
target-ppc/kvm.c | 46 ++++++++++++++
target-ppc/kvm_ppc.h | 2 +
20 files changed, 370 insertions(+), 87 deletions(-)
create mode 100644 hw/pci_host_template_all.h
next reply other threads:[~2010-01-12 11:59 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-12 11:58 Alexander Graf [this message]
2010-01-12 11:58 ` [Qemu-devel] [PATCH 1/9] PCI: PCI config space access overhaul Alexander Graf
2010-01-12 11:58 ` [Qemu-devel] [PATCH 2/9] PPC: Add config space conversion function for uni_north Alexander Graf
2010-01-12 11:58 ` [Qemu-devel] [PATCH 3/9] PPC: Use Mac99_U3 type on ppc64 Alexander Graf
2010-01-12 11:58 ` [Qemu-devel] [PATCH 4/9] PPC: Include dump of lspci -nn on real G5 Alexander Graf
2010-01-12 20:16 ` Blue Swirl
2010-01-12 20:35 ` Alexander Graf
2010-01-12 20:43 ` Blue Swirl
2010-01-12 20:51 ` Alexander Graf
2010-01-12 11:58 ` [Qemu-devel] [PATCH 5/9] PPC: Make interrupts work Alexander Graf
2010-01-12 11:58 ` [Qemu-devel] [PATCH 6/9] PPC: tell the guest about the time base frequency Alexander Graf
2010-01-12 11:58 ` [Qemu-devel] [PATCH 7/9] PPC: Use macio IDE controller for Newworld Alexander Graf
2010-01-12 11:58 ` [Qemu-devel] [PATCH 8/9] PPC: Get rid of segfaults in DBDMA emulation Alexander Graf
2010-01-12 11:58 ` [Qemu-devel] [PATCH 9/9] PPC: Add USB per default on U3 Alexander Graf
2010-01-12 21:54 ` Andreas Färber
2010-01-12 22:03 ` Alexander Graf
2010-01-12 19:45 ` [Qemu-devel] [PATCH 0/9] PPC NewWorld fixery v3 Blue Swirl
2010-01-12 20:34 ` Alexander Graf
2010-01-12 20:52 ` Blue Swirl
2010-01-12 22:11 ` Alexander Graf
2010-01-13 18:47 ` Blue Swirl
2010-01-13 19:17 ` Alexander Graf
2010-01-13 19:37 ` Blue Swirl
2010-01-13 19:43 ` Alexander Graf
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=1263297526-13518-1-git-send-email-agraf@suse.de \
--to=agraf@suse.de \
--cc=aurelien@aurel32.net \
--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).