From nobody Mon Nov 25 04:29:02 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=1718971452; cv=none; d=zohomail.com; s=zohoarc; b=W3mqzrL1C6a5Un2AHWLv8l1qOqBoZXbjMbhF4Mka3vC1DE6PBIedllu4Ou8vccNb0y5m1MEuCgiLJoUY5A2h+IVE/xgqxvCmAKZP9bYTm4QlCNSK4MRtqP5vVl5PhKZ52sOpRi+5CsrxPeHgJe34TZXJ8I3fiWOB9BR3ChDUBDE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1718971452; 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=F5wH6pmwMhXneGsp+wMYfRp29lpngexXI/+2qJTgTtJK4em23cGDRYinph5n5CkRN2pf5SN0YNGCY5RvJZfuMtiwGfPVfu0gv/51VydGMy64T1cz4vKvdp/yAZYTd9Dg5doJGY28Yk5uB7HQUuMtUollczuzQJkSLwfkQhxSlrA= 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 1718971452310692.327803072167; Fri, 21 Jun 2024 05:04:12 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sKcvh-0004Bz-4J; Fri, 21 Jun 2024 07:59:45 -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 1sKcve-0004BI-D4 for qemu-devel@nongnu.org; Fri, 21 Jun 2024 07:59:42 -0400 Received: from mail-pl1-x631.google.com ([2607:f8b0:4864:20::631]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sKcvc-0003A5-DC for qemu-devel@nongnu.org; Fri, 21 Jun 2024 07:59:42 -0400 Received: by mail-pl1-x631.google.com with SMTP id d9443c01a7336-1f9fb3ca81bso1343345ad.3 for ; Fri, 21 Jun 2024 04:59:39 -0700 (PDT) Received: from sunil-pc.Dlink ([106.51.187.237]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1f9ebbb606dsm12422995ad.270.2024.06.21.04.59.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Jun 2024 04:59:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1718971178; x=1719575978; 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=OGfwxriMheDrfECbuCGB1tmX82ez0Ta9m+gi3erHVbVWL7BQ1vQGt5JdNthCoLFq2x 0zkK4SGSWayjsJLaHnqlx6S27J6Qn3soU27XW1OPtHTmfKh2/lFh5WM1GfKfjMMyMCha VDM28DLyTEyV6GKRx6eFZ9Tlyw3KgbgcT0nT9wEd6uovMcw4ny/JMG33PbCNeMX+Aahg nOF+GBOCdAUR5GExY1CshL+bvP75eoPPpXSL7a6gpjRVlrsStu2zNwuHuWk9hg1sPmPZ Ryq7F5krnqgYtzT9TKZ+xLi+0LAUqG6HuG7yxWWdjrkUgH3OtPzqB0k4ISlL2JUbWbWD GJSA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718971178; x=1719575978; 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=Kc0JCvDnbBxgs0qK68WDy2v6m3e3mU/tn+yK5SQhMqekITXOCBcsf07xXCdB2IlW+P t3JXX+2ZHuQ5lZhsv+PhZqZBLfdL/nd/lrJPsynMQCuLh8J7/ljIcZ314RZCgSa6G7Su eFTpLZd8SdQYfcP/froFHcFfxCifu5V4QzgBulflQwwC9yh5EbJSpXJJ218ryMTA9nu8 FLyNUyqwKQodjRtAKwuCW1tzxBrlszqYmlIV+IOdOMO6PMXnJcSXk+QUBuN9FrtcVMxn lh/DVIkR3bE2FdYgi5ckAJb+j0WxZIDRLg84z+Gls5t6IsjemrHEdXRPZ2bo8NJfMwhf dM+A== X-Gm-Message-State: AOJu0YwpBRz8YHeEfWdrl1Yr2R8iRpvv6XQ5lBc9i/ZAViTvDYpwPlcT iD/VE5hl1XLDTf8my25ZfChrYnc5CcCXbL0xL/6T1ElFtgIfrE+1eihtO0rO+YmQNGDF/LEdln0 9 X-Google-Smtp-Source: AGHT+IHiD52HiNv5s6YCzvsm9fvm9sirFitlhevD0N8Cmxfg/5s3rjAYloWRjOedFZsEPVle46aExg== X-Received: by 2002:a17:902:da84:b0:1f6:7f45:4d37 with SMTP id d9443c01a7336-1f9aa67eff5mr89629415ad.66.1718971177494; Fri, 21 Jun 2024 04:59:37 -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 v3 04/15] qtest: bios-tables-test: Rename aarch64 tests with aarch64 in them Date: Fri, 21 Jun 2024 17:28:55 +0530 Message-Id: <20240621115906.1049832-5-sunilvl@ventanamicro.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20240621115906.1049832-1-sunilvl@ventanamicro.com> References: <20240621115906.1049832-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::631; envelope-from=sunilvl@ventanamicro.com; helo=mail-pl1-x631.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: 1718971453419100003 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