From patchwork Mon Jul 3 13:44:05 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: 698690 Delivered-To: patch@linaro.org Received: by 2002:adf:fcc5:0:0:0:0:0 with SMTP id f5csp1761038wrs; Mon, 3 Jul 2023 06:50:47 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5ea2Ii0M0+rNU94Bozgd6kWTKDAfXN9I7rCPjmopFU+jo50v7uCyxcWzTEWwamRfn73+W5 X-Received: by 2002:a05:622a:28b:b0:400:9c8e:9e40 with SMTP id z11-20020a05622a028b00b004009c8e9e40mr12633976qtw.19.1688392246879; Mon, 03 Jul 2023 06:50:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688392246; cv=none; d=google.com; s=arc-20160816; b=UABOyHQ4Jdo4TWhZSE7AjY84qnbpHW2DESUhXuU+8N+7jHh0cHzd91AqpZfThRnjdB 1qVWDXdoSi3er9uns+8+6rb8I3YzY+H3VyTW48OEemHac2WD0UlyFekRCz/1tJEpgL4W cY7K4yC3KsySBaVKLyDcMsQPcYiToAfUu+zaYhxdGjub37xcNqT6xabUA6A53a5fS86D 4f+LIUJ5y9NHWFUmhTRuogq5sNouRmLU2q9Fq/BfAs2SF1KdCMjcBU+rY4EpKyU3RPVI VHP6kvdC4G7VcVZoXW+Wv+EEoSg/Ueqf71Yo1EJYIRPL+ph6VpbygWg+1sq87RestWTU BRTQ== 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=aGjH3JSHTLFWqge6ozBEiG9tPjMP6rkOckp4e6jlWi8=; fh=IxmlFGHlIxpKgcYgTKmajej732eqfdDBqUaogOME4Vg=; b=YbAR/8Y2hnYnydOd5DTz80/EJFPdXbfXjM9r9Tx6L1oOuAYAta7vdTrNSlqLk4Nwch F5VFVxamwJbxDEk1cgHZ0FhLoHKlo5dhlD6yt6paQabR9mKAZcF1bkIZHSHBAbjrySBm e/JO0L26yV57sUwggzSzuV1KQjHIHrFm5H99PuMzswX2EQGkc7NkqEpdGgWPFgyhBXkX T25fWl9JDcWtyGr032jY+8x4zl/bnEA2Ml0+jsBLBioe6vErpp8Moz+N1ClmzxLgeHdT mH6BgX/9/JZTlDbOWGolxj4zmVV3hqUJji7pSDi7s3UqRGjVB+iIkLl1g4wKGdmItg4q CZGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=QagG5dx8; 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 z4-20020a05622a028400b004033c943ca3si5530542qtw.733.2023.07.03.06.50.46 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 03 Jul 2023 06:50:46 -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=QagG5dx8; 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 1qGJre-00088q-VJ; Mon, 03 Jul 2023 09:45:15 -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 1qGJr6-0007Th-4E for qemu-devel@nongnu.org; Mon, 03 Jul 2023 09:44:40 -0400 Received: from mail-wm1-x32d.google.com ([2a00:1450:4864:20::32d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qGJr2-0005i2-QA for qemu-devel@nongnu.org; Mon, 03 Jul 2023 09:44:39 -0400 Received: by mail-wm1-x32d.google.com with SMTP id 5b1f17b1804b1-3fba545d743so59667975e9.0 for ; Mon, 03 Jul 2023 06:44:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1688391874; x=1690983874; 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=aGjH3JSHTLFWqge6ozBEiG9tPjMP6rkOckp4e6jlWi8=; b=QagG5dx8KYXDSbk/Ab410y+YQQZR4zkbiIxa5jdY+071aO2Sr9jtrSzfirwdbt577L fYLtmI5gXqxYwxIXCJLQIzkgSlxbYgg3lTVmKGkjf4DCmyxyeGPZWyk95cSHiOfZNeLA tXBa0j+oW0UCxy2FAVvDPE6MHyqs+7a78j4nOWfQD9YBL0HdiEr/qkITxbqk4Mi1Pccd zRxfJQfv9jxJsfn/bglOa5rRvfwLBvZ56B6Q3+ZAmuKZHPvm2PRtXh2J8eCpCmL4jVqU BwVRYfjVEcv8QQyNiJWiETskGgDSPwi5e4y1D6vyIOmphjwPQEdXDrndj2c33JCWUf+C ECtA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688391874; x=1690983874; 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=aGjH3JSHTLFWqge6ozBEiG9tPjMP6rkOckp4e6jlWi8=; b=TA6Xf/kmsSDMUYmLBeyMzZqnHpapxZyAT3yUt71AnPN/6CH1mVmFXGpaM3EKu4xI/W Sj813ChM+HgFSNlee2IQJ41nxrg+/K/uyJjX8Qo1q8JMeU+KWmKu9TdvawSBJmsLZ/K9 jFWKIwbM1J/nAVXcOPBVuo5smHiJr03cBU3NTJ1NvpSICCAB5L/ccedX7u0Qqz31W7Og ZcMsvCQs1Wp1sKqRRsrmLbo+Xe9tc7nq/h5o38sjBZ7OQ292ZTdkDvwQ94n4ZOwPvbRy dZYT3uLp6sPs8+1XZlpaCRByvcJ1qz5DM1jPHTztRUPUz5BGqOhbZGUXVYacT+4BC9ba KiMw== X-Gm-Message-State: AC+VfDwwJ/CugGTeg6bXOd7v78Tve5tUH9u7PIvByzuv1kK1rqpryj9l KpU70BC2/1CZVALBUDnEg/HgKnCHUrT6IscwOlE= X-Received: by 2002:a05:600c:2213:b0:3fa:e92e:7a7b with SMTP id z19-20020a05600c221300b003fae92e7a7bmr9720745wml.15.1688391874564; Mon, 03 Jul 2023 06:44:34 -0700 (PDT) Received: from zen.linaroharston ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id v14-20020a1cf70e000000b003f9b2c602c0sm30137695wmh.37.2023.07.03.06.44.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Jul 2023 06:44:34 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id A3C191FFC8; Mon, 3 Jul 2023 14:44:29 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: richard.henderson@linaro.org, Marcin Juszkiewicz , =?utf-8?q?Alex_Benn?= =?utf-8?q?=C3=A9e?= , Radoslaw Biernacki , Peter Maydell , Leif Lindholm , Cleber Rosa , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Wainer dos Santos Moschetta , Beraldo Leal , qemu-arm@nongnu.org (open list:SBSA-REF) Subject: [PULL 16/38] tests/avocado: update firmware to enable sbsa-ref/max Date: Mon, 3 Jul 2023 14:44:05 +0100 Message-Id: <20230703134427.1389440-17-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230703134427.1389440-1-alex.bennee@linaro.org> References: <20230703134427.1389440-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::32d; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x32d.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 Message-Id: <20230630180423.558337-17-alex.bennee@linaro.org> 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