From patchwork Tue Sep 10 09:48:08 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcin Juszkiewicz X-Patchwork-Id: 826957 Delivered-To: patch@linaro.org Received: by 2002:adf:ab1c:0:b0:367:895a:4699 with SMTP id q28csp213748wrc; Tue, 10 Sep 2024 02:49:16 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCV6N5kqcvMd/WNEjSoLLF7GxxyHyeDJSuRu+Y44RifzBVIW+S76jBtag5jNfkcdeiHg3X2WMg==@linaro.org X-Google-Smtp-Source: AGHT+IHfip2C47/0WuOqinzwr+ZyjPZ+XSvPRylbELOlzB64ouU0Cs6CE2CTHD/hOJCKjGSrT0wL X-Received: by 2002:a05:6214:4293:b0:6c5:20c2:f33d with SMTP id 6a1803df08f44-6c532411aa5mr117967556d6.27.1725961756494; Tue, 10 Sep 2024 02:49:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1725961756; cv=none; d=google.com; s=arc-20240605; b=cLbhIVb26yscyUSTrKJddKSQHlwryPV7jEX0CXjadxQAgxSMcGqHzporDEtDRxXZ+z 9ysq1v4id8gFkiOWe6LWlESzKayM2H6raVj1sok6aj81vDzk2wBozAHjaXTK882GO0To fvqbgiJWQhOUl6L1SbOnBy7U07FabaD8JlI3nEc9VK8Wcv0hPBJ3exOJNVji96BN4W2o ogYFXNz+hCJjWFCoY4szXvKFgK35v6mGWrc7uf6z/7neGF63qsN1qzJ0FLdEfJJdmwbW lyzPVE7QUg7dNO5Tj0kjFSUfrCvWFvYloYzl3svgJVUUyU2K0y39UgNId3TU6+0n0fPv YTOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; 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=l6ZQE5ZWtT7OXRfOnOCNpDXHWa4sj8xB7xQMOguStzs=; fh=2XNni5tFqqNsYuVOJGxzVTMSzHzZnaSMOOPrr5cXMU4=; b=A97Z/Sfxg6ZxgMtLnm9P3Itx/w3DcvCQ5IiT0jbJRkernmPvbW3wMOeKi9Ez3nfliQ kNNPTrHR42RmUVQHVSja7xwAuYMQnCIuOSCERM2ltaqOZj+h3Wsj4XP0II7dS5aAw//z WfPQAC8w/MxzI24EqS6ImXrxcl63JmYThUIr/MOj0DctRgEPMPkSGT6q+VMl84H0OR3w kyGTmrw2O2D+hPGFM56F/O+c3G24lyo5+7nb1jHp8gkSWQHljU0cQm1V5TETt0ijM3wT 83votkkPEDjTER2xq3+iGUXRmxHok2AfEcSjL4ZNnbv1yweyYgrLu6yGj+d2zWNk6+Qz 4ZPA==; 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 6a1803df08f44-6c53432fddcsi74713516d6.14.2024.09.10.02.49.16 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 10 Sep 2024 02:49:16 -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 1snxUD-0006Vl-Q8; Tue, 10 Sep 2024 05:48:37 -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 1snxUB-0006TU-NS; Tue, 10 Sep 2024 05:48:35 -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 1snxU9-0000M8-TU; Tue, 10 Sep 2024 05:48:35 -0400 Received: from localhost (localhost [127.0.0.1]) by muminek.juszkiewicz.com.pl (Postfix) with ESMTP id 7D7422602C9; Tue, 10 Sep 2024 11:48:31 +0200 (CEST) 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 gcrsLz_4zubZ; Tue, 10 Sep 2024 11:48:29 +0200 (CEST) Received: from applejack.lan (83.11.24.101.ipv4.supernova.orange.pl [83.11.24.101]) by muminek.juszkiewicz.com.pl (Postfix) with ESMTPSA id C4026260898; Tue, 10 Sep 2024 11:48:28 +0200 (CEST) From: Marcin Juszkiewicz Date: Tue, 10 Sep 2024 11:48:08 +0200 Subject: [PATCH v5 1/4] tests: use default cpu for aarch64/sbsa-ref MIME-Version: 1.0 Message-Id: <20240910-b4-move-to-freebsd-v5-1-0fb66d803c93@linaro.org> References: <20240910-b4-move-to-freebsd-v5-0-0fb66d803c93@linaro.org> In-Reply-To: <20240910-b4-move-to-freebsd-v5-0-0fb66d803c93@linaro.org> To: qemu-devel@nongnu.org Cc: qemu-arm@nongnu.org, Leif Lindholm , Radoslaw Biernacki , Peter Maydell , Cleber Rosa , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Wainer dos Santos Moschetta , Beraldo Leal , Marcin Juszkiewicz X-Mailer: b4 0.14.0 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 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 want to run tests using default cpu without having to remember which Arm core is it. Change Neoverse-N1 (old default) test to use default cpu (Neoverse-N2 at the moment). Signed-off-by: Marcin Juszkiewicz --- tests/functional/test_aarch64_sbsaref.py | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/tests/functional/test_aarch64_sbsaref.py b/tests/functional/test_aarch64_sbsaref.py index f31c2a60b6..528882f4fa 100755 --- a/tests/functional/test_aarch64_sbsaref.py +++ b/tests/functional/test_aarch64_sbsaref.py @@ -110,16 +110,17 @@ def test_sbsaref_edk2_firmware(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_alpine_linux(self, cpu): + def boot_alpine_linux(self, cpu=None): self.fetch_firmware() iso_path = self.ASSET_ALPINE_ISO.fetch() self.vm.set_console() self.vm.add_args( - "-cpu", cpu, "-drive", f"file={iso_path},media=cdrom,format=raw", ) + if cpu: + self.vm.add_args("-cpu", cpu) self.vm.launch() wait_for_console_pattern(self, "Welcome to Alpine Linux 3.17") @@ -127,8 +128,8 @@ def boot_alpine_linux(self, cpu): def test_sbsaref_alpine_linux_cortex_a57(self): self.boot_alpine_linux("cortex-a57") - def test_sbsaref_alpine_linux_neoverse_n1(self): - self.boot_alpine_linux("neoverse-n1") + def test_sbsaref_alpine_linux_default_cpu(self): + self.boot_alpine_linux() def test_sbsaref_alpine_linux_max_pauth_off(self): self.boot_alpine_linux("max,pauth=off") @@ -148,16 +149,17 @@ 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_openbsd73(self, cpu=None): self.fetch_firmware() img_path = self.ASSET_OPENBSD_ISO.fetch() self.vm.set_console() self.vm.add_args( - "-cpu", cpu, "-drive", f"file={img_path},format=raw,snapshot=on", ) + if cpu: + self.vm.add_args("-cpu", cpu) self.vm.launch() wait_for_console_pattern(self, @@ -167,8 +169,8 @@ def boot_openbsd73(self, cpu): def test_sbsaref_openbsd73_cortex_a57(self): self.boot_openbsd73("cortex-a57") - def test_sbsaref_openbsd73_neoverse_n1(self): - self.boot_openbsd73("neoverse-n1") + def test_sbsaref_openbsd73_default_cpu(self): + self.boot_openbsd73() def test_sbsaref_openbsd73_max_pauth_off(self): self.boot_openbsd73("max,pauth=off") From patchwork Tue Sep 10 09:48:09 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Marcin Juszkiewicz X-Patchwork-Id: 826958 Delivered-To: patch@linaro.org Received: by 2002:adf:ab1c:0:b0:367:895a:4699 with SMTP id q28csp213750wrc; Tue, 10 Sep 2024 02:49:16 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCXWmtG+yHA0AoYKXh0+kVsjDLxcRGUrRMUzIruthrgUSrGA5wjCohMUKLkoI2GD6oUe6aaUuA==@linaro.org X-Google-Smtp-Source: AGHT+IHdi/x8Uyg4yQBvS5gcBEHbU+b6i7JDEnH/laICzq8HiTAyV5SWjchOVBdDZhgZuejxdPAO X-Received: by 2002:a05:622a:190f:b0:458:2fb7:5035 with SMTP id d75a77b69052e-4582fb75348mr110818451cf.3.1725961756630; Tue, 10 Sep 2024 02:49:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1725961756; cv=none; d=google.com; s=arc-20240605; b=k7wTmwk4Uhn9ISdQyDbhTRM6mO10HZNFLp81zzk81dVY9e92Ral9FiWLxhG2F3qSnQ aDKgfPbSwTvOsohHrEA7E/ndf4qgvthXfWI1a+8lT6hJXmMSDRlOomKSntI4XU1QF/ec 8c/su3iuasVAStcGVBpwnQAFzmxa7LhlvucgqgyO/+D5tNIuu0AAOHWOnLTDNhSA1RTc lHdwf+2g1w4YayheqpoSfx5x5+8yiyLmInjaitDflEvRW9sDK/apEQm4s1VepGi3wpjI cRrOxCMzStu8iEIRRIn7/sSICVdZ2NLG5WNdqYQ/iBkCshn0vrmUDst433uy27SDAz2m g7WA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; 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=ykFlWs59B+usHDbjiUZFc6+GeW4CzsvA8BW42ybZ7k4=; fh=2XNni5tFqqNsYuVOJGxzVTMSzHzZnaSMOOPrr5cXMU4=; b=Ma7rwgo3vLCTP9i2J/wYCdFMssoysQZ6G6wwGh2Abw3zE27C7/YSmxm/83mik2NU/Q 5hCTErwGgSUiKycIezHVqKNobOkL0Wa5cQAmpmdIh8pfqQ07Ybe2GQPhPJPNifnKzMBv Zx9izbGarnAdPz9MooqIBtR5VcuQrpbhLAJjTxdFnHzKUcCC9lWtIlYTyq8eiS6O9WZs /q9keq2fQ5nJyUUXKnSObHjOiOOrPoixZUpjg7EIXxK3sElpr99BmKWDXlAng0DwI8OS hEKFszFc8tIQnNZicN7Wa31VcaPtxGvpSi5b2l7d9uzw+K9IHtoWdmTQFAfaOSG0NMAq gmtQ==; 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 d75a77b69052e-458230268fasi72312961cf.755.2024.09.10.02.49.16 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 10 Sep 2024 02:49:16 -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 1snxUE-0006az-TB; Tue, 10 Sep 2024 05:48: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 1snxUD-0006VN-4E; Tue, 10 Sep 2024 05:48:37 -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 1snxUB-0000MN-DB; Tue, 10 Sep 2024 05:48:36 -0400 Received: from localhost (localhost [127.0.0.1]) by muminek.juszkiewicz.com.pl (Postfix) with ESMTP id 59F5A260C04; Tue, 10 Sep 2024 11:48:33 +0200 (CEST) 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 djff2q77UvON; Tue, 10 Sep 2024 11:48:31 +0200 (CEST) Received: from applejack.lan (83.11.24.101.ipv4.supernova.orange.pl [83.11.24.101]) by muminek.juszkiewicz.com.pl (Postfix) with ESMTPSA id D5436260A95; Tue, 10 Sep 2024 11:48:29 +0200 (CEST) From: Marcin Juszkiewicz Date: Tue, 10 Sep 2024 11:48:09 +0200 Subject: [PATCH v5 2/4] tests: add FreeBSD tests for aarch64/sbsa-ref MIME-Version: 1.0 Message-Id: <20240910-b4-move-to-freebsd-v5-2-0fb66d803c93@linaro.org> References: <20240910-b4-move-to-freebsd-v5-0-0fb66d803c93@linaro.org> In-Reply-To: <20240910-b4-move-to-freebsd-v5-0-0fb66d803c93@linaro.org> To: qemu-devel@nongnu.org Cc: qemu-arm@nongnu.org, Leif Lindholm , Radoslaw Biernacki , Peter Maydell , Cleber Rosa , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Wainer dos Santos Moschetta , Beraldo Leal , Marcin Juszkiewicz X-Mailer: b4 0.14.0 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 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 FreeBSD has longer support cycle for stable release (14.x EoL in 2028) than OpenBSD (7.3 we use is already EoL). Also bugfixes are backported so we can stay on 14.x for longer. Signed-off-by: Marcin Juszkiewicz --- tests/functional/test_aarch64_sbsaref.py | 43 +++++++++++++++++++++++++++++++- 1 file changed, 42 insertions(+), 1 deletion(-) diff --git a/tests/functional/test_aarch64_sbsaref.py b/tests/functional/test_aarch64_sbsaref.py index 528882f4fa..89d0b9587a 100755 --- a/tests/functional/test_aarch64_sbsaref.py +++ b/tests/functional/test_aarch64_sbsaref.py @@ -1,6 +1,6 @@ #!/usr/bin/env python3 # -# Functional test that boots a Linux kernel and checks the console +# Functional test that boots a kernel and checks the console # # SPDX-FileCopyrightText: 2023-2024 Linaro Ltd. # SPDX-FileContributor: Philippe Mathieu-Daudé @@ -184,5 +184,46 @@ def test_sbsaref_openbsd73_max(self): self.boot_openbsd73("max") + ASSET_FREEBSD_ISO = Asset( + ('https://download.freebsd.org/releases/arm64/aarch64/ISO-IMAGES/' + '14.1/FreeBSD-14.1-RELEASE-arm64-aarch64-bootonly.iso'), + '44cdbae275ef1bb6dab1d5fbb59473d4f741e1c8ea8a80fd9e906b531d6ad461') + + # 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_freebsd14(self, cpu=None): + self.fetch_firmware() + + img_path = self.ASSET_FREEBSD_ISO.fetch() + + self.vm.set_console() + self.vm.add_args( + "-drive", f"file={img_path},format=raw,snapshot=on", + ) + if cpu: + self.vm.add_args("-cpu", cpu) + + self.vm.launch() + wait_for_console_pattern(self, 'Welcome to FreeBSD!') + + def test_sbsaref_freebsd14_cortex_a57(self): + self.boot_freebsd14("cortex-a57") + + def test_sbsaref_freebsd14_default_cpu(self): + self.boot_freebsd14() + + def test_sbsaref_freebsd14_max_pauth_off(self): + self.boot_freebsd14("max,pauth=off") + + @skipUnless(os.getenv('QEMU_TEST_TIMEOUT_EXPECTED'), 'Test might timeout') + def test_sbsaref_freebsd14_max_pauth_impdef(self): + self.boot_freebsd14("max,pauth-impdef=on") + + @skipUnless(os.getenv('QEMU_TEST_TIMEOUT_EXPECTED'), 'Test might timeout') + def test_sbsaref_freebsd14_max(self): + self.boot_freebsd14("max") + + if __name__ == '__main__': QemuSystemTest.main() From patchwork Tue Sep 10 09:48:10 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcin Juszkiewicz X-Patchwork-Id: 826959 Delivered-To: patch@linaro.org Received: by 2002:adf:ab1c:0:b0:367:895a:4699 with SMTP id q28csp213753wrc; Tue, 10 Sep 2024 02:49:17 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCWpLVExQz71n/ilTLpA7iXLNnVyfH/s5CuhHvkRL7dKdIElHnOHUMTUngGF+CnRXSbweS4xfw==@linaro.org X-Google-Smtp-Source: AGHT+IEi6Y9AIo9TEL0NNBa130bpPFv5yvcnlP7D4AxcogpvN/xo+A1C7nDOQyLmvCHbRWOimeC0 X-Received: by 2002:a05:622a:cb:b0:458:3bc0:f938 with SMTP id d75a77b69052e-4583c7006d9mr42160051cf.1.1725961757374; Tue, 10 Sep 2024 02:49:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1725961757; cv=none; d=google.com; s=arc-20240605; b=lcSS5/TWf91BcqqSlNGpw/Fw3Z0/TieMWrrZld2b0w4X+m+Vl6hWWsQfDv8apYN/lS B78+S7N/jnhwGjBrZArO7MQocpgNgnezybqQWVzobnSsgP5iZqDuosEdE168gxYj9gIO nRqnucZqPMb9Egz+UucvzI0DLeZW9RUuyUzo0Clul1ziwYsX8NkuXGfnYptjJWREDDb8 pTwXwB5JPRSpavgCJGmDPnNZJe/2eO35TQXU3YG8BeL5maOF7QPO85dcnJJwlhbJ+Pco nAt6CN2bmuUlPYtxO0JGs+eO6ZmmZ0Pe0bbNg7xZewOBJ/3zCLo/BxO6+fBvwURUnH0L Gfsg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; 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=wonZRhVlCmJ3rfx64ZLoYDJJXRR6B3NB/kzu6AICag4=; fh=2XNni5tFqqNsYuVOJGxzVTMSzHzZnaSMOOPrr5cXMU4=; b=E0tgk2vPqxcBGDHzPHfD9ud01pMUcDudwXaYJkZ1xD743aB+hud7SVda0DSxN7cANy dUjF7giI1cvZBw90jKoKXKfRXPf17kx8/nSwbZVcKSnbj43X5DeeqcvCXpOu7KcsQLWu 516+xeAJBHP0cA5maIwCiw90vg075sN6KrIjQC8u0Xi8kJfZ99a7DMaF/LEaftIr/IIg GdjG94snFQOz9W2Uon0L791ks85jgGYRVfyIpVTCR0U9Sgp0pKC7ynybg91QiEVo3ubv mO3cKMQKemIsZl6uq+V8tmI2RPze2lvrN359Gz1p61pFfBY9Z8dzo2f0Da5J6jZLaX7F 27rA==; 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 d75a77b69052e-45822fb39acsi71346511cf.610.2024.09.10.02.49.17 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 10 Sep 2024 02:49:17 -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 1snxUF-0006cj-Da; Tue, 10 Sep 2024 05:48:39 -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 1snxUD-0006VZ-LO; Tue, 10 Sep 2024 05:48:37 -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 1snxUC-0000MT-45; Tue, 10 Sep 2024 05:48:37 -0400 Received: from localhost (localhost [127.0.0.1]) by muminek.juszkiewicz.com.pl (Postfix) with ESMTP id 0FD35260836; Tue, 10 Sep 2024 11:48:34 +0200 (CEST) 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 JbCQcShU0BRq; Tue, 10 Sep 2024 11:48:32 +0200 (CEST) Received: from applejack.lan (83.11.24.101.ipv4.supernova.orange.pl [83.11.24.101]) by muminek.juszkiewicz.com.pl (Postfix) with ESMTPSA id 6BAA0260BB4; Tue, 10 Sep 2024 11:48:31 +0200 (CEST) From: Marcin Juszkiewicz Date: Tue, 10 Sep 2024 11:48:10 +0200 Subject: [PATCH v5 3/4] tests: expand timeout information for aarch64/sbsa-ref MIME-Version: 1.0 Message-Id: <20240910-b4-move-to-freebsd-v5-3-0fb66d803c93@linaro.org> References: <20240910-b4-move-to-freebsd-v5-0-0fb66d803c93@linaro.org> In-Reply-To: <20240910-b4-move-to-freebsd-v5-0-0fb66d803c93@linaro.org> To: qemu-devel@nongnu.org Cc: qemu-arm@nongnu.org, Leif Lindholm , Radoslaw Biernacki , Peter Maydell , Cleber Rosa , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Wainer dos Santos Moschetta , Beraldo Leal , Marcin Juszkiewicz X-Mailer: b4 0.14.0 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 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 'Test might timeout' means nothing. Replace it with useful information that it is emulation of pointer authentication what makes this test run too long. Signed-off-by: Marcin Juszkiewicz --- tests/functional/test_aarch64_sbsaref.py | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/tests/functional/test_aarch64_sbsaref.py b/tests/functional/test_aarch64_sbsaref.py index 89d0b9587a..1648e8ceb6 100755 --- a/tests/functional/test_aarch64_sbsaref.py +++ b/tests/functional/test_aarch64_sbsaref.py @@ -137,7 +137,8 @@ def test_sbsaref_alpine_linux_max_pauth_off(self): def test_sbsaref_alpine_linux_max_pauth_impdef(self): self.boot_alpine_linux("max,pauth-impdef=on") - @skipUnless(os.getenv('QEMU_TEST_TIMEOUT_EXPECTED'), 'Test might timeout') + @skipUnless(os.getenv('QEMU_TEST_TIMEOUT_EXPECTED'), + 'Test might timeout due to PAuth emulation') def test_sbsaref_alpine_linux_max(self): self.boot_alpine_linux("max") @@ -175,11 +176,13 @@ def test_sbsaref_openbsd73_default_cpu(self): def test_sbsaref_openbsd73_max_pauth_off(self): self.boot_openbsd73("max,pauth=off") - @skipUnless(os.getenv('QEMU_TEST_TIMEOUT_EXPECTED'), 'Test might timeout') + @skipUnless(os.getenv('QEMU_TEST_TIMEOUT_EXPECTED'), + 'Test might timeout due to PAuth emulation') def test_sbsaref_openbsd73_max_pauth_impdef(self): self.boot_openbsd73("max,pauth-impdef=on") - @skipUnless(os.getenv('QEMU_TEST_TIMEOUT_EXPECTED'), 'Test might timeout') + @skipUnless(os.getenv('QEMU_TEST_TIMEOUT_EXPECTED'), + 'Test might timeout due to PAuth emulation') def test_sbsaref_openbsd73_max(self): self.boot_openbsd73("max") @@ -216,11 +219,13 @@ def test_sbsaref_freebsd14_default_cpu(self): def test_sbsaref_freebsd14_max_pauth_off(self): self.boot_freebsd14("max,pauth=off") - @skipUnless(os.getenv('QEMU_TEST_TIMEOUT_EXPECTED'), 'Test might timeout') + @skipUnless(os.getenv('QEMU_TEST_TIMEOUT_EXPECTED'), + 'Test might timeout due to PAuth emulation') def test_sbsaref_freebsd14_max_pauth_impdef(self): self.boot_freebsd14("max,pauth-impdef=on") - @skipUnless(os.getenv('QEMU_TEST_TIMEOUT_EXPECTED'), 'Test might timeout') + @skipUnless(os.getenv('QEMU_TEST_TIMEOUT_EXPECTED'), + 'Test might timeout due to PAuth emulation') def test_sbsaref_freebsd14_max(self): self.boot_freebsd14("max") From patchwork Tue Sep 10 09:48:11 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcin Juszkiewicz X-Patchwork-Id: 826960 Delivered-To: patch@linaro.org Received: by 2002:adf:ab1c:0:b0:367:895a:4699 with SMTP id q28csp213798wrc; Tue, 10 Sep 2024 02:49:29 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCUjxy5VRa4sQPWVsV0iRA39BoTHtXfzEuQXyj80owbh3xhh404vmCohuZAsmeFypVbonzKilg==@linaro.org X-Google-Smtp-Source: AGHT+IGxprRlWdzQ1LEPkX4s3vUYI4FlLq3q5+IchXIUrufFJGf2lPCMoG0Pr1TPRXZA3k/qwqsb X-Received: by 2002:a05:620a:4011:b0:7a1:df6f:3625 with SMTP id af79cd13be357-7a9a38f1c40mr1234141885a.37.1725961769135; Tue, 10 Sep 2024 02:49:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1725961769; cv=none; d=google.com; s=arc-20240605; b=k1ZsmEwlndXsIfUl2N10C58268UlepsgPSTSPae69wqdpPv+/fr4YUQqv5XDjiaHFm 3xpDD/DzrBAgECQ+/AevgbFDlSWJPmVFyba8gXnrZpA+3q95gQDEv5+qxiXudEXVNoFW u6AuM/wSBpqG4x1o4IYBkogmFOaCvsZO9etT00lUiI/LuHesD8lFXl1rXFASw9zcgKem f+9eFk2fHXGiletH8ILyJiu+hlKE3Sd+vPhD+j7wblSxeTdAfNlUYFNOHsm3mNgzMTwE lcZnVXXGuvyO/CNpYJvhqv/j15p6zkQeNtswoRMBtjTQECGWVwVqLkM1RT+/3x2t2UIo TH1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; 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=yh9GxmubUyFGB63mn3Axka9/QO8bEHIzTKPlGxFGdZQ=; fh=2XNni5tFqqNsYuVOJGxzVTMSzHzZnaSMOOPrr5cXMU4=; b=F5jQ9ieWF/11Htx5HzV2zy/1OE+Gv+IlZqtqzTxKTaqFxsnbZbOjyZBLZ1uzha9opd 62fuEpJY8jkK8a4fnHpzxu2YFliODOhX3iD/fCpjKzwSP1eZobeoCMu+ViJsIbO74kNH Qyt2Zmdtt8aNOVaVB66kmhkr7kHU7i6FnClDhlQ/sesROZ80DiEpc7xqTSVs8NSl4Zoz vqRlh6gNRuaoFWr2xPCOC7fkBln6fDRzF5uplCT1VAKHk+Oi7/BIzfWwmf/6SLF7RCeW 6zeCf2fIQcwdTBcdp9HUhaxLeKgdS85pToiVxPqnvZuY4i71Pf5KIrJT0UivOoHp9418 QAnA==; 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 af79cd13be357-7a9a7a381a0si750055385a.377.2024.09.10.02.49.28 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 10 Sep 2024 02:49:29 -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 1snxUH-0006nV-LU; Tue, 10 Sep 2024 05:48:41 -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 1snxUF-0006c9-5B; Tue, 10 Sep 2024 05:48: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 1snxUD-0000Mq-FQ; Tue, 10 Sep 2024 05:48:38 -0400 Received: from localhost (localhost [127.0.0.1]) by muminek.juszkiewicz.com.pl (Postfix) with ESMTP id 8B550260BB4; Tue, 10 Sep 2024 11:48:35 +0200 (CEST) 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 8iP37E5UKAXf; Tue, 10 Sep 2024 11:48:33 +0200 (CEST) Received: from applejack.lan (83.11.24.101.ipv4.supernova.orange.pl [83.11.24.101]) by muminek.juszkiewicz.com.pl (Postfix) with ESMTPSA id 5360A260898; Tue, 10 Sep 2024 11:48:32 +0200 (CEST) From: Marcin Juszkiewicz Date: Tue, 10 Sep 2024 11:48:11 +0200 Subject: [PATCH v5 4/4] tests: drop OpenBSD tests for aarch64/sbsa-ref MIME-Version: 1.0 Message-Id: <20240910-b4-move-to-freebsd-v5-4-0fb66d803c93@linaro.org> References: <20240910-b4-move-to-freebsd-v5-0-0fb66d803c93@linaro.org> In-Reply-To: <20240910-b4-move-to-freebsd-v5-0-0fb66d803c93@linaro.org> To: qemu-devel@nongnu.org Cc: qemu-arm@nongnu.org, Leif Lindholm , Radoslaw Biernacki , Peter Maydell , Cleber Rosa , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Wainer dos Santos Moschetta , Beraldo Leal , Marcin Juszkiewicz X-Mailer: b4 0.14.0 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 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 OpenBSD 7.3 we use is EoL. Both 7.4 and 7.5 releases do not work on anything above Neoverse-N1 due to PAC emulation: https://marc.info/?l=openbsd-arm&m=171050428327850&w=2 OpenBSD 7.6 is not yet released. Signed-off-by: Marcin Juszkiewicz --- tests/functional/test_aarch64_sbsaref.py | 44 -------------------------------- 1 file changed, 44 deletions(-) diff --git a/tests/functional/test_aarch64_sbsaref.py b/tests/functional/test_aarch64_sbsaref.py index 1648e8ceb6..b50e1a5965 100755 --- a/tests/functional/test_aarch64_sbsaref.py +++ b/tests/functional/test_aarch64_sbsaref.py @@ -143,50 +143,6 @@ def test_sbsaref_alpine_linux_max(self): self.boot_alpine_linux("max") - ASSET_OPENBSD_ISO = Asset( - ('https://cdn.openbsd.org/pub/OpenBSD/7.3/arm64/miniroot73.img'), - '7fc2c75401d6f01fbfa25f4953f72ad7d7c18650056d30755c44b9c129b707e5') - - # 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=None): - self.fetch_firmware() - - img_path = self.ASSET_OPENBSD_ISO.fetch() - - self.vm.set_console() - self.vm.add_args( - "-drive", f"file={img_path},format=raw,snapshot=on", - ) - if cpu: - self.vm.add_args("-cpu", cpu) - - self.vm.launch() - wait_for_console_pattern(self, - "Welcome to the OpenBSD/arm64" - " 7.3 installation program.") - - def test_sbsaref_openbsd73_cortex_a57(self): - self.boot_openbsd73("cortex-a57") - - def test_sbsaref_openbsd73_default_cpu(self): - self.boot_openbsd73() - - def test_sbsaref_openbsd73_max_pauth_off(self): - self.boot_openbsd73("max,pauth=off") - - @skipUnless(os.getenv('QEMU_TEST_TIMEOUT_EXPECTED'), - 'Test might timeout due to PAuth emulation') - def test_sbsaref_openbsd73_max_pauth_impdef(self): - self.boot_openbsd73("max,pauth-impdef=on") - - @skipUnless(os.getenv('QEMU_TEST_TIMEOUT_EXPECTED'), - 'Test might timeout due to PAuth emulation') - def test_sbsaref_openbsd73_max(self): - self.boot_openbsd73("max") - - ASSET_FREEBSD_ISO = Asset( ('https://download.freebsd.org/releases/arm64/aarch64/ISO-IMAGES/' '14.1/FreeBSD-14.1-RELEASE-arm64-aarch64-bootonly.iso'),