hw/intc/loongarch_ipi: Notify ipi object when cpu is plugged
authorBibo Mao <maobibo@loongson.cn>
Mon, 10 Feb 2025 02:19:49 +0000 (10:19 +0800)
committerBibo Mao <maobibo@loongson.cn>
Wed, 5 Mar 2025 01:39:17 +0000 (09:39 +0800)
commit50ebc3fc47f7e4133e0d5e2674a1db17ddd5e815
tree9aa2e7cf6000f5913715b307e08a9a50ea666825
parent54492213e6a2be203afff03098a188a0a2413fc9
hw/intc/loongarch_ipi: Notify ipi object when cpu is plugged

Use hotplug_handler_plug() to nofity ipi object when cold-plug
cpu is created, so that ipi can set and configure irq routing
to new cpu.

Signed-off-by: Bibo Mao <maobibo@loongson.cn>
hw/loongarch/virt.c