qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 0/6] ppc: add a IBM 40p machine (RS/6000, PReP)


From: Artyom Tarasenko
Subject: Re: [Qemu-devel] [PATCH 0/6] ppc: add a IBM 40p machine (RS/6000, PReP)
Date: Wed, 11 Jan 2017 17:58:40 +0100

Hi Hervé,

nice work!

On Thu, Dec 29, 2016 at 11:12 PM, Hervé Poussineau <address@hidden> wrote:
> 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 (like with 'prep' machine).

If prep can't do it anymore, it looks like a regression. I definitely
remember seen a sitting penguin and a login prompt ~ 2 years ago. At
least with OFW.

> Windows NT starts up to the point where it wants to change endianness.

I hit that with Solaris/PPC a few years back as you published your
previous attempt. Do you know what is missing? I guess CPU endianness
switch emulation is working because it is used in the newer POWER
CPUs. Is it just the systemIO which has to be improved, or is it more?

> 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.

Would be nice to keep 'prep' until the 40p can boot Linux and NetBSD
6.1.3 (this version used to work with -M prep last time I checked).

Artyom

> Patches 1 to 3 are cleanups, and can probably be committed first.
> Patches 4 to 6 are the real implementation of the IBM 40p.
>
> Hervé Poussineau (6):
>   pci: add pci_vga_type(), giving the device name of the chosen VGA
>     device
>   vga: increase priority of 0xa0000 memory region
>   prep: do not use global variable to access nvram
>   prep: QOM'ify 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/display/vga.c                |   2 +-
>  hw/pci/pci.c                    |  22 ++-
>  hw/ppc/Makefile.objs            |   2 +
>  hw/ppc/prep.c                   | 235 ++++++++++++++++++++++++++++++-
>  hw/ppc/prep_systemio.c          | 302 
> ++++++++++++++++++++++++++++++++++++++++
>  hw/ppc/rs6000_mc.c              | 232 ++++++++++++++++++++++++++++++
>  hw/ppc/trace-events             |  11 ++
>  include/hw/pci/pci.h            |   1 +
>  9 files changed, 800 insertions(+), 9 deletions(-)
>  create mode 100644 hw/ppc/prep_systemio.c
>  create mode 100644 hw/ppc/rs6000_mc.c
>
> --
> 2.1.4
>
>



-- 
Regards,
Artyom Tarasenko

SPARC and PPC PReP under qemu blog: http://tyom.blogspot.com/search/label/qemu



reply via email to

[Prev in Thread] Current Thread [Next in Thread]