summary refs log tree commit diff stats
path: root/hw/mips/loongson3_bootp.c
diff options
context:
space:
mode:
authorJiaxun Yang <jiaxun.yang@flygoat.com>2024-05-08 14:06:50 +0100
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2024-06-19 12:42:03 +0200
commitc3425158d67103b260543e842ddcc6731133ca0f (patch)
tree279901dec1269176f57599fda0b36d7a11c68b2e /hw/mips/loongson3_bootp.c
parent03ca348b6b9038ce284916b36c19f700ac0ce7a6 (diff)
downloadfocaccia-qemu-c3425158d67103b260543e842ddcc6731133ca0f.tar.gz
focaccia-qemu-c3425158d67103b260543e842ddcc6731133ca0f.zip
hw/mips/loongson3_virt: Wire up loongson_ipi device
Wire up loongson_ipi device for loongson3_virt machine, so we
can have SMP support for TCG backend as well.

Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Acked-by: Song Gao <gaosong@loongson.cn>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20240605-loongson3-ipi-v3-3-ddd2c0e03fa3@flygoat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Diffstat (limited to 'hw/mips/loongson3_bootp.c')
-rw-r--r--hw/mips/loongson3_bootp.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/hw/mips/loongson3_bootp.c b/hw/mips/loongson3_bootp.c
index 03a10b63c1..b97b81903b 100644
--- a/hw/mips/loongson3_bootp.c
+++ b/hw/mips/loongson3_bootp.c
@@ -25,8 +25,6 @@
 #include "hw/boards.h"
 #include "hw/mips/loongson3_bootp.h"
 
-#define LOONGSON3_CORE_PER_NODE 4
-
 static void init_cpu_info(void *g_cpuinfo, uint64_t cpu_freq)
 {
     struct efi_cpuinfo_loongson *c = g_cpuinfo;