In order to start the latest community BIOS and kernel of LoongArch, we have added the following patches.
This series add some functions for LoongArch, and fix some errors. Add bios, kernel, fdt, smbios and acpi options support. The kernel file: * https://github.com/loongson/linux/tree/loongarch-next The bios file: * https://github.com/loongson/edk2 * https://github.com/loongson/edk2-platforms Xiaojuan Yang (8): hw/loongarch: Add default bios startup support hw/loongarch: Add -kernel and -initrd options support hw/loongarch: Add LoongArch smbios support hw/loongarch: Add LoongArch acpi support hw/loongarch: Add fdt support hw/loongarch: Fix loongarch ipi device target/loongarch: Fix vector size of exception entry address target/loongarch: Fix csrwr timer clear hw/intc/loongarch_ipi.c | 85 +++-- hw/loongarch/Kconfig | 3 + hw/loongarch/acpi-build.c | 620 ++++++++++++++++++++++++++++++++ hw/loongarch/fw_cfg.c | 33 ++ hw/loongarch/fw_cfg.h | 15 + hw/loongarch/loongson3.c | 457 +++++++++++++++++++++-- hw/loongarch/meson.build | 4 + include/hw/intc/loongarch_ipi.h | 8 +- include/hw/loongarch/virt.h | 25 ++ include/hw/pci-host/ls7a.h | 5 + target/loongarch/cpu.c | 5 + target/loongarch/cpu.h | 3 + target/loongarch/csr_helper.c | 2 + 13 files changed, 1213 insertions(+), 52 deletions(-) create mode 100644 hw/loongarch/acpi-build.c create mode 100644 hw/loongarch/fw_cfg.c create mode 100644 hw/loongarch/fw_cfg.h -- 2.31.1