Skip to content

hw/arm/raspi: Allow creating any Raspberry Pi machine

Philippe Mathieu-Daudé qemu-arm qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest12 patches 17 repliesIn review

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12hw/arm/raspi: Access SoC parent object using BCM283X_BASE() macrohw/arm/raspi.c hw/arm/raspi4b.c+2 -21 reply
2/12hw/arm/raspi: Merge model 4B with other modelshw/arm/meson.build hw/arm/raspi.c hw/arm/raspi4b.c+114 -1381 reply
3/12hw/arm/raspi: Unify RASPI_MACHINE typeshw/arm/raspi.c+7 -141 reply
4/12hw/arm/raspi: Pass board_rev as argument to raspi_base_machine_init()hw/arm/raspi.c include/hw/arm/raspi_platform.h+4 -60 replies
5/12hw/arm/raspi: Consider processor id in types[] arrayhw/arm/raspi.c+27 -61 reply
6/12hw/arm/raspi: Consider network interface for B modelshw/arm/raspi.c+14 -01 reply
7/12hw/arm/raspi: Check ramsize is within chipset aperturehw/arm/raspi.c+17 -41 reply
8/12hw/arm/raspi: Introduce generic Raspberry Pi machinehw/arm/raspi.c include/hw/arm/raspi_platform.h+115 -150 replies
9/12hw/arm/raspi: Have the generic machine take a 'revision' propertyhw/arm/raspi.c+39 -00 replies
10/12hw/arm/raspi: List models creatable by the generic 'raspi' machinehw/arm/raspi.c+27 -10 replies
11/12hw/arm/raspi: Deprecate old raspiX machine namesdocs/about/deprecated.rst hw/arm/raspi.c tests/functional/test_aarch64_raspi3.py +5 more+28 -1011 replies
12/12hw/arm/raspi: Support more modelshw/arm/raspi.c+13 -00 replies

Reviews trailers per patch

3 of 12 patches have a Reviewed-by or Acked-by.

PatchPeter Maydell
1/12R-b
2/12R-b
3/12
4/12
5/12
6/12
7/12R-b
8/12
9/12
10/12
11/12
12/12

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

Read the v2 thread

Cover letter [PATCH v2 00/12] hw/arm/raspi: Allow creating any Raspberry Pi machine

Full rewrite of v1 [1], addressing Zoltan & Peter suggestion.

Introduce a generic 'raspi' machine, which takes a 'model' and 'revision' properties, and any memory size. The 'board_rev' register is filled appropriately.

Before, merge raspi4b.c within raspi.c (more is planned here with the MPCore refactor [2]).

Regards,

Phil.

[1] https://lore.kernel.org/qemu-devel/[email protected]/
[2] https://lore.kernel.org/qemu-devel/[email protected]/

Philippe Mathieu-Daudé (12):
hw/arm/raspi: Access SoC parent object using BCM283X_BASE() macro hw/arm/raspi: Merge model 4B with other models hw/arm/raspi: Unify RASPI_MACHINE types
hw/arm/raspi: Pass board_rev as argument to raspi_base_machine_init() hw/arm/raspi: Consider processor id in types[] array hw/arm/raspi: Consider network interface for B models hw/arm/raspi: Check ramsize is within chipset aperture hw/arm/raspi: Introduce generic Raspberry Pi machine hw/arm/raspi: Have the generic machine take a 'revision' property hw/arm/raspi: List models creatable by the generic 'raspi' machine hw/arm/raspi: Deprecate old raspiX machine names hw/arm/raspi: Support more models

 docs/about/deprecated.rst               |  13 +
 include/hw/arm/raspi_platform.h         |   5 +-
 hw/arm/raspi.c                          | 383 ++++++++++++++++++++++--
 hw/arm/raspi4b.c                        | 136 ---------
 tests/qtest/bcm2835-dma-test.c          |   2 +-
 tests/qtest/bcm2835-i2c-test.c          |   2 +-
 tests/qtest/boot-serial-test.c          |   3 +-
 hw/arm/meson.build                      |   2 +-
 tests/functional/test_aarch64_raspi3.py |   5 +-
 tests/functional/test_aarch64_raspi4.py |   4 +-
 tests/functional/test_arm_raspi2.py     |   4 +-
 11 files changed, 385 insertions(+), 174 deletions(-)
 delete mode 100644 hw/arm/raspi4b.c
Signature · 1 line
2.47.1