hw/loongarch: Add acpi ged support
commit735143f10d3e74523f25444c57d61d51ffd57167
authorXiaojuan Yang <yangxiaojuan@loongson.cn>
Tue, 12 Jul 2022 08:32:05 +0000 (12 16:32 +0800)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 19 Jul 2022 17:25:10 +0000 (19 22:55 +0530)
tree3d3dc87d5c12b9cb9dc7c90c29d2dc89dc788c3e
parent3efa6fa1e629b91400e020be42e118fedd8f11ce
hw/loongarch: Add acpi ged support

Loongarch virt machine uses general hardware reduces acpi method, rather
than LS7A acpi device. Now only power management function is used in
acpi ged device, memory hotplug will be added later. Also acpi tables
such as RSDP/RSDT/FADT etc.

The acpi table has submited to acpi spec, and will release soon.

Acked-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Xiaojuan Yang <yangxiaojuan@loongson.cn>
Message-Id: <20220712083206.4187715-6-yangxiaojuan@loongson.cn>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
hw/loongarch/Kconfig
hw/loongarch/acpi-build.c [new file with mode: 0644]
hw/loongarch/loongson3.c
hw/loongarch/meson.build
include/hw/loongarch/virt.h
include/hw/pci-host/ls7a.h