From nobody Mon Nov 25 01:53:57 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; 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 ARC-Seal: i=1; a=rsa-sha256; t=1719328286; cv=none; d=zohomail.com; s=zohoarc; b=kWqgNXyPqBgwEe40cZ3mgF41EnnJDVI8sEhPsPxvKkh+hr1Zi0B4ZxVpvKuFQeyXC+AwXspEb4K6ceJbe4+fvI1mRyQePTeinI4MwqqZ7SnkRLdKpvGjSjUtoVw6r8nwyYQvFTdpvcPWAYhQjB/rzqM5+/ZfDDwXH1VRIWsDNu0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1719328286; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=6c1DsoTK4qkNqQ5UnD/HyJUGXiusN7arWuORYSBvEOQ=; b=TE4srW1Yo7EvtqjAZxDJxHcIR17ReQ0iP3Cwy+k77znRFjMP0DstZ+P4pSLCdPgKQ+Hlg7I8BhtmpeJDtL7Zum2feRHfgL0mxXrdlgZToB1ftkRkFnj57QaQbICGE793MK72L4nMGDSaNV4d4CSQRe5HhaMaPxgXoy52Osn7zK8= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; 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 Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1719328286588508.21144703072923; Tue, 25 Jun 2024 08:11:26 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sM7nQ-0001Rm-Pe; Tue, 25 Jun 2024 11:09:24 -0400 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 1sM7nO-0001Py-RN for qemu-devel@nongnu.org; Tue, 25 Jun 2024 11:09:22 -0400 Received: from mail-pf1-x42b.google.com ([2607:f8b0:4864:20::42b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sM7nM-0006Tp-Af for qemu-devel@nongnu.org; Tue, 25 Jun 2024 11:09:22 -0400 Received: by mail-pf1-x42b.google.com with SMTP id d2e1a72fcca58-706683e5249so2490339b3a.2 for ; Tue, 25 Jun 2024 08:09:19 -0700 (PDT) Received: from sunil-pc.Dlink ([106.51.187.237]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-70681722219sm4142636b3a.73.2024.06.25.08.09.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Jun 2024 08:09:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1719328158; x=1719932958; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=6c1DsoTK4qkNqQ5UnD/HyJUGXiusN7arWuORYSBvEOQ=; b=lFJF7FkCcErSIQT8gcnoouBD+y6AI1q/ga+sjbAL3M6daihmx+hZQRQCXGVx2D3CzA zRJKVY4qUT7JXiB7mYuavIkmN3H4Xb/jlDIm6GKJCGerKiAnVLnaURAt9h9bM3bIu01z +iAPTC3lOj3RjPgwIsH2ug7t/NG34XoiYxiVSdeUf8YU1Wim7Yb2dWUiarw/oa2aOOFj zb8Kv+6FEDKqNnexdwzNhkNycCrTYe8Uo2ux788WPVsidhuBbLE5pvd2DZfUN9BBpBpp GXJWkVAZpT4IUcTP54WfCTfFhqkhgQgfauSTSo3DlIXB9Q8zuCP38uoXWR7JNZY2kubL bitQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719328158; x=1719932958; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=6c1DsoTK4qkNqQ5UnD/HyJUGXiusN7arWuORYSBvEOQ=; b=aS4OZLMQT3FQJW5kiwYxetuuEfPEOY1yumDIqaSkh5JqPV5Ne5gMTG1vJadx4DbmiW zD4bRsIrDMcNftKI3bXnWQ+s1IAbbbNcBo8/Fg0BfRs9HyWxcrzXTKWR2mU5S9XL3zTF 5wChT5Vb45ngPgc6646PgkC4gmFjkrMzphkdIam5esrBUnhhcO5ab0Eb/Vk07UXwZMzL 7fSn8sAv+6XiHRY1jGM3n1wpbVy60iR24Uf2OlfHd6Hxy82MSNDMHVBOlFZW0dpDTSW4 xENAK23JGpoRw9/Ng0Y5FSx0+67GIgnIv7YWJuSav5yGD3sqWIvh/QbtJ5FBLpY8NVc9 gdyw== X-Gm-Message-State: AOJu0Yx6Xb71CEWoBA6OOJ4ikusf7xPRZ1bSd1yWirMSfjhQn4XAd+CU lxxtgrmHeke2PXd1CfarM8rCv52yFEX3ic7n9VYwr8qeqSgKNLv619/w4rnGU7ubLKTxlfl7qTB Y X-Google-Smtp-Source: AGHT+IG0dGXOEAI9eL78dBqm8PeBN4tlOiH37WDo7c4XR4IPtB2srFH3CRT2V7hNWdqGZA66JedClw== X-Received: by 2002:aa7:8d02:0:b0:706:62d9:a4f1 with SMTP id d2e1a72fcca58-706746b5ddemr7499131b3a.31.1719328157963; Tue, 25 Jun 2024 08:09:17 -0700 (PDT) From: Sunil V L To: qemu-devel@nongnu.org, qemu-arm@nongnu.org, qemu-riscv@nongnu.org Cc: Paolo Bonzini , =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= , =?UTF-8?q?Daniel=20P=20=2E=20Berrang=C3=A9?= , Thomas Huth , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , "Michael S . Tsirkin" , Igor Mammedov , Ani Sinha , Laurent Vivier , Gerd Hoffmann , Sia Jee Heng , Alistair Francis , Daniel Henrique Barboza , Palmer Dabbelt , Bin Meng , Weiwei Li , Liu Zhiwei , Sunil V L , Alistair Francis Subject: [PATCH v4 05/16] qtest: bios-tables-test: Rename aarch64 tests with aarch64 in them Date: Tue, 25 Jun 2024 20:38:28 +0530 Message-Id: <20240625150839.1358279-6-sunilvl@ventanamicro.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20240625150839.1358279-1-sunilvl@ventanamicro.com> References: <20240625150839.1358279-1-sunilvl@ventanamicro.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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=2607:f8b0:4864:20::42b; envelope-from=sunilvl@ventanamicro.com; helo=mail-pf1-x42b.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: 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-ZohoMail-DKIM: pass (identity @ventanamicro.com) X-ZM-MESSAGEID: 1719328288354100001 Content-Type: text/plain; charset="utf-8" Existing AARCH64 virt test functions do not have AARCH64 in their name. To add RISC-V virt related test cases, better to rename existing functions to indicate they are ARM only. Signed-off-by: Sunil V L Reviewed-by: Alistair Francis Reviewed-by: Igor Mammedov --- tests/qtest/bios-tables-test.c | 35 ++++++++++++++++++---------------- 1 file changed, 19 insertions(+), 16 deletions(-) diff --git a/tests/qtest/bios-tables-test.c b/tests/qtest/bios-tables-test.c index d1ff4db7a2..c4a4d1c7bf 100644 --- a/tests/qtest/bios-tables-test.c +++ b/tests/qtest/bios-tables-test.c @@ -1570,7 +1570,7 @@ static void test_acpi_piix4_tcg_dimm_pxm(void) test_acpi_tcg_dimm_pxm(MACHINE_PC); } =20 -static void test_acpi_virt_tcg_memhp(void) +static void test_acpi_aarch64_virt_tcg_memhp(void) { test_data data =3D { .machine =3D "virt", @@ -1663,7 +1663,7 @@ static void test_acpi_microvm_ioapic2_tcg(void) free_test_data(&data); } =20 -static void test_acpi_virt_tcg_numamem(void) +static void test_acpi_aarch64_virt_tcg_numamem(void) { test_data data =3D { .machine =3D "virt", @@ -1685,7 +1685,7 @@ static void test_acpi_virt_tcg_numamem(void) =20 } =20 -static void test_acpi_virt_tcg_pxb(void) +static void test_acpi_aarch64_virt_tcg_pxb(void) { test_data data =3D { .machine =3D "virt", @@ -1758,7 +1758,7 @@ static void test_acpi_piix4_tcg_acpi_hmat(void) test_acpi_tcg_acpi_hmat(MACHINE_PC); } =20 -static void test_acpi_virt_tcg_acpi_hmat(void) +static void test_acpi_aarch64_virt_tcg_acpi_hmat(void) { test_data data =3D { .machine =3D "virt", @@ -1914,7 +1914,7 @@ static void test_acpi_microvm_acpi_erst(void) } #endif /* CONFIG_POSIX */ =20 -static void test_acpi_virt_tcg(void) +static void test_acpi_aarch64_virt_tcg(void) { test_data data =3D { .machine =3D "virt", @@ -1933,7 +1933,7 @@ static void test_acpi_virt_tcg(void) free_test_data(&data); } =20 -static void test_acpi_virt_tcg_topology(void) +static void test_acpi_aarch64_virt_tcg_topology(void) { test_data data =3D { .machine =3D "virt", @@ -2016,7 +2016,7 @@ static void test_acpi_q35_cxl(void) } #endif /* CONFIG_POSIX */ =20 -static void test_acpi_virt_viot(void) +static void test_acpi_aarch64_virt_viot(void) { test_data data =3D { .machine =3D "virt", @@ -2192,7 +2192,7 @@ static void test_acpi_microvm_oem_fields(void) g_free(args); } =20 -static void test_acpi_virt_oem_fields(void) +static void test_acpi_aarch64_virt_oem_fields(void) { test_data data =3D { .machine =3D "virt", @@ -2364,16 +2364,19 @@ 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_virt_tcg); + qtest_add_func("acpi/virt", test_acpi_aarch64_virt_tcg); qtest_add_func("acpi/virt/acpihmatvirt", - test_acpi_virt_tcg_acpi_hmat); - qtest_add_func("acpi/virt/topology", test_acpi_virt_tcg_topolo= gy); - qtest_add_func("acpi/virt/numamem", test_acpi_virt_tcg_numamem= ); - qtest_add_func("acpi/virt/memhp", test_acpi_virt_tcg_memhp); - qtest_add_func("acpi/virt/pxb", test_acpi_virt_tcg_pxb); - qtest_add_func("acpi/virt/oem-fields", test_acpi_virt_oem_fiel= ds); + test_acpi_aarch64_virt_tcg_acpi_hmat); + qtest_add_func("acpi/virt/topology", + test_acpi_aarch64_virt_tcg_topology); + qtest_add_func("acpi/virt/numamem", + test_acpi_aarch64_virt_tcg_numamem); + qtest_add_func("acpi/virt/memhp", test_acpi_aarch64_virt_tcg_m= emhp); + qtest_add_func("acpi/virt/pxb", test_acpi_aarch64_virt_tcg_pxb= ); + qtest_add_func("acpi/virt/oem-fields", + test_acpi_aarch64_virt_oem_fields); if (qtest_has_device("virtio-iommu-pci")) { - qtest_add_func("acpi/virt/viot", test_acpi_virt_viot); + qtest_add_func("acpi/virt/viot", test_acpi_aarch64_virt_vi= ot); } } } --=20 2.40.1