Skip to content

hw/sparc/leon3: Strengthen SysBus & QBus API

Philippe Mathieu-Daudé qemu-devel 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest3 patches 3 repliesIn review
  2. v412 patches 10 repliesSuperseded
  3. v311 patches 33 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v212 patches11 repliesSuperseded
v112 patches16 repliesSuperseded

Changes in v5 from the cover letter

- Rebased on Leon3 SMP support [1].
- qdev_init_gpio_in_named( leon3_start_cpu ) without opaque

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3hw/sparc/leon3: Pass DeviceState opaque argument to leon3_set_pil_in()hw/sparc/leon3.c+4 -61 reply
2/3hw/sparc/leon3: Pass DeviceState opaque argument to leon3_start_cpu()hw/sparc/leon3.c+3 -31 reply
3/3hw/sparc/leon3: Initialize GPIO before realizing CPU deviceshw/sparc/leon3.c+4 -30 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchPeter MaydellMark Cave-Ayland
1/3R-b
2/3R-b
3/3R-b R-b

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

Read the v5 thread

Cover letter [PATCH v5 0/3] hw/sparc/leon3: Strengthen SysBus & QBus API

Since v4:
- Rebased on Leon3 SMP support [1].
- qdev_init_gpio_in_named( leon3_start_cpu ) without opaque

This is the rebased patches of v4 [2]. See cover:

Hi,

This series ensure following is called *before* a
device is realized:
- qbus_new()
- sysbus_init_mmio()
- qdev_init_gpio_in_named_with_opaque()

and these are called *after* it is:
- sysbus_mmio_map()
- sysbus_connect_irq(),
- qdev_connect_gpio_out()
- qdev_connect_gpio_out_named()

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

Philippe Mathieu-Daudé (3):
hw/sparc/leon3: Pass DeviceState opaque argument to leon3_set_pil_in() hw/sparc/leon3: Pass DeviceState opaque argument to leon3_start_cpu() hw/sparc/leon3: Initialize GPIO before realizing CPU devices

 hw/sparc/leon3.c | 19 +++++++++----------
 1 file changed, 9 insertions(+), 10 deletions(-)
Signature · 1 line
2.41.0