Skip to content

hw/arm/raspi: Dynamically create machines based on the board revision

Philippe Mathieu-Daudé qemu-arm qemu-devel qemu-trivial 3 versions – Applied

Status from this message: Applied to target-arm.next with the commit message tweak for

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest13 patches 19 repliesApplied
  2. v230 patches 5 repliesSuperseded
  3. v16 patches 4 repliesSuperseded

Changes in v3 from the cover letter

- Split of bigger series (30 patches was scary)
- addressed Zoltan review comments

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/13hw/arm/raspi: Use BCM2708 machine type with pre Device Tree kernelshw/arm/raspi.c+3 -31 reply
2/13hw/arm/raspi: Correct the board descriptionshw/arm/raspi.c+2 -22 replies
3/13hw/arm/raspi: Extract the version from the board revisionhw/arm/raspi.c+27 -42 replies
4/13hw/arm/raspi: Extract the RAM size from the board revisionhw/arm/raspi.c+12 -30 replies
5/13hw/arm/raspi: Extract the processor type from the board revisionhw/arm/raspi.c+16 -20 replies
6/13hw/arm/raspi: Trivial code movementhw/arm/raspi.c+2 -31 reply
7/13hw/arm/raspi: Make machines children of abstract RaspiMachineClasshw/arm/raspi.c+49 -71 reply
8/13hw/arm/raspi: Make board_rev a field of RaspiMachineClasshw/arm/raspi.c+14 -33 replies
9/13hw/arm/raspi: Let class_init() directly call raspi_machine_init()hw/arm/raspi.c+3 -131 reply
10/13hw/arm/raspi: Set default RAM size to size encoded in board revisionhw/arm/raspi.c+2 -20 replies
11/13hw/arm/raspi: Extract the board model from the board revisionhw/arm/raspi.c+16 -20 replies
12/13hw/arm/raspi: Use a unique raspi_machine_class_init() methodhw/arm/raspi.c+6 -256 replies
13/13hw/arm/raspi: Extract the cores count from the board revisionhw/arm/raspi.c+16 -31 reply

Reviews trailers per patch

7 of 13 patches have a Reviewed-by or Acked-by.

PatchAlistair FrancisIgor MammedovNiek Linnenbank
1/13R-b R-b
2/13
3/13
4/13A-b
5/13
6/13A-b
7/13A-b
8/13R-b
9/13R-b
10/13
11/13
12/13R-b
13/13

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v3 thread

Cover letter [PATCH v3 00/13] hw/arm/raspi: Dynamically create machines based on the board revision

Hi,

This series is a preparatory to easily add the raspi0/raspi1/raspi4 boards (see [1]).

Igor has been working in his "refactor main RAM allocation to use hostmem backend" series, and now v4 [2] is almost reviewed.

His raspi patch [3] clashes with my work, Since it is easier for him to apply his on top of mine, I am sending these patches first.

Since v2:
- Split of bigger series (30 patches was scary)
- addressed Zoltan review comments

Phil.

[1] https://www.mail-archive.com/[email protected]/msg677145.html
[2] https://www.mail-archive.com/[email protected]/msg675738.html
[3] https://www.mail-archive.com/[email protected]/msg675752.html
Supersedes: <[email protected]>

Philippe Mathieu-Daudé (13):
hw/arm/raspi: Use BCM2708 machine type with pre Device Tree kernels hw/arm/raspi: Correct the board descriptions hw/arm/raspi: Extract the version from the board revision hw/arm/raspi: Extract the RAM size from the board revision hw/arm/raspi: Extract the processor type from the board revision hw/arm/raspi: Trivial code movement
hw/arm/raspi: Make machines children of abstract RaspiMachineClass hw/arm/raspi: Make board_rev a field of RaspiMachineClass hw/arm/raspi: Let class_init() directly call raspi_machine_init() hw/arm/raspi: Set default RAM size to size encoded in board revision hw/arm/raspi: Extract the board model from the board revision hw/arm/raspi: Use a unique raspi_machine_class_init() method hw/arm/raspi: Extract the cores count from the board revision

 hw/arm/raspi.c | 190 +++++++++++++++++++++++++++++++++++++------------
 1 file changed, 143 insertions(+), 47 deletions(-)
Signature · 1 line
2.21.1