Skip to content

Pegasos2 clean up and pegasos1 emulation

BALATON Zoltan qemu-devel 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest12 patches 16 repliesIn review
  2. v313 patches 28 repliesSuperseded
  3. v213 patches 0 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v113 patches6 repliesSuperseded

Changes in v4 from the cover letter

- rebase on master
- added some R-b tags from and changes suggested by Philippe
- reworded commit message of patch 8 trying to clarify it

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12ppc/vof: Make nextprop behave more like Open Firmwarehw/ppc/vof.c+33 -170 replies
2/12hw/ppc/pegasos2: Remove explicit name properties from device treehw/ppc/pegasos2.c+0 -171 reply
3/12hw/ppc/pegasos2: Change device tree generationhw/ppc/pegasos2.c pc-bios/dtb/meson.build pc-bios/dtb/pegasos2.dtb +1 more+219 -2400 replies
4/12hw/ppc/pegasos2: Remove fdt pointer from machine statehw/ppc/pegasos2.c+2 -50 replies
5/12hw/ppc/pegasos2: Rename mv field in machine statehw/ppc/pegasos2.c+10 -100 replies
6/12hw/ppc/pegasos2: Add south bridge pointer in the machine statehw/ppc/pegasos2.c+3 -10 replies
7/12hw/ppc/pegasos2: Move PCI IRQ routing setup to a functionhw/ppc/pegasos2.c+33 -331 reply
8/12hw/ppc/pegasos2: Move hardware specific parts out of machine resethw/ppc/pegasos2.c+41 -384 replies
9/12hw/ppc/pegasos2: Introduce abstract superclasshw/ppc/pegasos2.c+34 -320 replies
10/12hw/ppc/pegasos2: Add bus frequency to machine statehw/ppc/pegasos2.c+16 -92 replies
11/12hw/ppc/pegasos2: Add Pegasos I emulationhw/ppc/pegasos2.c+117 -392 replies
12/12hw/ppc/pegasos2: Add VOF support for pegasos1MAINTAINERS hw/ppc/pegasos2.c pc-bios/dtb/meson.build +2 more+246 -211 reply

Reviews trailers per patch

All 12 patches have a Reviewed-by or Acked-by.

PatchAlexey KardashevskiyPhilippe Mathieu-DaudéHarsh Prateek Bora
1/12R-b
2/12R-b
3/12R-b
4/12R-b
5/12R-b
6/12R-b
7/12R-b
8/12R-b
9/12R-b
10/12R-b
11/12R-b
12/12R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v4 thread

Cover letter [PATCH v4 00/12] Pegasos2 clean up and pegasos1 emulation

This series changes how the fdt for VOF is generated in pegasos2 by moving the static parts to a dtb and only generate the changing parts such as memory size and PCI devices programmatically. This simplifies the code and allows simply adding emulation of Pegasos I which has a different north bridge and slightly different memory map but otherwise very similar and can be emulated by reusing parts from the amigaone machine. The machine was tested with a Pegasos I ROM image and MorphOS.

The first VOF patch (submitted separetely before, the reviewed v3 is included here) fixes handling the name property in VOF that cannot be represented in a dts as that always takes the path as the name and cannot accept an explicit name property but we need the name property to appear when guest queries properties which previously was worked around by adding it to every node.

Regards,
BALATON Zoltan

Link to previous version:
https://patchew.org/QEMU/[email protected]/

v4:
- rebase on master
- added some R-b tags from and changes suggested by Philippe
- reworded commit message of patch 8 trying to clarify it

v3:
- rebase on master

v2:
- rebase on master
- added some R-b tags from Philippe
- move first patch later (was first to allow merging separately)
- clarify blurb above

BALATON Zoltan (12):
ppc/vof: Make nextprop behave more like Open Firmware hw/ppc/pegasos2: Remove explicit name properties from device tree hw/ppc/pegasos2: Change device tree generation hw/ppc/pegasos2: Remove fdt pointer from machine state hw/ppc/pegasos2: Rename mv field in machine state hw/ppc/pegasos2: Add south bridge pointer in the machine state hw/ppc/pegasos2: Move PCI IRQ routing setup to a function hw/ppc/pegasos2: Move hardware specific parts out of machine reset hw/ppc/pegasos2: Introduce abstract superclass hw/ppc/pegasos2: Add bus frequency to machine state hw/ppc/pegasos2: Add Pegasos I emulation hw/ppc/pegasos2: Add VOF support for pegasos1

 MAINTAINERS              |   1 +
 hw/ppc/pegasos2.c        | 769 +++++++++++++++++++--------------------
 hw/ppc/vof.c             |  50 ++-
 pc-bios/dtb/meson.build  |   2 +
 pc-bios/dtb/pegasos1.dtb | Bin 0 -> 857 bytes
 pc-bios/dtb/pegasos1.dts | 125 +++++++
 pc-bios/dtb/pegasos2.dtb | Bin 0 -> 1701 bytes
 pc-bios/dtb/pegasos2.dts | 167 +++++++++
 8 files changed, 703 insertions(+), 411 deletions(-)
 create mode 100644 pc-bios/dtb/pegasos1.dtb
 create mode 100644 pc-bios/dtb/pegasos1.dts
 create mode 100644 pc-bios/dtb/pegasos2.dtb
 create mode 100644 pc-bios/dtb/pegasos2.dts
Signature · 1 line
2.41.3