On 7/12/22 14:02, Xiaojuan Yang wrote:
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.
Signed-off-by: Xiaojuan Yang<yangxiaoj...@loongson.cn>
---
hw/loongarch/Kconfig | 2 +
hw/loongarch/acpi-build.c | 609 ++++++++++++++++++++++++++++++++++++
hw/loongarch/loongson3.c | 78 ++++-
hw/loongarch/meson.build | 1 +
include/hw/loongarch/virt.h | 13 +
include/hw/pci-host/ls7a.h | 4 +
6 files changed, 704 insertions(+), 3 deletions(-)
create mode 100644 hw/loongarch/acpi-build.c
I'm not familiar with this at all, but it looks plausible.
Acked-by: Richard Henderson <richard.hender...@linaro.org>
r~