qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v2 00/14] GPIO/IRQ QOMification: Phase 2 - Getting rid of SYSBUS IRQs
@ 2014-08-15  5:29 Peter Crosthwaite
  2014-08-15  5:29 ` [Qemu-devel] [PATCH v2 01/14] qdev: gpio: Don't allow name share between I and O Peter Crosthwaite
                   ` (15 more replies)
  0 siblings, 16 replies; 21+ messages in thread
From: Peter Crosthwaite @ 2014-08-15  5:29 UTC (permalink / raw)
  To: qemu-devel; +Cc: peter.maydell, pbonzini, agraf, afaerber


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.

Depends of my pending QOM array property stuff (the "[*]" series):

https://lists.nongnu.org/archive/html/qemu-devel/2014-07/msg04116.html

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    |  6 ++--
 qobject/qstring.c      | 12 ++++---
 qom/object.c           | 10 ++++--
 qtest.c                | 15 ++++++---
 9 files changed, 120 insertions(+), 48 deletions(-)

-- 
2.0.1.1.gfbfc394

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

end of thread, other threads:[~2014-09-23 21:49 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-15  5:29 [Qemu-devel] [PATCH v2 00/14] GPIO/IRQ QOMification: Phase 2 - Getting rid of SYSBUS IRQs Peter Crosthwaite
2014-08-15  5:29 ` [Qemu-devel] [PATCH v2 01/14] qdev: gpio: Don't allow name share between I and O Peter Crosthwaite
2014-08-15  5:30 ` [Qemu-devel] [PATCH v2 02/14] qdev: gpio: Register GPIO inputs as child objects Peter Crosthwaite
2014-08-15  5:30 ` [Qemu-devel] [PATCH v2 03/14] qdev: gpio: Register GPIO outputs as QOM links Peter Crosthwaite
2014-08-15  5:31 ` [Qemu-devel] [PATCH v2 04/14] qmp: qstring: Handle NULL strings Peter Crosthwaite
2014-08-15  5:32 ` [Qemu-devel] [PATCH v2 05/14] qom: Allow clearing of a Link property Peter Crosthwaite
2014-08-15  5:32 ` [Qemu-devel] [PATCH v2 06/14] qom: Demote already-has-a-parent to a regular error Peter Crosthwaite
2014-08-15  5:33 ` [Qemu-devel] [PATCH v2 07/14] qdev: gpio: Re-impement qdev_connect_gpio QOM style Peter Crosthwaite
2014-08-15  5:33 ` [Qemu-devel] [PATCH v2 08/14] qdev: gpio: Add API for intercepting a GPIO Peter Crosthwaite
2014-08-15  5:34 ` [Qemu-devel] [PATCH v2 09/14] qtest/irq: Rework IRQ interception Peter Crosthwaite
2014-08-15  5:34 ` [Qemu-devel] [PATCH v2 10/14] irq: Remove qemu_irq_intercept_out Peter Crosthwaite
2014-08-15  5:35 ` [Qemu-devel] [PATCH v2 11/14] qdev: gpio: delete NamedGPIOList::out Peter Crosthwaite
2014-08-15  5:35 ` [Qemu-devel] [PATCH v2 12/14] qdev: gpio: Remove qdev_init_gpio_out x1 restriction Peter Crosthwaite
2014-08-15  5:36 ` [Qemu-devel] [PATCH v2 13/14] qdev: gpio: Define qdev_pass_gpios() Peter Crosthwaite
2014-08-15  5:37 ` [Qemu-devel] [PATCH v2 14/14] sysbus: Use TYPE_DEVICE GPIO functionality Peter Crosthwaite
2014-08-28 11:32   ` Alexander Graf
2014-08-21  9:23 ` [Qemu-devel] [PATCH v2 00/14] GPIO/IRQ QOMification: Phase 2 - Getting rid of SYSBUS IRQs Alexander Graf
2014-08-25  7:09   ` Peter Crosthwaite
2014-08-28 11:59 ` Alexander Graf
2014-08-28 12:23   ` Alexander Graf
2014-09-23 21:49     ` Alexander Graf

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