This patchset add bios-tables-test for LoongArch64 virt machine system. It works with UEFI bios, with uefi-test-tools LoongArch64 support is added to build bios-tables-test.loongarch64.iso.
Also with test case bios-tables-test, LoongArch64 support is added and some basic ACPI tables is added here. It passes with command make check-qtest-loongarch64 with the result: qtest-loongarch64/bios-tables-test OK 29.52s 4 subtests passed Bibo Mao (6): uefi-test-tools:: Add LoongArch64 support tests/data/uefi-boot-images: Add ISO image for LoongArch system tests/qtest/bios-tables-test: Add basic testing for LoongArch64 tests/acpi: Add empty ACPI data files for LoongArch64 tests/acpi: Fill acpi table data for LoongArch tests/qtest: Enable bios-tables-test for LoongArch tests/data/acpi/loongarch64/virt/APIC | Bin 0 -> 108 bytes .../data/acpi/loongarch64/virt/APIC.topology | Bin 0 -> 213 bytes tests/data/acpi/loongarch64/virt/DSDT | Bin 0 -> 3614 bytes tests/data/acpi/loongarch64/virt/DSDT.memhp | Bin 0 -> 4951 bytes tests/data/acpi/loongarch64/virt/FACP | Bin 0 -> 268 bytes tests/data/acpi/loongarch64/virt/MCFG | Bin 0 -> 60 bytes tests/data/acpi/loongarch64/virt/PPTT | Bin 0 -> 76 bytes .../data/acpi/loongarch64/virt/PPTT.topology | Bin 0 -> 296 bytes tests/data/acpi/loongarch64/virt/SLIT | 0 tests/data/acpi/loongarch64/virt/SLIT.memhp | Bin 0 -> 48 bytes tests/data/acpi/loongarch64/virt/SPCR | Bin 0 -> 80 bytes tests/data/acpi/loongarch64/virt/SRAT | Bin 0 -> 104 bytes tests/data/acpi/loongarch64/virt/SRAT.memhp | Bin 0 -> 184 bytes .../data/acpi/loongarch64/virt/SRAT.topology | Bin 0 -> 216 bytes .../bios-tables-test.loongarch64.iso.qcow2 | Bin 0 -> 12800 bytes tests/qtest/bios-tables-test.c | 62 ++++++++++++++++++ tests/qtest/meson.build | 3 +- tests/uefi-test-tools/Makefile | 5 +- .../UefiTestToolsPkg/UefiTestToolsPkg.dsc | 6 +- tests/uefi-test-tools/uefi-test-build.config | 10 +++ 20 files changed, 82 insertions(+), 4 deletions(-) create mode 100644 tests/data/acpi/loongarch64/virt/APIC create mode 100644 tests/data/acpi/loongarch64/virt/APIC.topology create mode 100644 tests/data/acpi/loongarch64/virt/DSDT create mode 100644 tests/data/acpi/loongarch64/virt/DSDT.memhp create mode 100644 tests/data/acpi/loongarch64/virt/FACP create mode 100644 tests/data/acpi/loongarch64/virt/MCFG create mode 100644 tests/data/acpi/loongarch64/virt/PPTT create mode 100644 tests/data/acpi/loongarch64/virt/PPTT.topology create mode 100644 tests/data/acpi/loongarch64/virt/SLIT create mode 100644 tests/data/acpi/loongarch64/virt/SLIT.memhp create mode 100644 tests/data/acpi/loongarch64/virt/SPCR create mode 100644 tests/data/acpi/loongarch64/virt/SRAT create mode 100644 tests/data/acpi/loongarch64/virt/SRAT.memhp create mode 100644 tests/data/acpi/loongarch64/virt/SRAT.topology create mode 100644 tests/data/uefi-boot-images/bios-tables-test.loongarch64.iso.qcow2 base-commit: b69801dd6b1eb4d107f7c2f643adf0a4e3ec9124 -- 2.39.3