qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v5 0/3] hw/sparc/leon3: Strengthen SysBus & QBus API
@ 2024-02-15 14:46 Philippe Mathieu-Daudé
  2024-02-15 14:46 ` [PATCH v5 1/3] hw/sparc/leon3: Pass DeviceState opaque argument to leon3_set_pil_in() Philippe Mathieu-Daudé
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Philippe Mathieu-Daudé @ 2024-02-15 14:46 UTC (permalink / raw)
  To: qemu-devel
  Cc: Clément Chigot, Frederic Konrad, Mark Cave-Ayland,
	Artyom Tarasenko, Philippe Mathieu-Daudé

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/20240131085047.18458-1-chigot@adacore.com/
[2] https://lore.kernel.org/qemu-devel/20240213130341.1793-1-philmd@linaro.org/

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(-)

-- 
2.41.0



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-02-15 17:49 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-15 14:46 [PATCH v5 0/3] hw/sparc/leon3: Strengthen SysBus & QBus API Philippe Mathieu-Daudé
2024-02-15 14:46 ` [PATCH v5 1/3] hw/sparc/leon3: Pass DeviceState opaque argument to leon3_set_pil_in() Philippe Mathieu-Daudé
2024-02-15 15:42   ` Mark Cave-Ayland
2024-02-15 14:46 ` [PATCH v5 2/3] hw/sparc/leon3: Pass DeviceState opaque argument to leon3_start_cpu() Philippe Mathieu-Daudé
2024-02-15 15:43   ` Mark Cave-Ayland
2024-02-15 14:46 ` [PATCH v5 3/3] hw/sparc/leon3: Initialize GPIO before realizing CPU devices Philippe Mathieu-Daudé
2024-02-15 17:48 ` [PATCH v5 0/3] hw/sparc/leon3: Strengthen SysBus & QBus API Philippe Mathieu-Daudé

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).