qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/7] hw/loongarch/virt: CPU irq routing enhancement
@ 2025-02-10  9:36 Bibo Mao
  2025-02-10  9:36 ` [PATCH v2 1/7] hw/intc/loongarch_ipi: Add basic hotplug framework Bibo Mao
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: Bibo Mao @ 2025-02-10  9:36 UTC (permalink / raw)
  To: Song Gao; +Cc: Jiaxun Yang, qemu-devel

Interrupt controller ipi and extioi on LoongArch system can send
intterrupt to multiple CPUs, physical cpu id is used to route interrupt
for CPUs.

With cpu hotplug feature in future, notification with ipi and extioi
interrupt controller is required. Since there is common Notifier API for
CPU hotplug, cpu hotplug interface is added on ipi and extioi class for
notification usage.

With CPU hotplug event notfication, gpio irq line is connected to cpu irq
line, and irq routing for irqchip is setup.

---
  v1 .. v2:
    1. Combine patchset ipi and extioi irq routing enhancement together
    2. Rebase patch based on latest version
---
Bibo Mao (7):
  hw/intc/loongarch_ipi: Add basic hotplug framework
  hw/intc/loongarch_ipi: Implment cpu hotplug interface
  hw/intc/loongarch_ipi: Notify ipi object when cpu is plugged
  hw/intc/loongarch_extioi: Move gpio irq initial to common code
  hw/intc/loongarch_extioi: Add basic hotplug framework
  hw/intc/loongarch_extioi: Implment cpu hotplug interface
  hw/intc/loongarch_extioi: Use cpu plug notification

 hw/intc/loongarch_extioi.c        |  8 +--
 hw/intc/loongarch_extioi_common.c | 84 ++++++++++++++++++++++++++++++-
 hw/intc/loongarch_ipi.c           | 71 ++++++++++++++++++++++++++
 hw/loongarch/virt.c               | 17 ++-----
 4 files changed, 159 insertions(+), 21 deletions(-)

-- 
2.39.3



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

end of thread, other threads:[~2025-02-10 10:41 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-10  9:36 [PATCH v2 0/7] hw/loongarch/virt: CPU irq routing enhancement Bibo Mao
2025-02-10  9:36 ` [PATCH v2 1/7] hw/intc/loongarch_ipi: Add basic hotplug framework Bibo Mao
2025-02-10  9:36 ` [PATCH v2 2/7] hw/intc/loongarch_ipi: Implment cpu hotplug interface Bibo Mao
2025-02-10  9:36 ` [PATCH v2 3/7] hw/intc/loongarch_ipi: Notify ipi object when cpu is plugged Bibo Mao
2025-02-10  9:36 ` [PATCH v2 4/7] hw/intc/loongarch_extioi: Move gpio irq initial to common code Bibo Mao
2025-02-10  9:36 ` [PATCH v2 5/7] hw/intc/loongarch_extioi: Add basic hotplug framework Bibo Mao
2025-02-10  9:36 ` [PATCH v2 6/7] hw/intc/loongarch_extioi: Implment cpu hotplug interface Bibo Mao
2025-02-10  9:36 ` [PATCH v2 7/7] hw/intc/loongarch_extioi: Use cpu plug notification Bibo Mao
2025-02-10 10:41 ` [PATCH v2 0/7] hw/loongarch/virt: CPU irq routing enhancement Philippe Mathieu-Daudé

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