From patchwork Tue Jun 27 16:06:40 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 696846 Delivered-To: patch@linaro.org Received: by 2002:adf:e885:0:0:0:0:0 with SMTP id d5csp3862934wrm; Tue, 27 Jun 2023 09:08:54 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7Mqj0fyeEp055ZPrsMRnIxXfWCRkM+2xxLYtS2yXFtrFUcZ7RTIqCJB0MDQKYLyjSvGUSf X-Received: by 2002:a05:620a:258b:b0:762:3565:7407 with SMTP id x11-20020a05620a258b00b0076235657407mr34999646qko.2.1687882134333; Tue, 27 Jun 2023 09:08:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687882134; cv=none; d=google.com; s=arc-20160816; b=AqB9Vb9HvMYlB5oO9xpOTJBhxjJAaoVnLP8EXySgLR6BN+onrVeGtaMrbAhAex7ipA RYkBdzClCsmA1TkVq6ASB3cmKNmpxSc+qa0fI5THo59g57z23MN4L/k6J3rO7YvVF9oF PpakO9R9lQHS2RiEIIkehNbR8IWnhEyjUKjDLj1R0jMVmsrZ2znyPh+kh5D6/JxyW/hZ wETgRHDnDlmEXBK7NLBJDksGGxDfslqLLKsjsTPHcxhoWha6NV4bOHqJrIQNtWG7ku2R kzQ20d1iABoSLi9st4J1YPWxhMXC5YAjo2eS6W1y6vuy9zkBao0uVG8RdjygbdntepcX PAmA== 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=AouWM1m7VIgcxf/wQ9k/4ktgNJVDqALSrdqBKb0paEY=; fh=UYmazdnd7dWeaUl9zzIqQyuUvQUcVQKeyrKAe+85WNA=; b=0zcHgUH5qp4GJIkJmWHN4QF/48wMztkHQOCnc8+KK3HfCZAuU5zp381BqfocQue6Xo laX1yPlAXAjgREhzYW0ez8yvW3Gcew/qOXcqVfUdcYeuZga35YWsu02yQd6V/KdMYDA1 gTJB+6fu/zrxqzIDJA1anCnzTsHdz7Ia/WhoSo72aJ+TccBt1mFQL8ReKosExOYZRiIe JFU6z2gZjGBqWYR8/GrrwLvudi8x1VfFl/hQdmwdkZ/O8D57mOEUNSb9wvEDzDUM7bDi fwUtKw/p+lsekT0BopBOjbEYCKceVyhY5/zmNTQ5gQkuj24KBQII4aqNRzo7rrRF32Os mVCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=LdCR1f0g; 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 Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id t6-20020a05620a0b0600b00763b64c273esi2111759qkg.220.2023.06.27.09.08.54 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 27 Jun 2023 09:08:54 -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=LdCR1f0g; 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 Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qEBE9-0000OP-PJ; Tue, 27 Jun 2023 12:07:38 -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 1qEBDp-0000Hi-3H for qemu-devel@nongnu.org; Tue, 27 Jun 2023 12:07:17 -0400 Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qEBDi-0005Az-0h for qemu-devel@nongnu.org; Tue, 27 Jun 2023 12:07:16 -0400 Received: by mail-wm1-x329.google.com with SMTP id 5b1f17b1804b1-3fa8ce2307dso38250105e9.2 for ; Tue, 27 Jun 2023 09:07:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1687882028; x=1690474028; 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=AouWM1m7VIgcxf/wQ9k/4ktgNJVDqALSrdqBKb0paEY=; b=LdCR1f0gPcTjLls4gsCDJE56hvQXwVfLgH2LjS+JNO6cCNP8JcDalTTJ32f8GxnS94 eM3y9OVylVa0VtfIUXwZZZx2oWqH+bmk3Ti6o7tbOynUXBLsHOFvRsqsegTy9cHhTzEH wVmhbvvrrIfgGI+q1/PBIzmM78D0iFB+eeECYdau414XVWvMSNen8xOpmZzL54bDjzqA RaQiBPIjEVfibty5VUS1mHhvfz8NauIXPT8KpfU2EsBWioJ80fks0l7oq7mY6k/DYrpm JsM/Tm6qRSA+d1KyA5btN/kKtxrLWE9clix7tkG/qxCkErEOkaNXuvv9qxcFz4p36l99 FXlg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687882028; x=1690474028; 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=AouWM1m7VIgcxf/wQ9k/4ktgNJVDqALSrdqBKb0paEY=; b=kmgv96NBwr4JbEOzwi+Y+o5Pt60U4mjO7VHQx6SsHhZzVLCHpob1nyQAWjGkNqWSPx 93z4xdHnNyy5Rgu86JRAAgC8pu7mdYHNkbimk4MYc0FUkYsWocxyzrZ52qSDI9P/hkNj S6br9WU5I6nVFREH3Xu+Zs7WjqbSuzdZ8PmDWOylV0lOIyIdo0KTraUNgZbxQyybzIeK am32VoQ5w3D2IOk2zw4L/zmzjMVqWbh3y/YRsFGmEir5BJpuwa5KMfWiMw3mOgUs1l6l Xx2p9rvon6EUySTqT6j9PB/ZFddxoiEclfM5r4Oea8rYXakn4Ix4EnPpSmPDPHyEFmpT X8iQ== X-Gm-Message-State: AC+VfDx1muvqqBhbNqsqZMyjRUo4xZHsndtaujKQShiIrkIy1sYM3xc2 37FuAsjj6q+56It4vuO/nFtWPw== X-Received: by 2002:a7b:c4c9:0:b0:3fa:8519:d323 with SMTP id g9-20020a7bc4c9000000b003fa8519d323mr11524580wmk.5.1687882028560; Tue, 27 Jun 2023 09:07:08 -0700 (PDT) Received: from zen.linaroharston ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id l21-20020a7bc455000000b003fa95c466a1sm6836620wmi.5.2023.06.27.09.07.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Jun 2023 09:07:07 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id A3C751FFC8; Tue, 27 Jun 2023 17:07:02 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: qemu-arm@nongnu.org, Riku Voipio , Leonardo Bras , Wainer dos Santos Moschetta , Leif Lindholm , Yanan Wang , Marcin Juszkiewicz , Bandan Das , Beraldo Leal , Laurent Vivier , Marcel Apfelbaum , Bin Meng , =?utf-8?q?Daniel_P=2E_Berrang=C3=A9?= , =?utf-8?q?Alex?= =?utf-8?q?_Benn=C3=A9e?= , Stefan Hajnoczi , Richard Henderson , Peter Maydell , Thomas Huth , Cleber Rosa , Alexandre Iooss , Juan Quintela , Eduardo Habkost , Paolo Bonzini , Qiuhao Li , Mahmoud Mandour , Peter Xu , Radoslaw Biernacki , Darren Kenny , Laurent Vivier , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Alexander Bulekov Subject: [PATCH v3 16/36] tests/avocado: update firmware to enable sbsa-ref/max Date: Tue, 27 Jun 2023 17:06:40 +0100 Message-Id: <20230627160700.2955547-17-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230627160700.2955547-1-alex.bennee@linaro.org> References: <20230627160700.2955547-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::329; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x329.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, T_SCC_BODY_TEXT_LINE=-0.01 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 From: Marcin Juszkiewicz Update prebuilt firmware images to have TF-A with FEAT_FGT support enabled. This allowed us to enable test for "max" cpu in sbsa-ref machine. Signed-off-by: Marcin Juszkiewicz Message-Id: <20230530152240.79160-1-marcin.juszkiewicz@linaro.org> Signed-off-by: Alex Bennée --- v3 - re-enable for CI --- tests/avocado/machine_aarch64_sbsaref.py | 23 ++++++++++------------- 1 file changed, 10 insertions(+), 13 deletions(-) diff --git a/tests/avocado/machine_aarch64_sbsaref.py b/tests/avocado/machine_aarch64_sbsaref.py index 0a79fa7ab6..cce6ef9f65 100644 --- a/tests/avocado/machine_aarch64_sbsaref.py +++ b/tests/avocado/machine_aarch64_sbsaref.py @@ -29,23 +29,23 @@ def fetch_firmware(self): """ Flash volumes generated using: - - Fedora GNU Toolchain version 12.2.1 20220819 (Red Hat Cross 12.2.1-2) + - Fedora GNU Toolchain version 13.1.1 20230511 (Red Hat 13.1.1-2) - Trusted Firmware-A - https://github.com/ARM-software/arm-trusted-firmware/tree/5fdb2e54 + https://github.com/ARM-software/arm-trusted-firmware/tree/c0d8ee38 - Tianocore EDK II - https://github.com/tianocore/edk2/tree/494127613b - https://github.com/tianocore/edk2-non-osi/tree/41876073 - https://github.com/tianocore/edk2-platforms/tree/8efa4f42 + https://github.com/tianocore/edk2/tree/0f9283429dd4 + https://github.com/tianocore/edk2-non-osi/tree/f0bb00937ad6 + https://github.com/tianocore/edk2-platforms/tree/7880b92e2a04 """ # Secure BootRom (TF-A code) fs0_xz_url = ( - "https://fileserver.linaro.org/s/ATnSmq6k8SoXgbH/" + "https://fileserver.linaro.org/s/HrYMCjP7MEccjRP/" "download/SBSA_FLASH0.fd.xz" ) - fs0_xz_hash = "a210a09692bcbe0a3743ffd0df44e80e0c7ad8ab" + fs0_xz_hash = "447eff64a90b84ce47703c6ec41fbfc25befaaea" tar_xz_path = self.fetch_asset(fs0_xz_url, asset_hash=fs0_xz_hash) archive.extract(tar_xz_path, self.workdir) fs0_path = os.path.join(self.workdir, "SBSA_FLASH0.fd") @@ -93,15 +93,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.8(release):v2.8") + wait_for_console_pattern(self, "BL1: v2.9(release):v2.9") wait_for_console_pattern(self, "BL1: Booting BL2") # Trusted Boot Firmware - wait_for_console_pattern(self, "BL2: v2.8(release)") + wait_for_console_pattern(self, "BL2: v2.9(release)") wait_for_console_pattern(self, "Booting BL31") # EL3 Runtime Software - wait_for_console_pattern(self, "BL31: v2.8(release)") + wait_for_console_pattern(self, "BL31: v2.9(release)") # Non-trusted Firmware wait_for_console_pattern(self, "UEFI firmware (version 1.0") @@ -136,21 +136,18 @@ def boot_alpine_linux(self, cpu): self.vm.launch() wait_for_console_pattern(self, "Welcome to Alpine Linux 3.17") - @skipUnless(os.getenv("AVOCADO_TIMEOUT_EXPECTED"), "Test might timeout") def test_sbsaref_alpine_linux_cortex_a57(self): """ :avocado: tags=cpu:cortex-a57 """ self.boot_alpine_linux("cortex-a57") - @skipUnless(os.getenv("AVOCADO_TIMEOUT_EXPECTED"), "Test might timeout") def test_sbsaref_alpine_linux_neoverse_n1(self): """ :avocado: tags=cpu:max """ self.boot_alpine_linux("neoverse-n1") - @skip("requires TF-A update to handle FEAT_FGT") def test_sbsaref_alpine_linux_max(self): """ :avocado: tags=cpu:max