mbox series

[00/19] ppc: QOM'ify 405 board

Message ID 20220801131039.1693913-1-clg@kaod.org
Headers show
Series ppc: QOM'ify 405 board | expand

Message

Cédric Le Goater Aug. 1, 2022, 1:10 p.m. UTC
Hello,

Here is large series QOM'ifying the PPC405 board. It introduces a new
generic machine and SoC models, converts the current device models to
QOM and populates the SoC. The process is quite mechanical without too
much issues to handle. The noisy part is the initial patch introducing
the SoC realize routine. 

What's left ?

* The DCR read/writre handler are attached in table to the CPU
  instance. We could probably rework the whole with a specific address
  space and memory regions handling the implemented registers. I don't
  think this is necessary.

* the SDRAM mappings are very baroque and certainly could be simplified.
  I think we should QOMify the ppc440 machines before addressing this
  part.

Thanks,

C.

Cédric Le Goater (19):
  ppc/ppc405: Remove taihu machine
  ppc/ppc405: Introduce a PPC405 generic machine
  ppc/ppc405: Move devices under the ref405ep machine
  ppc/ppc405: Introduce a PPC405 SoC
  ppc/ppc405: Start QOMification of the SoC
  ppc/ppc405: QOM'ify CPU
  ppc/ppc405: QOM'ify CPC
  ppc/ppc405: QOM'ify GPT
  ppc/ppc405: QOM'ify OCM
  ppc/ppc405: QOM'ify GPIO
  ppc/ppc405: QOM'ify DMA
  ppc/ppc405: QOM'ify EBC
  ppc/ppc405: QOM'ify OPBA
  ppc/ppc405: QOM'ify POB
  ppc/ppc405: QOM'ify PLB
  ppc/ppc405: QOM'ify MAL
  ppc/ppc405: QOM'ify FPGA
  ppc/ppc405: QOM'ify UIC
  ppc/ppc405: QOM'ify I2C

 docs/about/deprecated.rst    |   9 -
 docs/system/ppc/embedded.rst |   1 -
 hw/ppc/ppc405.h              | 210 ++++++++-
 include/hw/ppc/ppc4xx.h      |  28 ++
 hw/ppc/ppc405_boards.c       | 366 ++++------------
 hw/ppc/ppc405_uc.c           | 802 +++++++++++++++++++++--------------
 hw/ppc/ppc4xx_devs.c         | 120 ++++--
 7 files changed, 887 insertions(+), 649 deletions(-)