Now it can boot with SMP. TCG SMP appears to be extremely slow that the boot time extended for about 3 times. Also I tried to enable MTTCG for mips64el but system get stucked at boot.
Jiaxun Yang (2): hw/intc: Add Loongson Inter Processor Interrupt controller hw/mips/loongson3_virt: Add TCG SMP support hw/intc/Kconfig | 3 + hw/intc/loongson_ipi.c | 146 +++++++++++++++++++++++++++++++++ hw/intc/meson.build | 1 + hw/mips/Kconfig | 1 + hw/mips/loongson3_bootp.h | 1 + hw/mips/loongson3_virt.c | 20 ++++- include/hw/intc/loongson_ipi.h | 20 +++++ 7 files changed, 191 insertions(+), 1 deletion(-) create mode 100644 hw/intc/loongson_ipi.c create mode 100644 include/hw/intc/loongson_ipi.h -- 2.30.0