From nobody Mon Nov 25 09:25:22 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=1716531443; cv=none; d=zohomail.com; s=zohoarc; b=MZnaiFhE9Hnx9dOAClFcQvF/Mdnp17RQDF/kCMFIn/2MFoan+IOnWRGsJ3ZXgKRJZW7s9DlbA3JB5ay8gUsMOzEGkJ3Y3HcSbZO3+lp+xOt9ZaiJqWjMNEAIQGMOXLBYM/rOutOpwAXW+2W9+AdcqTwTBGPtTSJLoC7YsuTOF+k= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1716531443; 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=z1Eqcr/d3uZfCa8qj91JJAFXeTkvWdNBVBE+rMqWilI=; b=C8jOTXBXlZJHlBxZND3n+mhfT2Wew8kxNUVFDiHy9xX+akcWI0wY0mJyUn9AUa1JYgwDn/xjyW1rxhjpY6hjL5C14pxwSRJGzyFS5OSmlfTBaZlE5JK8E5C/w98DwkM2kPTQq06HJyAGnWU5AyGlH0rENpcSCKISu70z6HWomXU= 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 1716531443608831.3823658922674; Thu, 23 May 2024 23:17:23 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sAOCg-0002BJ-6U; Fri, 24 May 2024 02:14:59 -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 1sAOCe-000294-HV for qemu-devel@nongnu.org; Fri, 24 May 2024 02:14:56 -0400 Received: from mail-pg1-x531.google.com ([2607:f8b0:4864:20::531]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sAOCa-0001E0-Hq for qemu-devel@nongnu.org; Fri, 24 May 2024 02:14:55 -0400 Received: by mail-pg1-x531.google.com with SMTP id 41be03b00d2f7-68195b58daeso432537a12.2 for ; Thu, 23 May 2024 23:14:52 -0700 (PDT) Received: from sunil-pc.Dlink ([106.51.188.31]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-6f8fcbea487sm516106b3a.107.2024.05.23.23.14.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 May 2024 23:14:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1716531290; x=1717136090; 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=z1Eqcr/d3uZfCa8qj91JJAFXeTkvWdNBVBE+rMqWilI=; b=D1TAHvcHqoOCZvsSFAPM3WU25rCsH3phQMgdWg4uKzvxV6Rraw/pGjScA/lbjNw2x9 i+MEVFq+Ra/MZdUPldUDLj7nqE4JlVnwXUY69fUWM7L711IG+pok9A/4n3WAxM86SkUk /YCW0aucCaQMlGu4qxXxKShoroqeqPCW6aENSZxdIB5Y9Z7WytC+dj1+sUVACszj25fk LlNbM5HXpMyrBFZlJdcsxa4NLswGMFdOFWO52/0yAph1p8hXWbwj4j+1bRqjS+bs/UUC UmAmyKq3HinaTVInzvwSPMH7O+GxqxzfFrOqkihYMoiiA/hnKsmNPL4amOcupLkMI3Ri uXEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716531290; x=1717136090; 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=z1Eqcr/d3uZfCa8qj91JJAFXeTkvWdNBVBE+rMqWilI=; b=MQxrHRrGizAygNTPCmG1pyQ7khX0IZzCWBy5p19iS1GHf1elsxIZSvWP4jaebSNlTI JIGBndgowMsIj1VWPiK1mbN+DfrcIdhjgP2grcDn0xY0PnwWRuoYjCPPVgoaUoSpjkt9 Q6jECRlzeIzsPVR8f86v1Bck45JuRgGHBOPvWDW09Lr4TQ2BQqSmS6bG3Fvxirfqw5ZE 6EitsdXTmPHcYzYZmxqrxFdNQ+v7dEnr9a9WCTAMa6I3dNyhiK7Keb0O1cCfeRcXK78N Ssn6fZPfLuKnnoXNkKhyl3fjWl6h4bcXXfSVKEzYRFsyM+TvfUPkE2hWAq6UeGweiLBU 1mxw== X-Gm-Message-State: AOJu0YyJpI+tcU6gAhfh4rPtvrk7e5yXETBxhWF9jbBwTuEOEvIGOzAJ QvkDx3wbr/MppztiIW3G2c50SxZhaBWIO4NaomBgKHC/RbEqFFpL0igEcO8MW2n0I3SPajwX+iX wU+4= X-Google-Smtp-Source: AGHT+IE6FMIKoniT3hQ3dr9RMiBKsL+kxopB/mqeg/7hRP59mupOVYa81vCgqGdlvS1N2TjXHVFSdg== X-Received: by 2002:a05:6a20:6a1f:b0:1b1:e7de:4d39 with SMTP id adf61e73a8af0-1b212d054b5mr1854250637.16.1716531289669; Thu, 23 May 2024 23:14:49 -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 , Alistair Francis , Sia Jee Heng , Haibo1 Xu , Anup Patel , Andrew Jones , Daniel Henrique Barboza , Peter Maydell , Palmer Dabbelt , Bin Meng , Weiwei Li , Liu Zhiwei , Sunil V L , Alistair Francis Subject: [PATCH v2 04/12] qtest: bios-tables-test: Rename aarch64 tests with aarch64 in them Date: Fri, 24 May 2024 11:44:03 +0530 Message-Id: <20240524061411.341599-5-sunilvl@ventanamicro.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20240524061411.341599-1-sunilvl@ventanamicro.com> References: <20240524061411.341599-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::531; envelope-from=sunilvl@ventanamicro.com; helo=mail-pg1-x531.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: 1716531444574100001 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