[PATCH v2 0/8] Add bios-tables-test for LoongArch system

Bibo Mao posted 8 patches 5 months, 4 weeks ago
Only 7 patches received!
There is a newer version of this series
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 -> 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 -> 5352 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.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 -> 216 bytes
tests/data/acpi/rebuild-expected-aml.sh       |   4 +-
.../bios-tables-test.loongarch64.iso.qcow2    | Bin 0 -> 12800 bytes
tests/qtest/bios-tables-test.c                |  99 ++++++++++++++++--
tests/qtest/meson.build                       |   1 +
tests/uefi-test-tools/Makefile                |   5 +-
.../UefiTestToolsPkg/UefiTestToolsPkg.dsc     |   6 +-
tests/uefi-test-tools/uefi-test-build.config  |  10 ++
24 files changed, 110 insertions(+), 15 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
create mode 100644 tests/data/uefi-boot-images/bios-tables-test.loongarch64.iso.qcow2
[PATCH v2 0/8] Add bios-tables-test for LoongArch system
Posted by Bibo Mao 5 months, 4 weeks ago
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 42.00s 5 subtests passed

---
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 (8):
  uefi-test-tools:: Add LoongArch64 support
  tests/data/uefi-boot-images: Add ISO image for LoongArch system
  tests/qtest/bios-tables-test: Use MiB macro rather hardcode value
  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 -> 213 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 -> 5352 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.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 -> 216 bytes
 tests/data/acpi/rebuild-expected-aml.sh       |   4 +-
 .../bios-tables-test.loongarch64.iso.qcow2    | Bin 0 -> 12800 bytes
 tests/qtest/bios-tables-test.c                |  99 ++++++++++++++++--
 tests/qtest/meson.build                       |   1 +
 tests/uefi-test-tools/Makefile                |   5 +-
 .../UefiTestToolsPkg/UefiTestToolsPkg.dsc     |   6 +-
 tests/uefi-test-tools/uefi-test-build.config  |  10 ++
 24 files changed, 110 insertions(+), 15 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
 create mode 100644 tests/data/uefi-boot-images/bios-tables-test.loongarch64.iso.qcow2


base-commit: 757a34115e7491744a63dfc3d291fd1de5297ee2
-- 
2.41.0