hw/pci-host: Add emulation of Marvell MV64361 PPC system controller
commitdcdf98a90155545eeadb63edccd41b7ee5ce201d
authorBALATON Zoltan <balaton@eik.bme.hu>
Thu, 25 Mar 2021 13:50:39 +0000 (25 14:50 +0100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Tue, 4 May 2021 01:41:25 +0000 (4 11:41 +1000)
tree9472d36945a8d9996a2c49ec0f4b970fb1014497
parentf9f0c9e2faab18a44d9f60a8653688a8f841a909
hw/pci-host: Add emulation of Marvell MV64361 PPC system controller

The Marvell Discovery II aka. MV64361 is a PowerPC system controller
chip that is used on the pegasos2 PPC board. This adds emulation of it
that models the device enough to boot guests on this board. The
mv643xx.h header with register definitions is taken from Linux 4.15.10
only fixing white space errors, removing not needed parts and changing
formatting for QEMU coding style.

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Message-Id: <79545ebd03bfe0665b73d2d7cbc74fdf3d62629e.1616680239.git.balaton@eik.bme.hu>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/pci-host/Kconfig
hw/pci-host/meson.build
hw/pci-host/mv64361.c [new file with mode: 0644]
hw/pci-host/mv643xx.h [new file with mode: 0644]
hw/pci-host/trace-events
include/hw/pci-host/mv64361.h [new file with mode: 0644]
include/hw/pci/pci_ids.h