Skip to content

Add MVME3100 PPC SBC v2

Michael Davidsaver qemu-devel 1 version Applied

Status from this message: Applied to ppc-for-2.12.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest17 patches 24 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/17openpic: debug w/ info_report()hw/intc/openpic.c+51 -511 reply
2/17i2c: start trace-eventsMakefile.objs hw/i2c/trace-events+2 -00 replies
3/17i2c: add mpc8540 i2c controllerhw/i2c/Makefile.objs hw/i2c/mpc8540_i2c.c hw/i2c/trace-events+314 -03 replies
4/17qtest: add e500_i2c_create()tests/Makefile.include tests/libqos/i2c-e500.c tests/libqos/i2c.h+70 -00 replies
5/17timer: generalize Dallas/Maxim RTC i2c devicesdefault-configs/arm-softmmu.mak hw/timer/Makefile.objs hw/timer/ds-rtc-i2c.c +1 more+463 -2414 replies
6/17tests: rewrite testing for DS RTC devicestests/Makefile.include tests/ds-rtc-i2c-test.c tests/ds1338-test.c+164 -790 replies
7/17e500: fix pci host bridge class/typehw/pci-host/ppce500.c+0 -51 reply
8/17e500: additional CCSR registershw/ppc/e500.c hw/ppc/e500_ccsr.c+95 -32 replies
9/17e500: move mpic under CCSRhw/ppc/e500.c hw/ppc/e500_ccsr.c+84 -1031 reply
10/17e500: move uarts CCSRhw/ppc/e500.c hw/ppc/e500_ccsr.c+18 -131 reply
11/17e500: derive baud from CCB clockhw/ppc/e500.c hw/ppc/e500_ccsr.c+20 -51 reply
12/17e500: add i2c controller to CCSRhw/ppc/e500_ccsr.c+15 -02 replies
13/17e500: move PCI host bridge into CCSRhw/ppc/e500.c hw/ppc/e500_ccsr.c+31 -94 replies
14/17e500: split mpc8544ds specific initializationhw/ppc/e500.c hw/ppc/e500.h hw/ppc/e500plat.c +1 more+36 -201 reply
15/17ppc: add mvme3100 machinedefault-configs/ppc-softmmu.mak hw/ppc/Makefile.objs hw/ppc/mvme3100.c +1 more+934 -01 reply
16/17tests: run ds-rtc-i2c-test w/ ppc/mvme3100tests/Makefile.include tests/ds-rtc-i2c-test.c+10 -11 reply
17/17tests: add mvme3100-testtests/Makefile.include tests/mvme3100-test.c+82 -01 reply

Reviews trailers per patch

1 of 17 patches has a Reviewed-by or Acked-by.

PatchDavid Gibson
1/17
2/17
3/17
4/17
5/17
6/17
7/17
8/17
9/17
10/17
11/17
12/17
13/17
14/17
15/17
16/17R-b
17/17

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

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 00/17] Add MVME3100 PPC SBC v2

Changes since previous iteration.

openpic: debug w/ info_report()

New

i2c: start trace-events
i2c: add mpc8540 i2c controller

Debugging cleanup and fix a spurious warning triggered by Linux guests.

qtest: add e500_i2c_create()

Unchanged

timer: generalize Dallas/Maxim RTC i2c devices
tests: rewrite testing for DS RTC devices

Combined models of ds1338 and ds1375 RTCs, along with untested support for some similar chips.
Test case for setting time to exercise offset calculation.

e500: fix pci host bridge class/type

After further investigation, revert the change which caused the host bridge to be identified as a pci-pci bridge.

e500: additional CCSR registers

Also update CPUPPCState::mpic_iack when changing CCSRBAR.

e500: additional CCSR registers
e500: move mpic under CCSR
e500: move uarts CCSR
e500: derive baud from CCB clock
e500: add i2c controller to CCSR
e500: move PCI host bridge into CCSR

Moved MPIC, UARTS, and PCI host bridge under CCSR device. Many of the PPCE500Params members become properties of the CCSR device.

e500: split mpc8544ds specific initialization

Split ppce500_init() to create mpc85xx_init().
mpc85xx_init() has all the bits used by the exist mpc8544ds and ppce500 machines, but not by the new mvme3100 machine (which doesn't use PPCE500Params).

ppc: add mvme3100 machine

Minor changes related to ppce500_init() changes

tests: run ds-rtc-i2c-test w/ ppc/mvme3100

New

tests: add mvme3100-test

Unchanged

Michael Davidsaver (17):
openpic: debug w/ info_report()
i2c: start trace-events
i2c: add mpc8540 i2c controller
qtest: add e500_i2c_create()
timer: generalize Dallas/Maxim RTC i2c devices
tests: rewrite testing for DS RTC devices
e500: fix pci host bridge class/type
e500: additional CCSR registers
e500: move mpic under CCSR
e500: move uarts CCSR
e500: derive baud from CCB clock
e500: add i2c controller to CCSR
e500: move PCI host bridge into CCSR
e500: split mpc8544ds specific initialization
ppc: add mvme3100 machine
tests: run ds-rtc-i2c-test w/ ppc/mvme3100
tests: add mvme3100-test

 Makefile.objs                   |   1 +
 default-configs/arm-softmmu.mak |   2 +-
 default-configs/ppc-softmmu.mak |   1 +
 hw/i2c/Makefile.objs            |   1 +
 hw/i2c/mpc8540_i2c.c            | 307 +++++++++++++++++
 hw/i2c/trace-events             |   7 +
 hw/intc/openpic.c               | 102 +++---
 hw/pci-host/ppce500.c           |   5 -
 hw/ppc/Makefile.objs            |   1 +
 hw/ppc/e500.c                   | 175 +++-------
 hw/ppc/e500.h                   |   3 +-
 hw/ppc/e500_ccsr.c              | 246 ++++++++++++-
 hw/ppc/e500plat.c               |   2 +-
 hw/ppc/mpc8544ds.c              |   2 +-
 hw/ppc/mvme3100.c               | 740 ++++++++++++++++++++++++++++++++++++++++
 hw/ppc/mvme3100_cpld.c          | 192 +++++++++++
 hw/timer/Makefile.objs          |   2 +-
 hw/timer/ds-rtc-i2c.c           | 461 +++++++++++++++++++++++++
 hw/timer/ds1338.c               | 239 -------------
 tests/Makefile.include          |   9 +-
 tests/ds-rtc-i2c-test.c         | 170 +++++++++
 tests/ds1338-test.c             |  77 -----
 tests/libqos/i2c-e500.c         |  66 ++++
 tests/libqos/i2c.h              |   3 +
 tests/mvme3100-test.c           |  79 +++++
 25 files changed, 2376 insertions(+), 517 deletions(-)
 create mode 100644 hw/i2c/mpc8540_i2c.c
 create mode 100644 hw/i2c/trace-events
 create mode 100644 hw/ppc/mvme3100.c
 create mode 100644 hw/ppc/mvme3100_cpld.c
 create mode 100644 hw/timer/ds-rtc-i2c.c
 delete mode 100644 hw/timer/ds1338.c
 create mode 100644 tests/ds-rtc-i2c-test.c
 delete mode 100644 tests/ds1338-test.c
 create mode 100644 tests/libqos/i2c-e500.c
 create mode 100644 tests/mvme3100-test.c
Signature · 1 line
2.11.0