On Wed, Jan 11, 2017 at 05:58:40PM +0100, Artyom Tarasenko wrote: > Hi Hervé, > > nice work! > > On Thu, Dec 29, 2016 at 11:12 PM, Hervé Poussineau <[email protected]> > 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?
It could be the system peripherals. On the other hand, I think the
endian switch mechanism is a bit different on those older CPUs
compared to the new ones which PAPR uses, so it's possible that's not
properly implemented.
> > 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
> >
> >
> >
>
>
>
--
David Gibson | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_
| _way_ _around_!
http://www.ozlabs.org/~dgibson
signature.asc
Description: PGP signature
