From nobody Tue Feb 10 17:14:46 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=reject dis=none) header.from=rsg.ci.i.u-tokyo.ac.jp Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1769671665446877.2039273655868; Wed, 28 Jan 2026 23:27:45 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1vlMPm-0002wQ-JZ; Thu, 29 Jan 2026 02:26:06 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1vlMPi-0002p0-Af; Thu, 29 Jan 2026 02:26:02 -0500 Received: from www3579.sakura.ne.jp ([49.212.243.89]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1vlMPf-0008T0-G2; Thu, 29 Jan 2026 02:26:02 -0500 Received: from h205.csg.ci.i.u-tokyo.ac.jp (h205.csg.ci.i.u-tokyo.ac.jp [133.11.54.205]) (authenticated bits=0) by www3579.sakura.ne.jp (8.16.1/8.16.1) with ESMTPSA id 60T7Pbfv030033 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 29 Jan 2026 16:25:51 +0900 (JST) (envelope-from odaki@rsg.ci.i.u-tokyo.ac.jp) DKIM-Signature: a=rsa-sha256; bh=Orqqg8RnNOibIBB0Uoq6tC54t21Cg+e6HEMJm6fhFco=; c=relaxed/relaxed; d=rsg.ci.i.u-tokyo.ac.jp; h=From:Date:Subject:Message-Id:To; s=rs20250326; t=1769671551; v=1; b=Rc9gG0KY3fVZAcxMGNpLzq+wUW9W3FlVWFpC3gmsWtWb2RdioAsbcQ0kWBToCn1N cghLlsgSd9cEvve4qU9FoPmkukDw2xCWPQnxu3eAkN0Ai56fp9P2/V4yJg/IvmJi nn8O1Y2+X6uPBBk6f5zgKbfgkGf/ASV20OMeVk5Eh3ckqNx2INYtxQxySOaA2ddg jmkxC6/IrATzQHrQRmfrT8mxyhrXv47MSnMuNawrdZ9fSpIbwPKV4xbmslZqvk/x iimmjxcfMiUUqJZod/Pu8a3jdCHOSk88H+cK1ZlTkTT36d75oDCJO9BSFXF8ON/H 6axX2yOWEWxx6gaZ51yEdA== From: Akihiko Odaki Date: Thu, 29 Jan 2026 16:25:36 +0900 Subject: [PATCH v5 1/4] test/acpi: aarch64/virt: Test version 10.2 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260129-virt-v5-1-421c0abaaf26@rsg.ci.i.u-tokyo.ac.jp> References: <20260129-virt-v5-0-421c0abaaf26@rsg.ci.i.u-tokyo.ac.jp> In-Reply-To: <20260129-virt-v5-0-421c0abaaf26@rsg.ci.i.u-tokyo.ac.jp> To: qemu-devel@nongnu.org Cc: Peter Maydell , qemu-arm@nongnu.org, Eric Auger , Andrew Jones , "Michael S. Tsirkin" , Igor Mammedov , Ani Sinha , Fabiano Rosas , Laurent Vivier , Paolo Bonzini , Akihiko Odaki , Mohamed Mediouni X-Mailer: b4 0.15-dev-179e8 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=49.212.243.89; envelope-from=odaki@rsg.ci.i.u-tokyo.ac.jp; helo=www3579.sakura.ne.jp X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZM-MESSAGEID: 1769671667733158500 A future commit changes the memory map for the latest version of the machine. Test that the memory map of the previous version is preserved. Suggested-by: Mohamed Mediouni Signed-off-by: Akihiko Odaki --- tests/qtest/bios-tables-test.c | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/tests/qtest/bios-tables-test.c b/tests/qtest/bios-tables-test.c index 6b892ef23e1a..3c032173dbf4 100644 --- a/tests/qtest/bios-tables-test.c +++ b/tests/qtest/bios-tables-test.c @@ -2213,6 +2213,28 @@ static void test_acpi_aarch64_virt_tcg(void) free_test_data(&data); } =20 +static void test_acpi_aarch64_virt_tcg_10_2(void) +{ + test_data data =3D { + .machine =3D "virt", + .machine_param =3D "-10.2", + .arch =3D "aarch64", + .variant =3D ".10.2", + .tcg_only =3D true, + .uefi_fl1 =3D "pc-bios/edk2-aarch64-code.fd", + .uefi_fl2 =3D "pc-bios/edk2-arm-vars.fd", + .cd =3D "tests/data/uefi-boot-images/bios-tables-test.aarch64.iso.= qcow2", + .ram_start =3D 0x40000000ULL, + .scan_len =3D 128ULL * MiB, + }; + + data.smbios_cpu_max_speed =3D 2900; + data.smbios_cpu_curr_speed =3D 2700; + test_acpi_one("-cpu cortex-a57 -machine ras=3Don " + "-smbios type=3D4,max-speed=3D2900,current-speed=3D2700"= , &data); + free_test_data(&data); +} + static void test_acpi_aarch64_virt_tcg_topology(void) { test_data data =3D { @@ -2827,6 +2849,8 @@ int main(int argc, char *argv[]) } else if (strcmp(arch, "aarch64") =3D=3D 0) { if (has_tcg && qtest_has_device("virtio-blk-pci")) { qtest_add_func("acpi/virt", test_acpi_aarch64_virt_tcg); + qtest_add_func("acpi/virt/10.2", + test_acpi_aarch64_virt_tcg_10_2); qtest_add_func("acpi/virt/acpihmatvirt", test_acpi_aarch64_virt_tcg_acpi_hmat); qtest_add_func("acpi/virt/topology", --=20 2.52.0