From patchwork Fri Jul 19 18:10:26 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 813414 Delivered-To: patch@linaro.org Received: by 2002:adf:f288:0:b0:367:895a:4699 with SMTP id k8csp877795wro; Fri, 19 Jul 2024 11:13:27 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCVUH2DFgC1jjK/I90EzXLc8yarxW2z68pPu/hxwMkV3FXaS2hhS+nJjAnG5f7ktIhDFGjEqlH2t+Fye2fqFm+1v X-Google-Smtp-Source: AGHT+IGUHZFotG/7xKsw2xGsDhPhatnHIm3EmKltyYcn8EpeMCv1KwjQlWOAr9CUk/OKVMqa1wCM X-Received: by 2002:a05:6830:dc3:b0:703:5ab9:b0bc with SMTP id 46e09a7af769-708fdb0fa51mr655138a34.11.1721412807210; Fri, 19 Jul 2024 11:13:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1721412807; cv=none; d=google.com; s=arc-20160816; b=FOY+/c7Pay0dGzbBvMj3++Ge2aDYvWTEnDbp4gq+JSaSxhHLNtFqHrC2Fh0bvxuKfb tGVsFzu7yw8TGrxdZSuUY59JIDNP3wmnhpDyUFDZPbaK7c8/bijlrVobDMObj1Bzngvs saDRYha96XLRLdfB4E96zKfTbmuS+Z+uuUoEHZ/+RUEqATBmFoOoBpWxGqipeiYLWmb8 HkEkQgPK10gx7fEprxOQcbKgwkErLBjxpi8UsP046EQ7L45bZM27b8DVPXsYbFmYXdJB z8MN5BY0nS5S35kTMJTDPuBciqurMdHJJ/yaihadLjVRLklDPYHUgvKffZk64btSeKRt qVBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=YFJ4F+v2FoWmOAeJ1TmNHGk/Gzzzixlx237F5Z9Ojzw=; fh=a4LTsj9O+qaKvI8P1KF8P/8hcdvsQ8EHyfSuvL3yAcM=; b=ZWLO9Ym+teb2Q6DQUHvi1UD0jgupBPzb4qSmk5BdOBjiVBirHbz937586+7d7x13p6 3oPgVGTljFkYy76EDKKTezhmrCh2FGCspBSNMAsrDxQH0Ewwxz799JMkGFrqIjNO1OhV YoYmEwnc8VaFU1UfOoRZOdz4342QpMcoQXcl/TP5YfRjOhVGBtS0KRUIDg3m6PZsk8zy bWK3tW+IHMGiq8HHbthh1DH5BbNtXqYXewVJx7sMsNd7IhlXfjMKZ6Cis2zmEFC7hn9Q OVhWbFGCPy5ozj3iOgXPfPPa9optU2DXzL2hBtIosVGwNOFZcWMwoAtkjguD4X7lBWcb 140A==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=VBETMt0H; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id af79cd13be357-7a1990aa4fcsi219691485a.683.2024.07.19.11.13.26 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 19 Jul 2024 11:13:27 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=VBETMt0H; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sUs4I-0001dM-7m; Fri, 19 Jul 2024 14:10:58 -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 1sUs4G-0001Tl-M9 for qemu-devel@nongnu.org; Fri, 19 Jul 2024 14:10:56 -0400 Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sUs4D-0003g5-AU for qemu-devel@nongnu.org; Fri, 19 Jul 2024 14:10:56 -0400 Received: by mail-wm1-x331.google.com with SMTP id 5b1f17b1804b1-4266edee10cso13003065e9.2 for ; Fri, 19 Jul 2024 11:10:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1721412651; x=1722017451; 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=YFJ4F+v2FoWmOAeJ1TmNHGk/Gzzzixlx237F5Z9Ojzw=; b=VBETMt0H49QZlZi7ww/N4jyVRsKizfTYdwpwYRgrmaJqrP8aBh7sEADN0/nSIuf0Ve vRUXG+tQdAdrjFiPf1lwvLaAixfPdimGUgPjC8fZ2aKKofge7zaIsxREYjKvmhzAhblV uNV1WxnVoXWEz2ZM5jLjawToHeURHca/n7sfOLIlhSTEJnEw3hkSTtbL+TZayMLZbGE2 DmFwnGMv5XmJebMnoXxXptDKDywqIHeI+cQrU5sNE0WZi+FLxKu+YmpxH8rYDUKSvCV8 nPqTsZPpFbQ21wBYZSERdOgQl520P+jBbPHDAHCkCIOlhMSJB/5ZqWXlvIq69ubdJZ47 BLow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721412651; x=1722017451; 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=YFJ4F+v2FoWmOAeJ1TmNHGk/Gzzzixlx237F5Z9Ojzw=; b=keofp2rbttagmwpaTYRfhgynVGcSGCHDDkPtQB4aJolIomlOVFUHFIVRjSLMK3f6Vz D+CO9eSJh6J5/XtwfHoPJJqBeCXDCl80+B4OuLju53PC/sl5/mnZRy4EitFYpncmweKT cqPNJLpU1D2fnW5mPy+q0AIrBi8JkPVLLUWuXSQubfDIIHfA6XZzER36iDleyuISMIDq Ni51MjnmEWpkotysekTzQWxdN3WUO536g0ZHO9aPUWNqFcSlcEABeFnezFyThI8G1anr KcatmbVIAMD/aDudib9XIKKiKsU1qYjQikzD2/mc+/4kiJg9bRLDG5zLV9aaoxCF2J58 PNug== X-Gm-Message-State: AOJu0YytvAmDTAR1T0gG174AKayP068JunLjdB88qW/mhmR93fHKInPx pA4VLUvYkOQ2TD4ujGHee2QBI98dl69MNjzcC/Pep2QflzVpFCAymrZHKqGn4zabB6U7f6faK/C T X-Received: by 2002:a05:600c:1d96:b0:426:5ee3:728b with SMTP id 5b1f17b1804b1-427daa28651mr1991465e9.13.1721412651427; Fri, 19 Jul 2024 11:10:51 -0700 (PDT) Received: from localhost.localdomain (52.170.88.92.rev.sfr.net. [92.88.170.52]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-427d2a3c0fasm61914525e9.7.2024.07.19.11.10.49 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Fri, 19 Jul 2024 11:10:50 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: =?utf-8?q?Marc-Andr=C3=A9_Lureau?= , =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-arm@nongnu.org, Mark Cave-Ayland , Tong Ho , Manos Pitsidianakis , Peter Maydell , =?utf-8?q?Philippe_Mathieu-Daud?= =?utf-8?q?=C3=A9?= Subject: [PATCH v5 01/16] tests/avocado: Add 'device:pl011' tag to tests exercising PL011 UART Date: Fri, 19 Jul 2024 20:10:26 +0200 Message-ID: <20240719181041.49545-2-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240719181041.49545-1-philmd@linaro.org> References: <20240719181041.49545-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::331; envelope-from=philmd@linaro.org; helo=mail-wm1-x331.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+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org Add the 'device:pl011' tag to various tests using the PL011 UART, so we can run them all at once using: $ make check-avocado AVOCADO_TAGS='device:pl011' Signed-off-by: Philippe Mathieu-Daudé --- tests/avocado/boot_linux.py | 1 + tests/avocado/boot_linux_console.py | 2 ++ tests/avocado/boot_xen.py | 1 + tests/avocado/machine_aarch64_sbsaref.py | 1 + tests/avocado/machine_aarch64_virt.py | 1 + tests/avocado/smmu.py | 1 + tests/avocado/tuxrun_baselines.py | 5 +++++ 7 files changed, 12 insertions(+) diff --git a/tests/avocado/boot_linux.py b/tests/avocado/boot_linux.py index df6cf209ef..6717f452eb 100644 --- a/tests/avocado/boot_linux.py +++ b/tests/avocado/boot_linux.py @@ -70,6 +70,7 @@ class BootLinuxAarch64(LinuxTest): def test_virt_kvm(self): """ :avocado: tags=machine:virt + :avocado: tags=device:pl011 :avocado: tags=accel:kvm :avocado: tags=cpu:host """ diff --git a/tests/avocado/boot_linux_console.py b/tests/avocado/boot_linux_console.py index c35fc5e9ba..f595324979 100644 --- a/tests/avocado/boot_linux_console.py +++ b/tests/avocado/boot_linux_console.py @@ -362,6 +362,7 @@ def test_arm_virt(self): """ :avocado: tags=arch:arm :avocado: tags=machine:virt + :avocado: tags=device:pl011 :avocado: tags=accel:tcg """ kernel_url = ('https://archives.fedoraproject.org/pub/archive/fedora' @@ -1380,6 +1381,7 @@ def test_arm_vexpressa9(self): """ :avocado: tags=arch:arm :avocado: tags=machine:vexpress-a9 + :avocado: tags=device:pl011 """ tar_hash = '32b7677ce8b6f1471fb0059865f451169934245b' self.vm.add_args('-dtb', self.workdir + '/day16/vexpress-v2p-ca9.dtb') diff --git a/tests/avocado/boot_xen.py b/tests/avocado/boot_xen.py index 93bfb0c161..c4c01afa76 100644 --- a/tests/avocado/boot_xen.py +++ b/tests/avocado/boot_xen.py @@ -66,6 +66,7 @@ class BootXen(BootXenBase): :avocado: tags=accel:tcg :avocado: tags=cpu:cortex-a57 :avocado: tags=machine:virt + :avocado: tags=device:pl011 """ def test_arm64_xen_411_and_dom0(self): diff --git a/tests/avocado/machine_aarch64_sbsaref.py b/tests/avocado/machine_aarch64_sbsaref.py index e920bbf08c..f04ac2b11c 100644 --- a/tests/avocado/machine_aarch64_sbsaref.py +++ b/tests/avocado/machine_aarch64_sbsaref.py @@ -20,6 +20,7 @@ class Aarch64SbsarefMachine(QemuSystemTest): """ :avocado: tags=arch:aarch64 :avocado: tags=machine:sbsa-ref + :avocado: tags=device:pl011 :avocado: tags=accel:tcg As firmware runs at a higher privilege level than the hypervisor we diff --git a/tests/avocado/machine_aarch64_virt.py b/tests/avocado/machine_aarch64_virt.py index 0ef6df4b0d..2d586c8459 100644 --- a/tests/avocado/machine_aarch64_virt.py +++ b/tests/avocado/machine_aarch64_virt.py @@ -23,6 +23,7 @@ class Aarch64VirtMachine(QemuSystemTest): """ :avocado: tags=arch:aarch64 :avocado: tags=machine:virt + :avocado: tags=device:pl011 """ KERNEL_COMMON_COMMAND_LINE = 'printk.time=0 ' timeout = 360 diff --git a/tests/avocado/smmu.py b/tests/avocado/smmu.py index 4ebfa7128c..4b265e2435 100644 --- a/tests/avocado/smmu.py +++ b/tests/avocado/smmu.py @@ -21,6 +21,7 @@ class SMMU(LinuxTest): :avocado: tags=arch:aarch64 :avocado: tags=machine:virt :avocado: tags=distro:fedora + :avocado: tags=device:pl011 :avocado: tags=smmu :avocado: tags=flaky """ diff --git a/tests/avocado/tuxrun_baselines.py b/tests/avocado/tuxrun_baselines.py index 736e4aa289..98ab40bbb5 100644 --- a/tests/avocado/tuxrun_baselines.py +++ b/tests/avocado/tuxrun_baselines.py @@ -254,6 +254,7 @@ def test_arm64(self): :avocado: tags=arch:aarch64 :avocado: tags=cpu:cortex-a57 :avocado: tags=machine:virt + :avocado: tags=device:pl011 :avocado: tags=tuxboot:arm64 :avocado: tags=console:ttyAMA0 :avocado: tags=shutdown:nowait @@ -270,6 +271,7 @@ def test_arm64be(self): :avocado: tags=cpu:cortex-a57 :avocado: tags=endian:big :avocado: tags=machine:virt + :avocado: tags=device:pl011 :avocado: tags=tuxboot:arm64be :avocado: tags=console:ttyAMA0 :avocado: tags=shutdown:nowait @@ -285,6 +287,7 @@ def test_armv5(self): :avocado: tags=arch:arm :avocado: tags=cpu:arm926 :avocado: tags=machine:versatilepb + :avocado: tags=device:pl011 :avocado: tags=tuxboot:armv5 :avocado: tags=image:zImage :avocado: tags=console:ttyAMA0 @@ -306,6 +309,7 @@ def test_armv7(self): :avocado: tags=arch:arm :avocado: tags=cpu:cortex-a15 :avocado: tags=machine:virt + :avocado: tags=device:pl011 :avocado: tags=tuxboot:armv7 :avocado: tags=image:zImage :avocado: tags=console:ttyAMA0 @@ -324,6 +328,7 @@ def test_armv7be(self): :avocado: tags=cpu:cortex-a15 :avocado: tags=endian:big :avocado: tags=machine:virt + :avocado: tags=device:pl011 :avocado: tags=tuxboot:armv7be :avocado: tags=image:zImage :avocado: tags=console:ttyAMA0