mbox series

[0/3] hw/intc/loongarch_ipi: CPU irq routing enhancement

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

Message

Bibo Mao Jan. 21, 2025, 2:37 a.m. UTC
LoongArch ipi can send intterrupt to multiple CPUs, physical cpu id is
used to route interrupt for CPUs.

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

Bibo Mao (3):
  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_ipi.c | 71 +++++++++++++++++++++++++++++++++++++++++
 hw/loongarch/virt.c     |  4 +--
 2 files changed, 73 insertions(+), 2 deletions(-)


base-commit: 20fac491cfeebb042f59cc61ae76fed1b397d25c