mbox series

[v3,0/5] Replace 'qemu_irq_split' with 'TYPE_SPLIT_IRQ'

Message ID 20220323173543.146442-1-zongyuan.li@smartx.com (mailing list archive)
Headers show
Series Replace 'qemu_irq_split' with 'TYPE_SPLIT_IRQ' | expand

Message

Zongyuan Li March 23, 2022, 5:35 p.m. UTC
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 rfc v2:

1. Replace all 'qemu_irq_split' calls in multiple boards
2. Remove 'qemu_irq_split' implementation and declaration

Zongyuan Li (5):
  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_combiner: replace 'qemu_split_irq' with 'TYPE_SPLIT_IRQ'
  hw/intc/exynos4210_gic: replace 'qemu_split_irq' with 'TYPE_SPLIT_IRQ'
  hw/core/irq: remove unused 'qemu_irq_split' function

 hw/arm/realview.c             | 41 +++++++++++++++++++++++++++--------
 hw/arm/stellaris.c            | 17 +++++++++++++--
 hw/core/irq.c                 | 15 -------------
 hw/intc/exynos4210_combiner.c | 32 +++++++++++++++++++++------
 hw/intc/exynos4210_gic.c      | 25 ++++++++++++++++++---
 include/hw/irq.h              |  5 -----
 6 files changed, 94 insertions(+), 41 deletions(-)