mbox series

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

Message ID 20250106073627.3403177-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. 6, 2025, 7:36 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.
---
  v1 ... v2:
    1. Move assignment for arch_id and cpu to file loongarch_extioi_common

---

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                | 36 ++++++++++++++++-------
 hw/intc/loongarch_extioi_common.c         | 17 +++++++++--
 hw/loongarch/virt.c                       |  1 -
 include/hw/intc/loongarch_extioi_common.h |  2 ++
 4 files changed, 42 insertions(+), 14 deletions(-)


base-commit: 9ee90cfc25747ab25c7da31a50f167fc5122e20e