From patchwork Mon Mar 18 14:08:01 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Marcin Juszkiewicz X-Patchwork-Id: 780921 Delivered-To: patch@linaro.org Received: by 2002:a5d:46c1:0:b0:33e:7753:30bd with SMTP id g1csp1449561wrs; Mon, 18 Mar 2024 07:09:19 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCV/AFwitdNL/At3km0ePRyrvxjl3nVqF9AkIuSiqAAr9WNHZseYWgx9/1dWo/3jIt2b2clji+aNS2BnJxYa71BE X-Google-Smtp-Source: AGHT+IE8Vv7SgOz3+nHftfSt2K5ASmJWgeMr3H8ba3Glpo/7GZneLrbAL3P3wsRxzvD9ib2N+vcu X-Received: by 2002:a05:6214:aa3:b0:696:237d:8ada with SMTP id ew3-20020a0562140aa300b00696237d8adamr2299423qvb.6.1710770958793; Mon, 18 Mar 2024 07:09:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1710770958; cv=none; d=google.com; s=arc-20160816; b=VRaYx8WSpClCSh1HPyWuAWh4/Vn7LLRxuO39IBGhfv+W/yZJooj4zZ8g4FmBxc6HmM 1OKwolOHSp6vYXb/2a+ouk3DgKeh1fRAFmEy75uxzFPEzwAujKCk1oOCB+bvxF/t1MUB hbteI1LBXyK9GcKPTgQzTVcw3lE3Nj+VttO04UWfGp4wBHsgAMUb7e1uhbOswM8PVbSh MMiD3E8O85YoOiQiekNRpDteoPeUCXe6dT2TMmXxoGqAGIFNZbRiAFpoyyVssZMARccD Fvs0iQbn8SJPxdXJe5BNeiWMGSOL3gABPoMJiMmLqKLa3ldvQOUkxq2JSEjr6Vgfe2Ik 4E1w== 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:cc:to:in-reply-to:references :message-id:content-transfer-encoding:mime-version:subject:date:from; bh=vfeprfunQnpX58SAH5692t7TVgRlW3Qw1+ON516pdc8=; fh=LC/OdAGxp8XjCcxyMB5oH3DeKOnqJHpFVM0U3yCY+4A=; b=uhnGBRuIqnOcJbQmdkWsPhyiMo2R+1ZE4iPvaK/oFffIRvKvT8/YNjdRLg1F8pCDL1 XuMh8q3hasBQ7+RoBX8ONd3Lj+POOW1SnLY1T4KFWxI69nEmX9/020pEpIGK97iJENOY xs7ZBtsAc/QOJngG6/45vUj7fgCx36wfMQQddUHJLAQyacPo+1ghi3N3Ynd737Ci9XN+ tOwVz3LVfA25w+im2ps++vDbmxDzaWwVASiYiNEbCLgNUsUdGV7CLmkEkiFEDtKrMl0S KNDZZNpj5cEiyoGG1YLcW6w/KihEcZN2pyJLPMMDS1dvEZjJ+xfXkiBygSYugrMxQv1d 9iSg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id a3-20020ad45c43000000b006911f7904d3si9118994qva.587.2024.03.18.07.09.18 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 18 Mar 2024 07:09:18 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rmDf8-0001Vt-5q; Mon, 18 Mar 2024 10:08:26 -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 1rmDf1-0001Th-9s; Mon, 18 Mar 2024 10:08:20 -0400 Received: from muminek.juszkiewicz.com.pl ([213.251.184.221]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rmDet-0006Fq-Pa; Mon, 18 Mar 2024 10:08:19 -0400 Received: from localhost (localhost [127.0.0.1]) by muminek.juszkiewicz.com.pl (Postfix) with ESMTP id 5EFCC2600DA; Mon, 18 Mar 2024 15:08:08 +0100 (CET) X-Virus-Scanned: Debian amavis at juszkiewicz.com.pl Received: from muminek.juszkiewicz.com.pl ([127.0.0.1]) by localhost (muminek.juszkiewicz.com.pl [127.0.0.1]) (amavis, port 10024) with ESMTP id fIiQz__vXvSu; Mon, 18 Mar 2024 15:08:06 +0100 (CET) Received: from [172.17.0.1] (83.11.22.169.ipv4.supernova.orange.pl [83.11.22.169]) by muminek.juszkiewicz.com.pl (Postfix) with ESMTPSA id 7C9D6260AB8; Mon, 18 Mar 2024 15:08:05 +0100 (CET) From: Marcin Juszkiewicz Date: Mon, 18 Mar 2024 15:08:01 +0100 Subject: [PATCH v3 1/4] tests/avocado: update sbsa-ref firmware MIME-Version: 1.0 Message-Id: <20240318-sbsa-ref-firmware-update-v3-1-1c33b995a538@linaro.org> References: <20240318-sbsa-ref-firmware-update-v3-0-1c33b995a538@linaro.org> In-Reply-To: <20240318-sbsa-ref-firmware-update-v3-0-1c33b995a538@linaro.org> To: qemu-devel@nongnu.org Cc: Radoslaw Biernacki , Peter Maydell , Leif Lindholm , Cleber Rosa , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Wainer dos Santos Moschetta , Beraldo Leal , Brad Smith , qemu-arm@nongnu.org, Marcin Juszkiewicz X-Mailer: b4 0.12.3 Received-SPF: softfail client-ip=213.251.184.221; envelope-from=marcin.juszkiewicz@linaro.org; helo=muminek.juszkiewicz.com.pl X-Spam_score_int: -11 X-Spam_score: -1.2 X-Spam_bar: - X-Spam_report: (-1.2 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_SOFTFAIL=0.665, T_SCC_BODY_TEXT_LINE=-0.01 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: 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 We now have CI job to build those and publish in space with readable urls. Firmware is built using Debian 'bookworm' cross toolchain (gcc 12.2.0). Used versions: - Trusted Firmware v2.10.2 - Tianocore EDK2 stable202402 - Tianocore EDK2 Platforms code commit 085c2fb Signed-off-by: Marcin Juszkiewicz Tested-by: Philippe Mathieu-Daudé --- tests/avocado/machine_aarch64_sbsaref.py | 40 +++++++++++++++++--------------- 1 file changed, 21 insertions(+), 19 deletions(-) diff --git a/tests/avocado/machine_aarch64_sbsaref.py b/tests/avocado/machine_aarch64_sbsaref.py index 528c7d2934..cbab793455 100644 --- a/tests/avocado/machine_aarch64_sbsaref.py +++ b/tests/avocado/machine_aarch64_sbsaref.py @@ -1,6 +1,6 @@ # Functional test that boots a Linux kernel and checks the console # -# SPDX-FileCopyrightText: 2023 Linaro Ltd. +# SPDX-FileCopyrightText: 2023-2024 Linaro Ltd. # SPDX-FileContributor: Philippe Mathieu-Daudé # SPDX-FileContributor: Marcin Juszkiewicz # @@ -32,34 +32,36 @@ def fetch_firmware(self): """ Flash volumes generated using: - - Fedora GNU Toolchain version 13.2.1 20230728 (Red Hat 13.2.1-1) + Toolchain from Debian: + aarch64-linux-gnu-gcc (Debian 12.2.0-14) 12.2.0 - - Trusted Firmware-A - https://github.com/ARM-software/arm-trusted-firmware/tree/7c3ff62d + Used components: + + - Trusted Firmware 2.10.2 + - Tianocore EDK2 stable202402 + - Tianocore EDK2-platforms commit 085c2fb - - Tianocore EDK II - https://github.com/tianocore/edk2/tree/0f9283429dd4 - https://github.com/tianocore/edk2/tree/ad1c0394b177 - https://github.com/tianocore/edk2-platforms/tree/d03a60523a60 """ # Secure BootRom (TF-A code) fs0_xz_url = ( - "https://fileserver.linaro.org/s/rE43RJyTfxPtBkc/" - "download/SBSA_FLASH0.fd.xz" + "https://artifacts.codelinaro.org/artifactory/linaro-419-sbsa-ref/" + "20240313-116475/edk2/SBSA_FLASH0.fd.xz" ) - fs0_xz_hash = "cdb8e4ffdaaa79292b7b465693f9e5fae6b7062d" - tar_xz_path = self.fetch_asset(fs0_xz_url, asset_hash=fs0_xz_hash) + fs0_xz_hash = "637593749cc307dea7dc13265c32e5d020267552f22b18a31850b8429fc5e159" + tar_xz_path = self.fetch_asset(fs0_xz_url, asset_hash=fs0_xz_hash, + algorithm='sha256') archive.extract(tar_xz_path, self.workdir) fs0_path = os.path.join(self.workdir, "SBSA_FLASH0.fd") # Non-secure rom (UEFI and EFI variables) fs1_xz_url = ( - "https://fileserver.linaro.org/s/AGWPDXbcqJTKS4R/" - "download/SBSA_FLASH1.fd.xz" + "https://artifacts.codelinaro.org/artifactory/linaro-419-sbsa-ref/" + "20240313-116475/edk2/SBSA_FLASH1.fd.xz" ) - fs1_xz_hash = "411155ae6984334714dff08d5d628178e790c875" - tar_xz_path = self.fetch_asset(fs1_xz_url, asset_hash=fs1_xz_hash) + fs1_xz_hash = "cb0a5e8cf5e303c5d3dc106cfd5943ffe9714b86afddee7164c69ee1dd41991c" + tar_xz_path = self.fetch_asset(fs1_xz_url, asset_hash=fs1_xz_hash, + algorithm='sha256') archive.extract(tar_xz_path, self.workdir) fs1_path = os.path.join(self.workdir, "SBSA_FLASH1.fd") @@ -96,15 +98,15 @@ def test_sbsaref_edk2_firmware(self): # AP Trusted ROM wait_for_console_pattern(self, "Booting Trusted Firmware") - wait_for_console_pattern(self, "BL1: v2.9(release):v2.9") + wait_for_console_pattern(self, "BL1: v2.10.2(release):") wait_for_console_pattern(self, "BL1: Booting BL2") # Trusted Boot Firmware - wait_for_console_pattern(self, "BL2: v2.9(release)") + wait_for_console_pattern(self, "BL2: v2.10.2(release)") wait_for_console_pattern(self, "Booting BL31") # EL3 Runtime Software - wait_for_console_pattern(self, "BL31: v2.9(release)") + wait_for_console_pattern(self, "BL31: v2.10.2(release)") # Non-trusted Firmware wait_for_console_pattern(self, "UEFI firmware (version 1.0") From patchwork Mon Mar 18 14:08:02 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcin Juszkiewicz X-Patchwork-Id: 780922 Delivered-To: patch@linaro.org Received: by 2002:a5d:46c1:0:b0:33e:7753:30bd with SMTP id g1csp1449577wrs; Mon, 18 Mar 2024 07:09:20 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCU69sBHRIbkEST9JQhMg2ujCTJqu9GCeUc83hEp/2h64bl95xNuO3/no+nokIobM7PFFnULhIVzyE8bxS3HJDjd X-Google-Smtp-Source: AGHT+IHS69EDAKQwC/xyCMBIB4rp1tERkXX7k8mex2+Sgn6ggZBHy5/WqR+sY/x89Qqie5zelHnj X-Received: by 2002:a05:6808:180e:b0:3c3:8260:5185 with SMTP id bh14-20020a056808180e00b003c382605185mr4588545oib.56.1710770960186; Mon, 18 Mar 2024 07:09:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1710770960; cv=none; d=google.com; s=arc-20160816; b=ZMSt+ylHVJy+yBa/ATR23ndaXh4DV5zqzyrjyOlMj+EijpcDKoLHXrRoL3VYiAvsPL DElTQXvIs5QEqjf0Xcc479OUnNEXFfCBG7tfg0aIG2es1hOABajEzICTvaeYyTmPb6V1 Q60hNRz7y3KcuXLtgZVKCE1kWeU+eICDkdgW9jIwpbYaP0rt0CVq4/cL9lslpSjkI84v 58OT9OCeNquu1ukcD3gv6EyXsEP7oocBztHk9sdN/laWcS6Un4XBkRNbxcE4e+jY29Zs HrWomU3g4jdy4fQ2DuPs5CoMuVtxOTXw2boP0lXot09JKsAp7StBrW5wgKdkk20gt7tm Mi4w== 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:cc:to:in-reply-to:references :message-id:content-transfer-encoding:mime-version:subject:date:from; bh=caJKMCVgz/4gnFbNz97BlPifioYjsyPV5gCVBsw/Wyo=; fh=LC/OdAGxp8XjCcxyMB5oH3DeKOnqJHpFVM0U3yCY+4A=; b=sb/d/Ib3NXsuzM4CXWAME68OGYs4xtD4z2qGQekvsVlbbgQnty+EkRg7M5ag09cYhK K5+X8CNgD1dmMAcuH5+UAzkQ9WRug31BVgv9hHli5RVd2CTBuFQdBUo2XxbjUzSVOZGl XlP+6sluCOhhBNgVL+zpr6Guf3Rr732Y4NSD+wnGMudGh8ZC3OQpUT/N91+q03Ky0Zct KFIYoLr0FpgxUCHHyIgTEPaZ5OmW9xxTfK/rpD+ySu1ZI3wQ+gGU4N6lEzFyk8O27qj7 W83QJ/0NehU9MhFBKf14XwFA20i/4FsNGVlAkEM/AeRYUwm7N/6awznX1WOv2Xb1Wuwa M2Mw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id m20-20020ae9e714000000b00789e72be3b0si6565697qka.607.2024.03.18.07.09.20 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 18 Mar 2024 07:09:20 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rmDf4-0001UJ-5t; Mon, 18 Mar 2024 10:08:22 -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 1rmDey-0001TD-Kz; Mon, 18 Mar 2024 10:08:16 -0400 Received: from muminek.juszkiewicz.com.pl ([213.251.184.221]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rmDet-0006Fu-8C; Mon, 18 Mar 2024 10:08:16 -0400 Received: from localhost (localhost [127.0.0.1]) by muminek.juszkiewicz.com.pl (Postfix) with ESMTP id 61BD5260AB8; Mon, 18 Mar 2024 15:08:09 +0100 (CET) X-Virus-Scanned: Debian amavis at juszkiewicz.com.pl Received: from muminek.juszkiewicz.com.pl ([127.0.0.1]) by localhost (muminek.juszkiewicz.com.pl [127.0.0.1]) (amavis, port 10024) with ESMTP id IlarQtBE3U9N; Mon, 18 Mar 2024 15:08:07 +0100 (CET) Received: from [172.17.0.1] (83.11.22.169.ipv4.supernova.orange.pl [83.11.22.169]) by muminek.juszkiewicz.com.pl (Postfix) with ESMTPSA id 4B8FF26074C; Mon, 18 Mar 2024 15:08:06 +0100 (CET) From: Marcin Juszkiewicz Date: Mon, 18 Mar 2024 15:08:02 +0100 Subject: [PATCH v3 2/4] tests/avocado: drop virtio-rng from sbsa-ref tests MIME-Version: 1.0 Message-Id: <20240318-sbsa-ref-firmware-update-v3-2-1c33b995a538@linaro.org> References: <20240318-sbsa-ref-firmware-update-v3-0-1c33b995a538@linaro.org> In-Reply-To: <20240318-sbsa-ref-firmware-update-v3-0-1c33b995a538@linaro.org> To: qemu-devel@nongnu.org Cc: Radoslaw Biernacki , Peter Maydell , Leif Lindholm , Cleber Rosa , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Wainer dos Santos Moschetta , Beraldo Leal , Brad Smith , qemu-arm@nongnu.org, Marcin Juszkiewicz X-Mailer: b4 0.12.3 Received-SPF: softfail client-ip=213.251.184.221; envelope-from=marcin.juszkiewicz@linaro.org; helo=muminek.juszkiewicz.com.pl X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01, T_SPF_TEMPERROR=0.01 autolearn=ham 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 sbsa-ref is supposed to emulate real hardware so virtio-rng-pci does not fit here Signed-off-by: Marcin Juszkiewicz --- tests/avocado/machine_aarch64_sbsaref.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/tests/avocado/machine_aarch64_sbsaref.py b/tests/avocado/machine_aarch64_sbsaref.py index cbab793455..259225f15f 100644 --- a/tests/avocado/machine_aarch64_sbsaref.py +++ b/tests/avocado/machine_aarch64_sbsaref.py @@ -132,10 +132,6 @@ def boot_alpine_linux(self, cpu): cpu, "-drive", f"file={iso_path},format=raw", - "-device", - "virtio-rng-pci,rng=rng0", - "-object", - "rng-random,id=rng0,filename=/dev/urandom", ) self.vm.launch() @@ -179,10 +175,6 @@ def boot_openbsd73(self, cpu): cpu, "-drive", f"file={img_path},format=raw", - "-device", - "virtio-rng-pci,rng=rng0", - "-object", - "rng-random,id=rng0,filename=/dev/urandom", ) self.vm.launch() From patchwork Mon Mar 18 14:08:03 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Marcin Juszkiewicz X-Patchwork-Id: 780920 Delivered-To: patch@linaro.org Received: by 2002:a5d:46c1:0:b0:33e:7753:30bd with SMTP id g1csp1449569wrs; Mon, 18 Mar 2024 07:09:19 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCVGVbRq/9KGHfvlLspju78H6/LSrXK3c80L5HdrGqCiAUmD5uyqlLm3Zfti5qEhxuvM5mKs8kFhZuFcdVWdPQOZ X-Google-Smtp-Source: AGHT+IGkFpgLWJ3KrjXKIWumwWd0M/NTYTmg+sOxZVOd4aw/GfPxrpirtiKlbakUMOiydGdS2ZP6 X-Received: by 2002:a05:620a:4384:b0:789:e524:933b with SMTP id a4-20020a05620a438400b00789e524933bmr9625483qkp.31.1710770959438; Mon, 18 Mar 2024 07:09:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1710770959; cv=none; d=google.com; s=arc-20160816; b=nvZICUy1QdZafwbpwnOILzXw04d70rXlmCEa79Q/MD7lmgq80Dxbl7Kbwx/7fM4IKS zHuPGcYGUqZWtTa44J2ksJT8jPBZHV7/w+1+qHu5MZ32ayxQDZWR0VP5BwCPJBsdZJFA RA0F6a0A6XGCnWlYNYGzBAXv80Oed+1svan2Daws9UTw+zz4u22R5xZRtTGjdyBdhrF/ FR49jAReDTupzHNOayPdlRHJq29SsoDo8vwyi68DB1KtqYtNEazBH180ymXjJtHmjdlS QlZJIeXy9AlMhLfkh2GiLE+gF7A1/lDT47WwRZlTiOZ/lBGpSoUEjaozYVQGXc3NajoI nzNA== 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:cc:to:in-reply-to:references :message-id:content-transfer-encoding:mime-version:subject:date:from; bh=3hVDurQmW4EE2ENRc4QEf83ThCZPBhIKIOOUjf5qAew=; fh=LC/OdAGxp8XjCcxyMB5oH3DeKOnqJHpFVM0U3yCY+4A=; b=yrrxVPgxuWzOfvIauXjiYCgIZCVAkc57boKpnx4IXc5nsDTIAnOzQumcKzDkLrlkHM 2cO47+vNEB7BhmIWM1iN1nGZlTFVtnSa1l2xp+3jbrl6C8N3uzuAgRo2EJeBnc5gHElr DVoYlS6xXmQOe00yTylvqjfH7Dm4spJFxQFEdlmlNjufVqn81UdqgnxD4hs4CcTyPEHK E6quVPMv+5VtzdjwpZifBTwfqrkPfMgkYgyq4CMY6LDzIUxpVDZRusc0Xr7G/Ga8/7pX /cSI+NmzZTJJentyAfxTLVEj1kuxbXWJcELdyUTAACfKRA+nwbjOPLsgwJpi0Ytoxw9z JtHg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id k2-20020a05620a414200b0078a059b2318si1145428qko.533.2024.03.18.07.09.18 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 18 Mar 2024 07:09:19 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rmDfB-0001Yk-E6; Mon, 18 Mar 2024 10:08:29 -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 1rmDf4-0001Un-6j; Mon, 18 Mar 2024 10:08:23 -0400 Received: from muminek.juszkiewicz.com.pl ([213.251.184.221]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rmDet-0006Fx-Pa; Mon, 18 Mar 2024 10:08:20 -0400 Received: from localhost (localhost [127.0.0.1]) by muminek.juszkiewicz.com.pl (Postfix) with ESMTP id 3ABBD26074C; Mon, 18 Mar 2024 15:08:10 +0100 (CET) X-Virus-Scanned: Debian amavis at juszkiewicz.com.pl Received: from muminek.juszkiewicz.com.pl ([127.0.0.1]) by localhost (muminek.juszkiewicz.com.pl [127.0.0.1]) (amavis, port 10024) with ESMTP id 7OOaUM3g0Hl0; Mon, 18 Mar 2024 15:08:08 +0100 (CET) Received: from [172.17.0.1] (83.11.22.169.ipv4.supernova.orange.pl [83.11.22.169]) by muminek.juszkiewicz.com.pl (Postfix) with ESMTPSA id 01435260BB4; Mon, 18 Mar 2024 15:08:06 +0100 (CET) From: Marcin Juszkiewicz Date: Mon, 18 Mar 2024 15:08:03 +0100 Subject: [PATCH v3 3/4] tests/avocado: sbsa-ref: add Alpine tests for misc 'max' setup MIME-Version: 1.0 Message-Id: <20240318-sbsa-ref-firmware-update-v3-3-1c33b995a538@linaro.org> References: <20240318-sbsa-ref-firmware-update-v3-0-1c33b995a538@linaro.org> In-Reply-To: <20240318-sbsa-ref-firmware-update-v3-0-1c33b995a538@linaro.org> To: qemu-devel@nongnu.org Cc: Radoslaw Biernacki , Peter Maydell , Leif Lindholm , Cleber Rosa , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Wainer dos Santos Moschetta , Beraldo Leal , Brad Smith , qemu-arm@nongnu.org, Marcin Juszkiewicz X-Mailer: b4 0.12.3 Received-SPF: softfail client-ip=213.251.184.221; envelope-from=marcin.juszkiewicz@linaro.org; helo=muminek.juszkiewicz.com.pl X-Spam_score_int: -11 X-Spam_score: -1.2 X-Spam_bar: - X-Spam_report: (-1.2 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_SOFTFAIL=0.665, T_SCC_BODY_TEXT_LINE=-0.01 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: 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 PAuth makes run timeout on CI so add tests using 'max' without it and with impdef one. Signed-off-by: Marcin Juszkiewicz Tested-by: Philippe Mathieu-Daudé Reviewed-by: Philippe Mathieu-Daudé --- tests/avocado/machine_aarch64_sbsaref.py | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/tests/avocado/machine_aarch64_sbsaref.py b/tests/avocado/machine_aarch64_sbsaref.py index 259225f15f..cf8954d02e 100644 --- a/tests/avocado/machine_aarch64_sbsaref.py +++ b/tests/avocado/machine_aarch64_sbsaref.py @@ -140,18 +140,36 @@ def boot_alpine_linux(self, cpu): def test_sbsaref_alpine_linux_cortex_a57(self): """ :avocado: tags=cpu:cortex-a57 + :avocado: tags=os:linux """ self.boot_alpine_linux("cortex-a57") def test_sbsaref_alpine_linux_neoverse_n1(self): """ :avocado: tags=cpu:neoverse-n1 + :avocado: tags=os:linux """ self.boot_alpine_linux("neoverse-n1") + def test_sbsaref_alpine_linux_max_pauth_off(self): + """ + :avocado: tags=cpu:max + :avocado: tags=os:linux + """ + self.boot_alpine_linux("max,pauth=off") + + def test_sbsaref_alpine_linux_max_pauth_impdef(self): + """ + :avocado: tags=cpu:max + :avocado: tags=os:linux + """ + self.boot_alpine_linux("max,pauth-impdef=on") + + @skipUnless(os.getenv('AVOCADO_TIMEOUT_EXPECTED'), 'Test might timeout') def test_sbsaref_alpine_linux_max(self): """ :avocado: tags=cpu:max + :avocado: tags=os:linux """ self.boot_alpine_linux("max") From patchwork Mon Mar 18 14:08:04 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Marcin Juszkiewicz X-Patchwork-Id: 780919 Delivered-To: patch@linaro.org Received: by 2002:a5d:46c1:0:b0:33e:7753:30bd with SMTP id g1csp1449566wrs; Mon, 18 Mar 2024 07:09:19 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCVpRuyYFWDcggqwcXxpkCnmZdL6ay3rlSj4e5Rg21zUfSBHgHmRYe8w7PWZ7jh8Vkmk02rEobQk8++WpeRBbwlb X-Google-Smtp-Source: AGHT+IFjLxRAEBN53T1CB0n5y9YjheW1pxd+cSFOeB5a2nTu7hQgc615ctrZLKOFHoAtZlP/fpIx X-Received: by 2002:a05:620a:1723:b0:789:da81:8f2f with SMTP id az35-20020a05620a172300b00789da818f2fmr13598564qkb.26.1710770959122; Mon, 18 Mar 2024 07:09:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1710770959; cv=none; d=google.com; s=arc-20160816; b=mn3KFE7hGsoUC4l8sVNCB1hoNbR7V8HZWuKFYpnLa5sdwu3gExWVOh7yvpiVQSErIS sUTGG0eMcBBpIDrGpgxebGbViptnnCIRbj3ztd09nGwnPBJ7qEB6MKEO1y7C3msDjQ7A +VVIKlmC0BIVJT/nMtDJSshNF7L2pDZSOTy+V5sHwFYtYfyq32jUg4AX3Jm4XFPWRCJG 8iDNWnyrVVYo34IQAjkEz+/XHMykRtz06UW1csf/GtSNNhLGGTqFg/PLPix0JrGEU6qF b8F7+U/npX682QCT/YKECcrdumDQplDud473BaoFZ9LKwC+q5GkbmHXCQkpH3eNtejEU niFQ== 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:cc:to:in-reply-to:references :message-id:content-transfer-encoding:mime-version:subject:date:from; bh=1fyHYl66GQGoCnkOs5sxansYjBhLiL4iTk6B2u8RlBw=; fh=LC/OdAGxp8XjCcxyMB5oH3DeKOnqJHpFVM0U3yCY+4A=; b=u6mi4Gkv99Ij9q0hbHqOTglbS1lbc5atnOs2t3GZehcCe1QIYbHa9PkoWbxE/wZo1l fN6otI5k8TCTzTfI2kW/TWHhX5UWiWjtJJqdS5fqHaiDnmoRYizSfWVj7WC2axfwHnAs +xmJEG0cHZxNb7bAju4NZnIG5P9X5mQMJZEwaLh7rMDgXOv1DmA4zUexCPvzXejbMCwV LyfyWk6LVA/82Cs6KSAIeNX6ZAcEalDiC4qQKujS6zJHKblAYohB/pV0y/N6upzBOoZ1 co3IHL8lgDX29U4usCRpBOGX0PtKgAYHSzc8mfJlPHpFJj3+O/MUYb+QinJAgtwtslmg lNjg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id yf5-20020a05620a3bc500b007881eb56836si5470867qkn.493.2024.03.18.07.09.18 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 18 Mar 2024 07:09:19 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rmDfG-0001cj-RS; Mon, 18 Mar 2024 10:08:34 -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 1rmDf0-0001Tg-Vj; Mon, 18 Mar 2024 10:08:20 -0400 Received: from muminek.juszkiewicz.com.pl ([213.251.184.221]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rmDew-0006Gn-49; Mon, 18 Mar 2024 10:08:18 -0400 Received: from localhost (localhost [127.0.0.1]) by muminek.juszkiewicz.com.pl (Postfix) with ESMTP id 2CA7F260BB4; Mon, 18 Mar 2024 15:08:11 +0100 (CET) X-Virus-Scanned: Debian amavis at juszkiewicz.com.pl Received: from muminek.juszkiewicz.com.pl ([127.0.0.1]) by localhost (muminek.juszkiewicz.com.pl [127.0.0.1]) (amavis, port 10024) with ESMTP id 5SIq3skwq7wl; Mon, 18 Mar 2024 15:08:09 +0100 (CET) Received: from [172.17.0.1] (83.11.22.169.ipv4.supernova.orange.pl [83.11.22.169]) by muminek.juszkiewicz.com.pl (Postfix) with ESMTPSA id AB129260FE6; Mon, 18 Mar 2024 15:08:07 +0100 (CET) From: Marcin Juszkiewicz Date: Mon, 18 Mar 2024 15:08:04 +0100 Subject: [PATCH v3 4/4] tests/avocado: sbsa-ref: add OpenBSD tests for misc 'max' setup MIME-Version: 1.0 Message-Id: <20240318-sbsa-ref-firmware-update-v3-4-1c33b995a538@linaro.org> References: <20240318-sbsa-ref-firmware-update-v3-0-1c33b995a538@linaro.org> In-Reply-To: <20240318-sbsa-ref-firmware-update-v3-0-1c33b995a538@linaro.org> To: qemu-devel@nongnu.org Cc: Radoslaw Biernacki , Peter Maydell , Leif Lindholm , Cleber Rosa , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Wainer dos Santos Moschetta , Beraldo Leal , Brad Smith , qemu-arm@nongnu.org, Marcin Juszkiewicz X-Mailer: b4 0.12.3 Received-SPF: softfail client-ip=213.251.184.221; envelope-from=marcin.juszkiewicz@linaro.org; helo=muminek.juszkiewicz.com.pl X-Spam_score_int: -11 X-Spam_score: -1.2 X-Spam_bar: - X-Spam_report: (-1.2 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_SOFTFAIL=0.665, T_SCC_BODY_TEXT_LINE=-0.01 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: 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 PAuth makes run timeout on CI so add tests using 'max' without it and with impdef one. Signed-off-by: Marcin Juszkiewicz Tested-by: Philippe Mathieu-Daudé Reviewed-by: Philippe Mathieu-Daudé --- tests/avocado/machine_aarch64_sbsaref.py | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/tests/avocado/machine_aarch64_sbsaref.py b/tests/avocado/machine_aarch64_sbsaref.py index cf8954d02e..98c76c1ff7 100644 --- a/tests/avocado/machine_aarch64_sbsaref.py +++ b/tests/avocado/machine_aarch64_sbsaref.py @@ -203,18 +203,36 @@ def boot_openbsd73(self, cpu): def test_sbsaref_openbsd73_cortex_a57(self): """ :avocado: tags=cpu:cortex-a57 + :avocado: tags=os:openbsd """ self.boot_openbsd73("cortex-a57") def test_sbsaref_openbsd73_neoverse_n1(self): """ :avocado: tags=cpu:neoverse-n1 + :avocado: tags=os:openbsd """ self.boot_openbsd73("neoverse-n1") + def test_sbsaref_openbsd73_max_pauth_off(self): + """ + :avocado: tags=cpu:max + :avocado: tags=os:openbsd + """ + self.boot_openbsd73("max,pauth=off") + + @skipUnless(os.getenv('AVOCADO_TIMEOUT_EXPECTED'), 'Test might timeout') + def test_sbsaref_openbsd73_max_pauth_impdef(self): + """ + :avocado: tags=cpu:max + :avocado: tags=os:openbsd + """ + self.boot_openbsd73("max,pauth-impdef=on") + + @skipUnless(os.getenv('AVOCADO_TIMEOUT_EXPECTED'), 'Test might timeout') def test_sbsaref_openbsd73_max(self): """ :avocado: tags=cpu:max + :avocado: tags=os:openbsd """ self.boot_openbsd73("max") -