mbox series

[0/4] hw/intc/loongarch_extioi: CPU irq routing enhancement

Message ID 20250110090436.2831690-1-maobibo@loongson.cn (mailing list archive)
Headers show
Series hw/intc/loongarch_extioi: CPU irq routing enhancement | expand

Message

Bibo Mao Jan. 10, 2025, 9:04 a.m. UTC
LoongArch extioi can send intterrupt to multiple CPUs, physical cpu id is
used to route interrupt for CPUs.

With cpu hotplug feature in future, notification for extioi interrupt
controller is required. Here cpu hotplug interface is added on extioi
class, so that gpio irq line is connected to cpu irq line, and irq
routing can be setup.

Bibo Mao (4):
  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/loongarch/virt.c               | 12 ++---
 3 files changed, 87 insertions(+), 17 deletions(-)


base-commit: bc6afa1c711da5b4f37c9685a812c77b114d84cb