mbox series

[0/3] hw/intc/loongarch_extioi: Add irq routing from physical cpu id

Message ID 20250102075357.2541410-1-maobibo@loongson.cn (mailing list archive)
Headers show
Series hw/intc/loongarch_extioi: Add irq routing from physical cpu id | expand

Message

bibo mao Jan. 2, 2025, 7:53 a.m. UTC
The similiar with IPI, physical cpu id is used for irq routing. Also
get cpu number from possible_cpu_arch_ids() and remove num-cpu
property for TYPE_LOONGARCH_EXTIOI_COMMON object.

Bibo Mao (3):
  hw/intc/loongarch_extioi: Get cpu number from possible_cpu_arch_ids
  hw/intc/loongarch_extioi: Remove num-cpu property
  hw/intc/loongarch_extioi: Add irq routing support from physical id

 hw/intc/loongarch_extioi.c                | 45 +++++++++++++++++------
 hw/intc/loongarch_extioi_common.c         | 14 -------
 hw/loongarch/virt.c                       |  1 -
 include/hw/intc/loongarch_extioi_common.h |  2 +
 4 files changed, 35 insertions(+), 27 deletions(-)


base-commit: 2b7a80e07a29074530a0ebc8005a418ee07b1faf