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
--
2.39.3