This patchset adds bios-tables-test for LoongArch64 virt machine
system. Some basic ACPI tables is added here, and it passes with
command make check-qtest-loongarch64 with the result:
qtest-loongarch64/bios-tables-test OK 42.00s 5 subtests passed
---
v2 .. v3:
1. Replace parameter cores=4,threads=2 with cores=2,threads=2 in test
case test_acpi_loongarch64_virt_topology(), so that it passes to
run on big endian S390 qemu host.
v1 .. v2:
1. Replace 1024 * 1024 with MiB macro.
2. Add memory size of all node and node instance and with numa memory
test case.
3. Remove requirement with virtio-blk-pci with test case.
4. Merge patch 6 and patch 3 into together, and adjust patch order.
5. Add oem-id test case.
---
Bibo Mao (5):
tests/acpi: Add empty ACPI data files for LoongArch
tests/qtest/bios-tables-test: Add basic testing for LoongArch
rebuild-expected-aml.sh: Add support for LoongArch
tests/acpi: Fill acpi table data for LoongArch
tests/acpi: Remove stale allowed tables
tests/data/acpi/loongarch64/virt/APIC | Bin 0 -> 108 bytes
.../data/acpi/loongarch64/virt/APIC.topology | Bin 0 -> 153 bytes
tests/data/acpi/loongarch64/virt/DSDT | Bin 0 -> 4641 bytes
tests/data/acpi/loongarch64/virt/DSDT.memhp | Bin 0 -> 5862 bytes
tests/data/acpi/loongarch64/virt/DSDT.numamem | Bin 0 -> 4647 bytes
.../data/acpi/loongarch64/virt/DSDT.topology | Bin 0 -> 4943 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 -> 176 bytes
tests/data/acpi/loongarch64/virt/SLIT | 0
tests/data/acpi/loongarch64/virt/SLIT.numamem | 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 -> 144 bytes
tests/data/acpi/loongarch64/virt/SRAT.numamem | Bin 0 -> 144 bytes
.../data/acpi/loongarch64/virt/SRAT.topology | Bin 0 -> 152 bytes
tests/data/acpi/rebuild-expected-aml.sh | 4 +-
tests/qtest/bios-tables-test.c | 79 ++++++++++++++++++
tests/qtest/meson.build | 1 +
20 files changed, 82 insertions(+), 2 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/DSDT.numamem
create mode 100644 tests/data/acpi/loongarch64/virt/DSDT.topology
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.numamem
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.numamem
create mode 100644 tests/data/acpi/loongarch64/virt/SRAT.topology
base-commit: d9ce74873a6a5a7c504379857461e4ae64fcf0cd
--
2.39.3