hw/loongarch/virt: Update the ACPI table for hotplug cpu
authorBibo Mao <maobibo@loongson.cn>
Mon, 10 Feb 2025 08:47:00 +0000 (16:47 +0800)
committerBibo Mao <maobibo@loongson.cn>
Wed, 5 Mar 2025 01:39:18 +0000 (09:39 +0800)
commit25cdac981fd012d9b96d8db9a809841c7e521154
treedf4ef6fd95e5a0884724c35393a414ff3ad75be1
parentab9935d2991e620482b10a261e264f0e6e16ed61
hw/loongarch/virt: Update the ACPI table for hotplug cpu

On LoongArch virt machine, ACPI GED hardware is used for CPU hotplug
handler, here CPU hotplug support feature is added based on GED handler,
also CPU scan and reject method is added about CPU device in DSDT table.

Co-developed-by: Xianglai Li <lixianglai@loongson.cn>
Signed-off-by: Bibo Mao <maobibo@loongson.cn>
hw/loongarch/Kconfig
hw/loongarch/virt-acpi-build.c
hw/loongarch/virt.c
include/hw/loongarch/virt.h