[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 00/15] tests: acpi: add x2apic and various iommu tests
From: |
Igor Mammedov |
Subject: |
[PATCH v2 00/15] tests: acpi: add x2apic and various iommu tests |
Date: |
Thu, 2 Sep 2021 07:35:36 -0400 |
Changelog:
v2:
* rebase and update expected blobs on top of 6.1
* drop ARM/IORT test case, whihc with current master
requires KVM, but we can't run ACPI tests since
virt machine on KVM changes irqchip to match host
and so ACPI tables chage as well. There is a series
on list that add TCG SMMUv3 support and IORT ACPI
test along with it, so it will be take care of IORT
table when merged.
In preparation to ACPI refactoring, the series adds test-cases and
expected ACPI table blobs for:
* configuration where x2APIC is used (i.e more than 255 cpus)
* Intel/AMD IOMMUs ACPI tables
Also x2APIC test requires KVM to run, so series adds qtest_has_accel()
API and cleanups tests that used adhoc ways to check for KVM presence.
Series is split from a larger refactoring series:
https://www.mail-archive.com/qemu-devel@nongnu.org/msg818845.html
gitlab repo for testing:
https://gitlab.com/imammedo/qemu acpi-tests-v2
CC: mst@redhat.com
Igor Mammedov (15):
tests: acpi: dump table with failed checksum
tests: qtest: add qtest_has_accel() to check if tested binary supports
accelerator
tests: acpi: whitelist expected tables for acpi/q35/xapic testcase
tests: acpi: q35: test for x2APIC entries in SRAT
tests: acpi: update expected tables blobs
tests: acpi: whitelist new expected table
tests/data/acpi/q35/DMAR.dmar
tests: acpi: add testcase for intel_iommu (DMAR table)
tests: acpi: add expected blob for DMAR table
tests: acpi: whitelist expected blobs for new acpi/q35/ivrs testcase
tests: acpi: add testcase for amd-iommu (IVRS table)
tests: acpi: update expected blobs
tests: acpi: arm/virt: drop redundant test_acpi_one() in
test_acpi_virt_tcg()
tests: arm-cpu-features: use qtest_has_kvm() API
tests: migration-test: use qtest_has_accel() API
tests: bios-tables-test: use qtest_has_accel() API to register TCG
only tests
tests/qtest/libqos/libqtest.h | 8 ++++
meson.build | 6 +++
tests/data/acpi/q35/APIC.xapic | Bin 0 -> 2686 bytes
tests/data/acpi/q35/DMAR.dmar | Bin 0 -> 120 bytes
tests/data/acpi/q35/DSDT.ivrs | Bin 0 -> 8306 bytes
tests/data/acpi/q35/DSDT.xapic | Bin 0 -> 35652 bytes
tests/data/acpi/q35/FACP.xapic | Bin 0 -> 244 bytes
tests/data/acpi/q35/IVRS.ivrs | Bin 0 -> 104 bytes
tests/data/acpi/q35/SRAT.xapic | Bin 0 -> 5080 bytes
tests/qtest/acpi-utils.c | 14 +++++++
tests/qtest/arm-cpu-features.c | 29 +++----------
tests/qtest/bios-tables-test.c | 72 +++++++++++++++++++++++++--------
tests/qtest/libqtest.c | 27 +++++++++++++
tests/qtest/migration-test.c | 15 ++-----
14 files changed, 119 insertions(+), 52 deletions(-)
create mode 100644 tests/data/acpi/q35/APIC.xapic
create mode 100644 tests/data/acpi/q35/DMAR.dmar
create mode 100644 tests/data/acpi/q35/DSDT.ivrs
create mode 100644 tests/data/acpi/q35/DSDT.xapic
create mode 100644 tests/data/acpi/q35/FACP.xapic
create mode 100644 tests/data/acpi/q35/IVRS.ivrs
create mode 100644 tests/data/acpi/q35/SRAT.xapic
--
2.27.0
- [PATCH v2 00/15] tests: acpi: add x2apic and various iommu tests,
Igor Mammedov <=
- [PATCH v2 01/15] tests: acpi: dump table with failed checksum, Igor Mammedov, 2021/09/02
- [PATCH v2 04/15] tests: acpi: q35: test for x2APIC entries in SRAT, Igor Mammedov, 2021/09/02
- [PATCH v2 02/15] tests: qtest: add qtest_has_accel() to check if tested binary supports accelerator, Igor Mammedov, 2021/09/02
- [PATCH v2 03/15] tests: acpi: whitelist expected tables for acpi/q35/xapic testcase, Igor Mammedov, 2021/09/02
- [PATCH v2 06/15] tests: acpi: whitelist new expected table tests/data/acpi/q35/DMAR.dmar, Igor Mammedov, 2021/09/02
- [PATCH v2 08/15] tests: acpi: add expected blob for DMAR table, Igor Mammedov, 2021/09/02
- [PATCH v2 09/15] tests: acpi: whitelist expected blobs for new acpi/q35/ivrs testcase, Igor Mammedov, 2021/09/02
- [PATCH v2 05/15] tests: acpi: update expected tables blobs, Igor Mammedov, 2021/09/02
- [PATCH v2 07/15] tests: acpi: add testcase for intel_iommu (DMAR table), Igor Mammedov, 2021/09/02
- [PATCH v2 10/15] tests: acpi: add testcase for amd-iommu (IVRS table), Igor Mammedov, 2021/09/02