From patchwork Thu Mar 14 09:23:24 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Marcin Juszkiewicz X-Patchwork-Id: 780283 Delivered-To: patch@linaro.org Received: by 2002:a05:6000:ed0:b0:33e:7753:30bd with SMTP id ea16csp332499wrb; Thu, 14 Mar 2024 02:24:45 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCW05veRrUkalX9fbl/ifAOG9YAY+ftji+DtPKg3aLwi5qpgPdx11kP2pX1q9IWjjpGPYuiUDB6DAqPaq2rW4wm2 X-Google-Smtp-Source: AGHT+IG+4CBA3xdJQLmAxZpeTwMcz6WwBTo9SqkrYyYOPzEcyoZOtOjVnHA2Vbd/p1Hddu9qPINP X-Received: by 2002:a05:6808:1805:b0:3c2:5c02:5c8d with SMTP id bh5-20020a056808180500b003c25c025c8dmr143540oib.0.1710408285548; Thu, 14 Mar 2024 02:24:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1710408285; cv=none; d=google.com; s=arc-20160816; b=YX50iYAWTKJO1x79k4w4otlUh8Eb/YG7VHgZTq38ocaR7vu8OOqwa63CpcV9qidEpS k7HoDEsDMsvwBZJOWiObwDmUJX9GcO/Ay5PGErMVruAklYNNvLuaj/qVV7zLZH3Lwwk4 zaFW3WKqCdVdEVHeczWdKKxRT+Lz2YmmIaSnw+syPo7K1J6HDdQxnNgnU7yFkwuA6eQb RNkgQMi1rkEEO2QD0jpRW85ihLZPi29QXeUFMsLWV0PpOJ78WijozztuyEU/qefIHj+F ZfGkWW4m/IoDvsbcUGIgk/F5MAi+t4GmvOnofBt1B5VtkS0SAnPQbTxq39JfdRXmeXxw IfqQ== 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=qbGIWs/mfyUV4IQ+mzNPJrt9qgoNFZLOAvsXNG8wO2HkkKpU38hwVTJzEyFYTvecYZ m6N1VqEPVcOOXMP/FXV5kgWuXh9jjxzmO8+vCw5AUp5eVH2eS1Tbmux4rmqY8eWJlO+Y hp03/VTd3a28+VeDpEtaXvitBYPhuBItZUMMlfRjFwG1+eVjrixC/7jb3uz+R/x0hC39 qWAMOwTvkRxP4Yh3Rlf+7tHedh2/3Qu4MsVMQvus7KIp6lGD+WywxVShZqFXmEJb97zT C+m5jCdsa71Nep/O9al7S1Cb9zG3v+JN01wKAhJa/qDx3BkhXpq6hBCLWRTu8zFJ3GqT Grug==; 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 d17-20020a05620a241100b007882c0205a0si1215902qkn.704.2024.03.14.02.24.45 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 14 Mar 2024 02:24:45 -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 1rkhJP-0004r7-F3; Thu, 14 Mar 2024 05:23:43 -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 1rkhJK-0004no-91; Thu, 14 Mar 2024 05:23:38 -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 1rkhJE-0007sM-M8; Thu, 14 Mar 2024 05:23:38 -0400 Received: from localhost (localhost [127.0.0.1]) by muminek.juszkiewicz.com.pl (Postfix) with ESMTP id C47D4260C04; Thu, 14 Mar 2024 10:23:30 +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 p-4h9NrzBSnp; Thu, 14 Mar 2024 10:23:28 +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 01F2D260AB8; Thu, 14 Mar 2024 10:23:27 +0100 (CET) From: Marcin Juszkiewicz Date: Thu, 14 Mar 2024 10:23:24 +0100 Subject: [PATCH v2 1/4] tests/avocado: update sbsa-ref firmware MIME-Version: 1.0 Message-Id: <20240314-sbsa-ref-firmware-update-v2-1-b557c56559cd@linaro.org> References: <20240314-sbsa-ref-firmware-update-v2-0-b557c56559cd@linaro.org> In-Reply-To: <20240314-sbsa-ref-firmware-update-v2-0-b557c56559cd@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 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 --- 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 Thu Mar 14 09:23:25 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcin Juszkiewicz X-Patchwork-Id: 780284 Delivered-To: patch@linaro.org Received: by 2002:a05:6000:ed0:b0:33e:7753:30bd with SMTP id ea16csp332525wrb; Thu, 14 Mar 2024 02:24:50 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCW07Nzy5oQ7iXc9tjd5CWwd4op1uZKgJdmp+lrDvRVvK2iKUkDLzUJ8TxFkMbzet4tHPBKHr45OEAwZrhau+HDu X-Google-Smtp-Source: AGHT+IGIhVS9F6uSGDRhEHcIUTTTDif0drZ02hNYcC2KabYYFf85B8Yi3jrtyWZacmpuvaniSI+F X-Received: by 2002:a0c:8ec7:0:b0:690:182c:d398 with SMTP id y7-20020a0c8ec7000000b00690182cd398mr151607qvb.0.1710408290122; Thu, 14 Mar 2024 02:24:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1710408290; cv=none; d=google.com; s=arc-20160816; b=k4XqVe836l265qovqIQiZ0KUN6qurDGSYJJHiLZTjQG9CXKz+FSnm5Yr5SsMJjiC55 2KBB3q7XOBOmZviyu/LU6rHPHXzzgHYQ8fwj/RVSEan5ib3fwG8g2fv8rs7jg2qPhYuO ikTV0rJUqR/EkXGaU9HCZ5UPRhx1+9Si4SdPWH4OG1pmNLZs6CaLHNt1m+DEFJ/euynb zY+BVteF7tdajICDfSGHNKP2tjCjOnUiOQzI6Jvp6kZZ/dilPlpbcSCJs6iXYOHVEAKy osFTXJabvSgZJm0YuXJ4QeRRdpDN34uHKV8e+P8/+L31xauPehTwKTQvjEHrGxiSSe9K EX9w== 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=uZnnabnI2Mzio9Cn25PM7kVbJ71/roAaAtA76+0vozrUVMMjLLDpwtjLu2Yj39K0lF P/AcEocZK933stAEINV5rL/Mk6AkveIKeJZnleE64NGvATidBxG7IZ4fNtKdtfT6wP2T TuSN+9nysvf/NaMzYborCdfQ9dhIHo5vTHVBsskdLUBtdTsZZCTUHs6rqF3LmRpzD3yE UNp/efriQ4XQACx/SYjOIN6SksPHcJuDKcej3f5Zstka0l4oobxA2t7BG3r89IU+Wjqs 8S6gAxh9IM9+sPKFAfISEpmAI1VnjVSc64fhmaePaBQf9tBlsNqBM9mCZYwIgXPeJo7D ZzQg==; 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 m13-20020a0562141bcd00b00690b24d21d0si233724qvc.519.2024.03.14.02.24.49 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 14 Mar 2024 02:24:50 -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 1rkhJX-0004sz-2B; Thu, 14 Mar 2024 05:23:51 -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 1rkhJK-0004oF-OH; Thu, 14 Mar 2024 05:23:38 -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 1rkhJG-0007sV-7i; Thu, 14 Mar 2024 05:23:38 -0400 Received: from localhost (localhost [127.0.0.1]) by muminek.juszkiewicz.com.pl (Postfix) with ESMTP id B73BF260AB8; Thu, 14 Mar 2024 10:23:31 +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 OEP9ygsYXWPS; Thu, 14 Mar 2024 10:23:30 +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 CAFD7260B83; Thu, 14 Mar 2024 10:23:28 +0100 (CET) From: Marcin Juszkiewicz Date: Thu, 14 Mar 2024 10:23:25 +0100 Subject: [PATCH v2 2/4] tests/avocado: drop virtio-rng from sbsa-ref tests MIME-Version: 1.0 Message-Id: <20240314-sbsa-ref-firmware-update-v2-2-b557c56559cd@linaro.org> References: <20240314-sbsa-ref-firmware-update-v2-0-b557c56559cd@linaro.org> In-Reply-To: <20240314-sbsa-ref-firmware-update-v2-0-b557c56559cd@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 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 Thu Mar 14 09:23:26 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcin Juszkiewicz X-Patchwork-Id: 780282 Delivered-To: patch@linaro.org Received: by 2002:a05:6000:ed0:b0:33e:7753:30bd with SMTP id ea16csp332368wrb; Thu, 14 Mar 2024 02:24:21 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCVN7ufghXE/IS1dVMGN/pceWhd/YCpxUhLV2LJTssV3pY0vmpMzLv5g7O/2fQnV4nV/iBLo8+t8jweSFCNkB5nV X-Google-Smtp-Source: AGHT+IH/0A0hJvchyWJRLbsXTultJ2oSjoa6gcvChot91zy8fNOrQee/mJkVI+bz4RdWOGw6oPca X-Received: by 2002:a0c:f7c2:0:b0:690:8820:f64f with SMTP id f2-20020a0cf7c2000000b006908820f64fmr140776qvo.6.1710408261191; Thu, 14 Mar 2024 02:24:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1710408261; cv=none; d=google.com; s=arc-20160816; b=og7f96oBJ5LfitQd6wGC2wi798L8wGRcIwfXvy2PON4yWJn8s2AqE4DBDvE3OKEpyl BsOWoE+AhCDEFFr3pQ8ujjXiZ3hrUIaocu66SqxaL3DY6E+laMbVzp4h6m5+Ji3hoYHD hy7Yyf/2ZKSCw4BIDB1CH6lTw6xHG/2DFjfwEFGhNbw9t2vP/c+2eaFXGDpn8u9phhCD jXwShxUx2+lQpQJzn6SLYFIJJ52bj9B4MTDAis7cqYX36X6ptMfUcGcMvQBSrWbYOZPZ aZy3s8e+Rg4rlKwsMWd5nfkEPbb9KK1rm2WXPZBd2ta7r+92VMx3Ko4knQ94wGkzOIzZ xVEQ== 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=aTW4MrvfonD53LM8tWgTYooxAhte+QBgFRtnvL2rUrg=; fh=LC/OdAGxp8XjCcxyMB5oH3DeKOnqJHpFVM0U3yCY+4A=; b=RHFUYEAYIA1kVqgv1QRt4KBYZ/GcoUYOvIbMbQAlGkD0KnQGSOPR0DZtdMEiUa7Lds gzaGP15kGdADfnCFxZpRaHqpLwiEcfeiLhZq+wivDGfIHrZywwdHzfH4VSeR91raL0X8 XK8tIjTzYnzBjsd9bAr1RmKKtv2xXvNgLHNyDct4lasFDWh5TL+QGoYTzjFZLTk2hIRn d5twGcrSriiPMkWpgLyjrSjUipeo1o4n7QiLe8MxfRi1yWSZAb2Er89tiZQFmNzptOuF a+mqHbg9hl6dGCk34KdYglONj2TkLsU7vLxs/2EtysOgw6kzHnt4sCORhw0ljl57wcpm ta5A==; 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 oh9-20020a056214438900b0068f3a5fa97csi228759qvb.436.2024.03.14.02.24.21 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 14 Mar 2024 02:24:21 -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 1rkhJS-0004rl-N7; Thu, 14 Mar 2024 05:23:47 -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 1rkhJL-0004oO-3X; Thu, 14 Mar 2024 05:23:39 -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 1rkhJG-0007sf-J5; Thu, 14 Mar 2024 05:23:38 -0400 Received: from localhost (localhost [127.0.0.1]) by muminek.juszkiewicz.com.pl (Postfix) with ESMTP id E4EDD260B83; Thu, 14 Mar 2024 10:23:32 +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 JzZQ8miKfSNd; Thu, 14 Mar 2024 10:23:30 +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 88AFB2600DA; Thu, 14 Mar 2024 10:23:29 +0100 (CET) From: Marcin Juszkiewicz Date: Thu, 14 Mar 2024 10:23:26 +0100 Subject: [PATCH v2 3/4] tests/avocado: use OpenBSD 7.4 for sbsa-ref MIME-Version: 1.0 Message-Id: <20240314-sbsa-ref-firmware-update-v2-3-b557c56559cd@linaro.org> References: <20240314-sbsa-ref-firmware-update-v2-0-b557c56559cd@linaro.org> In-Reply-To: <20240314-sbsa-ref-firmware-update-v2-0-b557c56559cd@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 7.4 was released in October 2023, time to update before 7.3 gets dropped. Disabled tests for 'max' cpu as OpenBSD fails there. Signed-off-by: Marcin Juszkiewicz --- tests/avocado/machine_aarch64_sbsaref.py | 47 +++++++++++++++++++++++--------- 1 file changed, 34 insertions(+), 13 deletions(-) diff --git a/tests/avocado/machine_aarch64_sbsaref.py b/tests/avocado/machine_aarch64_sbsaref.py index 259225f15f..0e52dc5854 100644 --- a/tests/avocado/machine_aarch64_sbsaref.py +++ b/tests/avocado/machine_aarch64_sbsaref.py @@ -159,14 +159,14 @@ def test_sbsaref_alpine_linux_max(self): # This tests the whole boot chain from EFI to Userspace # We only boot a whole OS for the current top level CPU and GIC # Other test profiles should use more minimal boots - def boot_openbsd73(self, cpu): + def boot_openbsd(self, cpu): self.fetch_firmware() img_url = ( - "https://cdn.openbsd.org/pub/OpenBSD/7.3/arm64/miniroot73.img" + "https://cdn.openbsd.org/pub/OpenBSD/7.4/arm64/miniroot74.img" ) - img_hash = "7fc2c75401d6f01fbfa25f4953f72ad7d7c18650056d30755c44b9c129b707e5" + img_hash = "7b08b2ce081cff6408d183f7152ddcfd2779912104866e4fdf6ae2d864b51142" img_path = self.fetch_asset(img_url, algorithm="sha256", asset_hash=img_hash) self.vm.set_console() @@ -180,23 +180,44 @@ def boot_openbsd73(self, cpu): self.vm.launch() wait_for_console_pattern(self, "Welcome to the OpenBSD/arm64" - " 7.3 installation program.") + " 7.4 installation program.") - def test_sbsaref_openbsd73_cortex_a57(self): + def test_sbsaref_openbsd_cortex_a57(self): """ :avocado: tags=cpu:cortex-a57 + :avocado: tags=os:openbsd """ - self.boot_openbsd73("cortex-a57") + self.boot_openbsd("cortex-a57") - def test_sbsaref_openbsd73_neoverse_n1(self): + def test_sbsaref_openbsd_neoverse_n1(self): """ :avocado: tags=cpu:neoverse-n1 + :avocado: tags=os:openbsd """ - self.boot_openbsd73("neoverse-n1") + self.boot_openbsd("neoverse-n1") - def test_sbsaref_openbsd73_max(self): - """ - :avocado: tags=cpu:max - """ - self.boot_openbsd73("max") +# OpenBSD 7.4 does not boot on current max cpu. +# +# def test_sbsaref_openbsd_max_pauth_off(self): +# """ +# :avocado: tags=cpu:max +# :avocado: tags=os:openbsd +# """ +# self.boot_openbsd("max,pauth=off") + +# @skipUnless(os.getenv('AVOCADO_TIMEOUT_EXPECTED'), 'Test might timeout') +# def test_sbsaref_openbsd_max_pauth_impdef(self): +# """ +# :avocado: tags=cpu:max +# :avocado: tags=os:openbsd +# """ +# self.boot_openbsd("max,pauth-impdef=on") + +# @skipUnless(os.getenv('AVOCADO_TIMEOUT_EXPECTED'), 'Test might timeout') +# def test_sbsaref_openbsd_max(self): +# """ +# :avocado: tags=cpu:max +# :avocado: tags=os:openbsd +# """ +# self.boot_openbsd("max") From patchwork Thu Mar 14 09:23:27 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcin Juszkiewicz X-Patchwork-Id: 780285 Delivered-To: patch@linaro.org Received: by 2002:a05:6000:ed0:b0:33e:7753:30bd with SMTP id ea16csp332603wrb; Thu, 14 Mar 2024 02:25:09 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCV7vTO8eL6eQSYDwkOEcUJK1yH3jjrLk4NSkIOETNU30F4o49QwZGbBUFY6JP/jnx+xArcmH6TE083k6LN3g8sr X-Google-Smtp-Source: AGHT+IHpLVfjSkpMWZaWn6rdBNr7WCkTgq+l092X3T9QYNDjAEnNgnNXkeRcv+8WEzkyoNTxU6Bk X-Received: by 2002:a05:6214:2b44:b0:691:1c52:692f with SMTP id jy4-20020a0562142b4400b006911c52692fmr1208357qvb.12.1710408309628; Thu, 14 Mar 2024 02:25:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1710408309; cv=none; d=google.com; s=arc-20160816; b=HBfWb+eHzWYJUVHHVJklyUD5SlyCWoXSPBMZZ3fZUzwhlcgapj+dDt2WuRu+OZOfyV y9I5YH+g/M8b9dc0fILKP2dQp3oZv71qoMZIkZ8hzE7UCI2tU4DAjNqJxC6A9Ru5nAoz hJuUWAtQNmsdMjQtL0+38J5Nq53w7vlPpLa5hBn3psJeiZzGFItIA7lTQ70GMxfEOjIY giB2tfx1PlIURsJGseWvlA4EIRf/jB2IDYRJuRhDK3QBM3ABfgrY7bmlKufkPh9ybHFt OQVhrr83GgC2WYrI28rz7LL5KVBfPlKDM7PRzHSAUp7uXduVRej3EAgiQpuYfBMIZkgM IGUA== 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=eeXoXU5LVZKqH/pT1e0L1PHQOxPU9uloHyWLOAah9uY=; fh=LC/OdAGxp8XjCcxyMB5oH3DeKOnqJHpFVM0U3yCY+4A=; b=B+J098kutU0mgQqW6zz12nsZc8FcTJS+wMvrsib70kobgF4XOqZg+MJVSUnZG/zvpr 5eOSeI5Td1RmCd3poTvjVmLoO2KASjV1C/uU/lznTM8NJO+ICCaQuI/EdQnFtHnJ/Qx0 /g5ZApdkg+LeeHYPll2L1unFUCwP6BpmytmlFLf48gQedzkKUSuJXYXi0L59i3SlslFg RpF99r/hjvz8xUNaJvai/gQ+xM7meiUOB3FrIVLTYAHKHc+F6WVMe+LAqdz7ld2KHO66 7X6fxwKvZlYHEJJvrqJSjUWYEPJDKrl+N7qtFb7nqlVvzi6Ir2MtoTloeqX0QUQ1BjFN AyYg==; 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 jk9-20020ad45d49000000b0068fab5b582esi232506qvb.132.2024.03.14.02.25.09 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 14 Mar 2024 02:25:09 -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 1rkhJX-0004tE-4K; Thu, 14 Mar 2024 05:23:51 -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 1rkhJK-0004oN-VZ; Thu, 14 Mar 2024 05:23:39 -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 1rkhJH-0007so-J3; Thu, 14 Mar 2024 05:23:38 -0400 Received: from localhost (localhost [127.0.0.1]) by muminek.juszkiewicz.com.pl (Postfix) with ESMTP id B8F922600DA; Thu, 14 Mar 2024 10:23:33 +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 BKMXOj-3mhbc; Thu, 14 Mar 2024 10:23:32 +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 6A643260835; Thu, 14 Mar 2024 10:23:30 +0100 (CET) From: Marcin Juszkiewicz Date: Thu, 14 Mar 2024 10:23:27 +0100 Subject: [PATCH v2 4/4] tests/avocado: sbsa-ref: add Alpine tests for misc 'max' setup MIME-Version: 1.0 Message-Id: <20240314-sbsa-ref-firmware-update-v2-4-b557c56559cd@linaro.org> References: <20240314-sbsa-ref-firmware-update-v2-0-b557c56559cd@linaro.org> In-Reply-To: <20240314-sbsa-ref-firmware-update-v2-0-b557c56559cd@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 --- 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 0e52dc5854..0dd2eff0de 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")