All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v5 0/4] Replace 'qemu_irq_split' with 'TYPE_SPLIT_IRQ'
@ 2022-03-24 18:15 Zongyuan Li
  2022-03-24 18:15 ` [PATCH v5 1/4] hw/arm/realview: replace 'qemu_split_irq' " Zongyuan Li
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: Zongyuan Li @ 2022-03-24 18:15 UTC (permalink / raw)
  To: qemu-devel; +Cc: Zongyuan Li

This patch set tries to replace 'qemu_irq_split' function with QOM
object 'TYPE_SPLIT_IRQ' and totally remove this call.

If this patch set is applied, issue:

https://gitlab.com/qemu-project/qemu/-/issues/811

can be closed.

Changes since v3:

1. Squash Patch 3 & 4 into one, since they would affect each other.
2. Use `object_initialize_with_child` and `qdev_realize` for device code.
3. Code style fixes.
4. Remove unnecessary `if` statement used with `qdev_realize_and_unref.
5. Narrow scope of some variables.

Changes since v4

1. Code style fixes.

Zongyuan Li (4):
  hw/arm/realview: replace 'qemu_split_irq' with 'TYPE_SPLIT_IRQ'
  hw/arm/stellaris: replace 'qemu_split_irq' with 'TYPE_SPLIT_IRQ'
  hw/intc/exynos4210: replace 'qemu_split_irq' in combiner and gic
  hw/core/irq: remove unused 'qemu_irq_split' function

 hw/arm/exynos4210.c           | 26 +++++++++++
 hw/arm/realview.c             | 33 ++++++++++----
 hw/arm/stellaris.c            | 15 ++++++-
 hw/core/irq.c                 | 15 -------
 hw/intc/exynos4210_combiner.c | 81 +++++++++++++++++++++++++++--------
 hw/intc/exynos4210_gic.c      | 36 +++++++++++++---
 include/hw/arm/exynos4210.h   | 11 ++---
 include/hw/core/split-irq.h   |  5 +--
 include/hw/irq.h              |  5 ---
 9 files changed, 163 insertions(+), 64 deletions(-)

-- 
2.34.0



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

end of thread, other threads:[~2022-04-21 10:18 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-24 18:15 [PATCH v5 0/4] Replace 'qemu_irq_split' with 'TYPE_SPLIT_IRQ' Zongyuan Li
2022-03-24 18:15 ` [PATCH v5 1/4] hw/arm/realview: replace 'qemu_split_irq' " Zongyuan Li
2022-04-01  9:31   ` Peter Maydell
2022-03-24 18:15 ` [PATCH v5 2/4] hw/arm/stellaris: " Zongyuan Li
2022-04-01  9:32   ` Peter Maydell
2022-03-24 18:15 ` [PATCH v5 3/4] hw/intc/exynos4210: replace 'qemu_split_irq' in combiner and gic Zongyuan Li
2022-04-01 13:17   ` Damien Hedde
2022-04-01 13:35   ` Peter Maydell
2022-04-02  2:28     ` Zongyuan Li
2022-03-24 18:15 ` [PATCH v5 4/4] hw/core/irq: remove unused 'qemu_irq_split' function Zongyuan Li
2022-04-21 10:14 ` [PATCH v5 0/4] Replace 'qemu_irq_split' with 'TYPE_SPLIT_IRQ' Peter Maydell

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.