GPIO/IRQ QOMification: Phase 2 - Getting rid of SYSBUS IRQs
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest14 patches 7 repliesIn review
- v214 patches 6 repliesSuperseded
- v116 patches 16 repliesSuperseded
Changes in v3 from the cover letter
Remove num_irq from sysbus (P14)
Removed out of tree deps.
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/14 | qdev: gpio: Don't allow name share between I and Ohw/ | +2 | 0 replies | |
| 2/14 | qdev: gpio: Register GPIO inputs as child objectshw/ | +9 | 0 replies | |
| 3/14 | qdev: gpio: Register GPIO outputs as QOM linkshw/ | +12 | 0 replies | |
| 4/14 | qmp: qstring: Handle NULL stringsqobject/ | +7 | 2 replies | |
| 5/14 | qom: Allow clearing of a Link propertyqom/ | +2 | 2 replies | |
| 6/14 | qom: Demote already-has-a-parent to a regular errorqom/ | +5 | 0 replies | |
| 7/14 | qdev: gpio: Re-impement qdev_connect_gpio QOM stylehw/ | +8 | 1 reply | |
| 8/14 | qdev: gpio: Add API for intercepting a GPIOhw/ include/ | +27 | 0 replies | |
| 9/14 | qtest/irq: Rework IRQ interceptionhw/ qtest.c | +12 | 0 replies | |
| 10/14 | irq: Remove qemu_irq_intercept_outhw/ include/ | +0 | 0 replies | |
| 11/14 | qdev: gpio: delete NamedGPIOList::outhw/ include/ | +0 | 0 replies | |
| 12/14 | qdev: gpio: Remove qdev_init_gpio_out x1 restrictionhw/ | +1 | 0 replies | |
| 13/14 | qdev: gpio: Define qdev_pass_gpios()hw/ include/ | +29 | 0 replies | |
| 14/14 | sysbus: Use TYPE_DEVICE GPIO functionalityhw/ include/ | +6 | 0 replies |
Reviews trailers per patch
All 14 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Alexander Graf | Paolo Bonzini |
|---|---|---|
| Series | R-b | |
| 1/14 | R-b | |
| 2/14 | R-b | |
| 3/14 | R-b | |
| 4/14 | R-b | |
| 5/14 | R-b | |
| 6/14 | R-b | |
| 7/14 | R-b | |
| 8/14 | R-b | |
| 9/14 | R-b | |
| 10/14 | R-b | |
| 11/14 | R-b | |
| 12/14 | R-b | |
| 13/14 | R-b | |
| 14/14 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [Qemu-devel] [PATCH qom v3 00/14] GPIO/IRQ QOMification: Phase 2 - Getting rid of SYSBUS IRQs
Hi All,
So phase one was the QOMification of qemu_irq. This is the next step. We start to setup GPIOs as proper QOM objects. Inputs are child objects of their device. Outputs are settable Links and connection is made via proper setting of a QOM link.
We then cleanup Sysbus to simply re-use device level GPIOs and get rid of it's special IRQ handling code.
CHanged since v2:
Remove num_irq from sysbus (P14)
Removed out of tree deps.
Changed since v1:
Addressed Alex review
Dropped IRQ g_new0 changes
Peter Crosthwaite (14):
qdev: gpio: Don't allow name share between I and O
qdev: gpio: Register GPIO inputs as child objects
qdev: gpio: Register GPIO outputs as QOM links
qmp: qstring: Handle NULL strings
qom: Allow clearing of a Link property
qom: Demote already-has-a-parent to a regular error
qdev: gpio: Re-impement qdev_connect_gpio QOM style
qdev: gpio: Add API for intercepting a GPIO qtest/irq: Rework IRQ interception
irq: Remove qemu_irq_intercept_out
qdev: gpio: delete NamedGPIOList::out
qdev: gpio: Remove qdev_init_gpio_out x1 restriction
qdev: gpio: Define qdev_pass_gpios()
sysbus: Use TYPE_DEVICE GPIO functionality
hw/core/irq.c | 8 +---- hw/core/qdev.c | 90 ++++++++++++++++++++++++++++++++++++++++++++++---- hw/core/sysbus.c | 20 ++--------- include/hw/irq.h | 1 - include/hw/qdev-core.h | 6 +++- include/hw/sysbus.h | 7 ++-- qobject/qstring.c | 12 ++++--- qom/object.c | 10 ++++-- qtest.c | 15 ++++++--- 9 files changed, 120 insertions(+), 49 deletions(-)
Signature · 1 line
2.1.0.1.g27b9230