Skip to content

prep: improve Raven PCI host emulation

Hervé Poussineau qemu-devel 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest7 patches 3 repliesIn review
  2. v310 patches 18 repliesSuperseded
  3. v210 patches 12 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v13 patches6 repliesSuperseded

Changes in v4 from the cover letter

- rebased and removed patches already applied
- moved non contiguous I/O patch sooner, to not break bisectability

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7raven: rename intack region to pci_intackhw/pci-host/prep.c+4 -30 replies
2/7raven: implement non-contiguous I/O regionhw/pci-host/prep.c hw/ppc/prep.c+87 -911 reply
3/7raven: set a correct PCI I/O memory regionhw/pci-host/prep.c+10 -90 replies
4/7raven: set a correct PCI memory regionhw/pci-host/prep.c hw/ppc/prep.c+15 -31 reply
5/7raven: add PCI bus mastering address spacehw/pci-host/prep.c+23 -00 replies
6/7raven: fix PCI bus accesses with size > 1hw/pci-host/prep.c+4 -41 reply
7/7raven: use raven_ for all function prefixeshw/pci-host/prep.c+21 -190 replies

Reviews trailers per patch

1 of 7 patches has a Reviewed-by or Acked-by.

PatchArtyom Tarasenko
1/7
2/7
3/7
4/7
5/7
6/7R-b
7/7

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [Qemu-devel] [PATCH v4 0/7] prep: improve Raven PCI host emulation

This patchset improves Raven PCI host emulation, found in some PPC platforms, like the QEMU 'prep' one, and for example the IBM RS/6000 40p.

Some features added to raven emulation were already present in prep board (non contiguous I/O, firmware loading), while some other are new (PCI bus mastering memory region).

This patchset has been tested against Linux 2.4 PPC and IBM RS/6000 40p firmware.

Notable achievements are PCI bus mastering (tested with lsi53c895a SCSI adapter), lots of cleanup and emulation correctness, and also documentation of current hacks required by Open Hack'Ware.
This gives us a good base to replace OpenHack'Ware by a possible upcoming OpenBIOS release.

Changes since v3:
- rebased and removed patches already applied
- moved non contiguous I/O patch sooner, to not break bisectability

Changes since v2:
- rebased and fixed conflicts in patches 5 and 6

Changes since v1:
- reworked a dubious memcpy to make it work on big endian hosts
- split onto multiple patches

Hervé Poussineau (7):
raven: rename intack region to pci_intack
raven: implement non-contiguous I/O region
raven: set a correct PCI I/O memory region
raven: set a correct PCI memory region
raven: add PCI bus mastering address space
raven: fix PCI bus accesses with size > 1
raven: use raven_ for all function prefixes

 hw/pci-host/prep.c |  180 ++++++++++++++++++++++++++++++++++++++++++----------
 hw/ppc/prep.c      |  103 ++++--------------------------
 2 files changed, 159 insertions(+), 124 deletions(-)
Signature · 1 line
1.7.10.4