hw/intc/loongarch_ipi: Implment cpu hotplug interface
authorBibo Mao <maobibo@loongson.cn>
Mon, 20 Jan 2025 04:02:30 +0000 (12:02 +0800)
committerBibo Mao <maobibo@loongson.cn>
Wed, 5 Mar 2025 01:39:17 +0000 (09:39 +0800)
commit54492213e6a2be203afff03098a188a0a2413fc9
tree94a07da17f381bbefdccf09bdb98b322f2ca7f4a
parent9d71149a64f0ab051575a3f534e80918a3ca8610
hw/intc/loongarch_ipi: Implment cpu hotplug interface

Add logic cpu allocation and cpu mapping with cpu hotplug interface.
When cpu is added, connect ipi gpio irq to CPU IRQ_IPI irq pin.

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