Skip to content

ppc: add a IBM 40p machine (RS/6000, PReP)

Hervé Poussineau qemu-devel 3 versions – Applied

Status from this message: Applied to ppc-for-2.9, with a slight config tweak to 3/4 to avoid

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest4 patches 5 repliesApplied
  2. v24 patches 4 repliesSuperseded
  3. v16 patches 29 repliesSuperseded

Changes in v3 from the cover letter

- patch 2: fix mismatch between read and write functions for port 92
- patch 4: use error_report instead of fprintf/hw_error

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/4prep: do not use global variable to access nvramhw/ppc/prep.c+2 -20 replies
2/4prep: add PReP System I/Ohw/ppc/Makefile.objs hw/ppc/prep_systemio.c hw/ppc/trace-events+308 -00 replies
3/4prep: add IBM RS/6000 7020 (40p) memory controllerdefault-configs/ppc-softmmu.mak hw/ppc/Makefile.objs hw/ppc/rs6000_mc.c +1 more+241 -00 replies
4/4prep: add IBM RS/6000 7020 (40p) machine emulationdefault-configs/ppc-softmmu.mak hw/ppc/prep.c+230 -02 replies

Reviews trailers per patch

2 of 4 patches have a Reviewed-by or Acked-by.

PatchDavid Gibson
1/4
2/4R-b
3/4R-b
4/4

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

Read the v3 thread

Cover letter [Qemu-devel] [PATCH v3 0/4] ppc: add a IBM 40p machine (RS/6000, PReP)

Hi,

This patchset adds the emulation of the IBM RS/6000 7020 (40p). The real machine is able to run AIX (up to 4.3.3), Windows NT (up to 4.0 SP1), the beta of OS/2 PowerPC, Solaris, Linux, NetBSD/PReP ...

I've tested current emulation with Open Hack'Ware, OpenBIOS and official firmware.

Linux kernel starts, and freezes during boot (seems like a problem with the SCSI adapter). Windows NT starts up to the point where it wants to change endianness. Other OSes have not been tested.

This machine is a superset of the 'prep' one, because we know exactly what is/should emulated, and that operating system list running on it is quite wide. I hope that 'prep' machine can be deprecated soon and then later removed.

Patch 1 is a cleanup, and can probably be committed first. Patches 2 to 4 are the real implementation of the IBM 40p.

Changes since v2:
- patch 2: fix mismatch between read and write functions for port 92
- patch 4: use error_report instead of fprintf/hw_error

Changes since v1:
- removed patches related to display adapter:
Let's wait for an emulation of the real display adapter (an S3 Trio), as current VGA adapter already mostly works with Open Hack'Ware and OpenBIOS
- various changes due to David Gibson's remarks

Hervé Poussineau (4):
prep: do not use global variable to access nvram
prep: add PReP System I/O
prep: add IBM RS/6000 7020 (40p) memory controller
prep: add IBM RS/6000 7020 (40p) machine emulation

 default-configs/ppc-softmmu.mak |   2 +
 hw/ppc/Makefile.objs            |   2 +
 hw/ppc/prep.c                   | 233 +++++++++++++++++++++++++++++-
 hw/ppc/prep_systemio.c          | 303 ++++++++++++++++++++++++++++++++++++++++
 hw/ppc/rs6000_mc.c              | 232 ++++++++++++++++++++++++++++++
 hw/ppc/trace-events             |  11 ++
 6 files changed, 781 insertions(+), 2 deletions(-)
 create mode 100644 hw/ppc/prep_systemio.c
 create mode 100644 hw/ppc/rs6000_mc.c
Signature · 1 line
2.1.4