From: Igor Mammedov <imammedo@redhat.com>
To: qemu-devel@nongnu.org
Cc: mst@redhat.com
Subject: [PATCH v2 00/15] tests: acpi: add x2apic and various iommu tests
Date: Thu, 2 Sep 2021 07:35:36 -0400 [thread overview]
Message-ID: <20210902113551.461632-1-imammedo@redhat.com> (raw)
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
next reply other threads:[~2021-09-02 11:55 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-02 11:35 Igor Mammedov [this message]
2021-09-02 11:35 ` [PATCH v2 01/15] tests: acpi: dump table with failed checksum Igor Mammedov
2021-09-02 11:35 ` [PATCH v2 02/15] tests: qtest: add qtest_has_accel() to check if tested binary supports accelerator Igor Mammedov
2021-09-02 11:35 ` [PATCH v2 03/15] tests: acpi: whitelist expected tables for acpi/q35/xapic testcase Igor Mammedov
2021-09-02 11:35 ` [PATCH v2 04/15] tests: acpi: q35: test for x2APIC entries in SRAT Igor Mammedov
2021-10-18 21:31 ` Michael S. Tsirkin
2021-10-19 9:48 ` Igor Mammedov
2021-10-19 10:23 ` Michael S. Tsirkin
2021-10-19 11:36 ` Igor Mammedov
2021-10-19 11:44 ` Michael S. Tsirkin
2021-10-20 8:16 ` Igor Mammedov
2021-10-20 8:18 ` Michael S. Tsirkin
2021-10-20 8:53 ` Igor Mammedov
2021-10-20 8:58 ` Thomas Huth
2021-10-20 9:43 ` Igor Mammedov
2021-10-20 9:46 ` Michael S. Tsirkin
2021-10-20 10:01 ` Igor Mammedov
2021-10-20 10:03 ` Michael S. Tsirkin
2021-09-02 11:35 ` [PATCH v2 05/15] tests: acpi: update expected tables blobs Igor Mammedov
2021-10-18 20:37 ` Michael S. Tsirkin
2021-10-19 9:56 ` Igor Mammedov
2021-10-19 10:27 ` Michael S. Tsirkin
2021-10-20 9:05 ` Igor Mammedov
2021-10-20 9:45 ` Michael S. Tsirkin
2021-10-20 9:57 ` Igor Mammedov
2021-10-20 10:02 ` Michael S. Tsirkin
2021-09-02 11:35 ` [PATCH v2 06/15] tests: acpi: whitelist new expected table tests/data/acpi/q35/DMAR.dmar Igor Mammedov
2021-09-02 11:35 ` [PATCH v2 07/15] tests: acpi: add testcase for intel_iommu (DMAR table) Igor Mammedov
2021-09-02 11:35 ` [PATCH v2 08/15] tests: acpi: add expected blob for DMAR table Igor Mammedov
2021-09-02 11:35 ` [PATCH v2 09/15] tests: acpi: whitelist expected blobs for new acpi/q35/ivrs testcase Igor Mammedov
2021-09-02 11:35 ` [PATCH v2 10/15] tests: acpi: add testcase for amd-iommu (IVRS table) Igor Mammedov
2021-09-02 11:35 ` [PATCH v2 11/15] tests: acpi: update expected blobs Igor Mammedov
2021-09-02 11:35 ` [PATCH v2 12/15] tests: acpi: arm/virt: drop redundant test_acpi_one() in test_acpi_virt_tcg() Igor Mammedov
2021-09-02 11:35 ` [PATCH v2 13/15] tests: arm-cpu-features: use qtest_has_kvm() API Igor Mammedov
2021-09-02 11:35 ` [PATCH v2 14/15] tests: migration-test: use qtest_has_accel() API Igor Mammedov
2021-09-02 11:35 ` [PATCH v2 15/15] tests: bios-tables-test: use qtest_has_accel() API to register TCG only tests Igor Mammedov
2021-10-06 14:05 ` [PATCH v2 00/15] tests: acpi: add x2apic and various iommu tests Igor Mammedov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210902113551.461632-1-imammedo@redhat.com \
--to=imammedo@redhat.com \
--cc=mst@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).