[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v5 0/3] hw/sparc/leon3: Strengthen SysBus & QBus API
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH v5 0/3] hw/sparc/leon3: Strengthen SysBus & QBus API |
Date: |
Thu, 15 Feb 2024 15:46:19 +0100 |
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] 20240213130341.1793-1-philmd@linaro.org/">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
- [PATCH v5 0/3] hw/sparc/leon3: Strengthen SysBus & QBus API,
Philippe Mathieu-Daudé <=