mbox series

[0/3] hw/loongarch/virt: CPU irq line connection improvement

Message ID 20250121121032.475235-1-maobibo@loongson.cn (mailing list archive)
Headers show
Series hw/loongarch/virt: CPU irq line connection improvement | expand

Message

Bibo Mao Jan. 21, 2025, 12:10 p.m. UTC
Interrupt controller extioi and ipi connect to multiple CPUs with irq line
method. Here possible_cpu_arch_ids() is used rather than smp.cpus.

With command -smp x, -device la464-loongarch-cpu, smp.cpus
is not accurate for all possible CPU objects, possible_cpu_arch_ids()
is used here.

Bibo Mao (3):
  hw/loongarch/virt: Set iocsr address space when CPU is created
  hw/loongarch/virt: Remove unused ipistate
  hw/loongarch/virt: CPU irq line connection improvement

 hw/loongarch/virt.c         | 67 ++++++++++++++++++++-----------------
 include/hw/loongarch/virt.h |  2 ++
 target/loongarch/cpu.h      |  2 --
 3 files changed, 39 insertions(+), 32 deletions(-)


base-commit: 20fac491cfeebb042f59cc61ae76fed1b397d25c