From patchwork Thu Feb 6 13:10:48 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 862511 Delivered-To: patch@linaro.org Received: by 2002:a5d:51d2:0:b0:385:e875:8a9e with SMTP id n18csp119450wrv; Thu, 6 Feb 2025 05:14:03 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCWt+Th77bch715/cTdROc8sNnJIVLKtbkFIaMT5ZO5ijTCDT8Jrs3p07bN6xAtXUal9wGEBTg==@linaro.org X-Google-Smtp-Source: AGHT+IEF2N1s85trKlW6jhC5Py/28Z6HxA1ukLSuQB7uCZ8jFxKgeu7hVsYCcJkr5kL6CXxrwOmg X-Received: by 2002:a05:6122:4004:b0:518:8753:34a6 with SMTP id 71dfb90a1353d-51f0c50a8b0mr3923234e0c.10.1738847643267; Thu, 06 Feb 2025 05:14:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1738847643; cv=none; d=google.com; s=arc-20240605; b=i5hP/uM58MdHeJgBvZLvjGqK3J653uWHedc5IsnlBSiPSEv5jZzwtrwsVgOx621eq4 zOVfWTf7FWIriiqaqBeFJ4pPopFhVq23p/UbK17ZUlbr3MhU8as+xDw6sq1UsKSYkUa0 c71o4QqahWwVlWQuz2M/TN76CfEQYOBI+Rkn4phyjA9VkS4BX5pAnG7TOnGVeBP7ZzAj BEVcJwvfarsRHBxkOxLZh8NyWn4Fe03zUFGKHxuIL11MvgkKnN8YFjmjsOT8KTETPwQu Ove4CiNFr29TtUBxNqNn/LqLfugaQ4/Ig7WytCQobY/pcLKuWhtGSKoi9v55Je+tfMyd qMkQ== 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:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=2lrz/Z9U2Uf5jpDeQ6Q5rMzyggw9C9+W1C5t50i9qAk=; fh=7NsVx5R+L140HvZ0es4udPXCD2KdHoHcZm3kdyNBbE4=; b=TY7/BFp4yx4elVPD4aILtEu6PO/5FUwJmfunBu16tuABbq3NPDppFPPnjsneGtukLH 5FknedmJxv5ZFiDC1LJcKKao75cgYOGV1QKfSCt4CyRZGJ16+wpCLcZhbK83LwYSaRJw 7Ev7LQ08zA3UEdzLP5USjYxtRXiDL5gmDXTvJ85BQgTfyDXYPPBGSN3T5M97LB1njk95 Pql/S5mAbfU8vlFrLcTa9T4dJTvGb7bBBrKXvqrcFxR9qvM9jjlRyChxB3Yb5P/2BgFE D9jzOm+pP79DBJ9tANaNC1uZpppLDP8lvdfJJFdWj5JtpWs8z/TqTWP4/oTCMMtex3qQ uGHg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GQwzIgtA; 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; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id 71dfb90a1353d-51f2296948dsi162177e0c.188.2025.02.06.05.14.03 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 06 Feb 2025 05:14:03 -0800 (PST) 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=GQwzIgtA; 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; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tg1fy-00065x-Dj; Thu, 06 Feb 2025 08:12:16 -0500 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 1tg1fj-0005r2-3e for qemu-devel@nongnu.org; Thu, 06 Feb 2025 08:11:59 -0500 Received: from mail-wr1-x429.google.com ([2a00:1450:4864:20::429]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tg1fh-0008EK-5H for qemu-devel@nongnu.org; Thu, 06 Feb 2025 08:11:58 -0500 Received: by mail-wr1-x429.google.com with SMTP id ffacd0b85a97d-38dbcf418f5so339670f8f.1 for ; Thu, 06 Feb 2025 05:11:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1738847515; x=1739452315; darn=nongnu.org; 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=2lrz/Z9U2Uf5jpDeQ6Q5rMzyggw9C9+W1C5t50i9qAk=; b=GQwzIgtAAYkXR04+4dUt94hxV2Ur+ZcAsEoU8gReSCvMMGenXDFOUozVlWo1ZM0dNK Q4ITZ10nfcLSjyIQ8AQN/ODeq3DgpyoQGYLBQOtAW3wzT9Z3UX+Z66/vSStRb00TsKeq DOlFWX8pEGxtqLYhpt9tuKJISwqXq+uXSj59sOaQo1llZglplllj5DPaSow2UcVbb1gK lhV8lV8KtDti46kAZIRV+2Aqmts4tWm4Elmkv9A/kxIGVwUnI05M56hHNEMpGNHYDizU kP0fiIBfLTMpMmr3LLZ/64HrQg8lCyqTHGRlPv4Z/2tzFjrRSXOOElz7f+WeOGZbABn4 Sh4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1738847515; x=1739452315; 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=2lrz/Z9U2Uf5jpDeQ6Q5rMzyggw9C9+W1C5t50i9qAk=; b=A2vfQ7NVAR4eE8dYChmqX8d42YUKGnRiNrx77SZSZX49vn7p3IZg0GdPlzmu5DVeX9 5HZ/YAe0QU8ns7LwkVg6zxY4d6U0n8gaL6TKZiEqRe7zC80f62TIzuHCKmfZvXBPZ4s+ wNQYPKn6mu2C4gYhlEOH+wFhd5Dnn25CIzes5YRNbCBcSmWvqeVhAdwT4q8wAYdiy2ON 36o0lLJfAcbYNfu5RL1LKCrOj0gULK6Wh3j8U97kXwpH6OVD3rc/aYXxZeDbNZIXpIlT bvdQZXSKvvcXzEhNnoaexMDZWeQVMJRg+jm/T+BxpfxLtkQ14a6Sy5SQX0ja3we0xT9i qfsw== X-Gm-Message-State: AOJu0YxOc71Dh7Dwf2dufW1qtFI89c2qK0RbxYK/RHc6/GMA7nUWyG0I 0bJkNYdgkgjP8hlgtQ8a2K+pEkqsZuAF1BLqkEmFJ8BxZNU7W5WimrOsjcYcJ8omBgDURPnfOwH kDL8= X-Gm-Gg: ASbGncvjrVFOvnfX0ItpkHjXkwPxmzX+WL2mdoo6C24UrKf+hEohmAJZUtCm1arBjFH 9ZhGwfL5T5yrGm/cGdMFz0eYJoBXSaH+Tfal4CQ3z0VWW6B+tUvclF0IQUdViDW0m8GvammH8/+ v1kRrLxRnh/+mx/yZwmajQ60r9qaXW+Uor6ByVkoz5yh7zLzztj1IwGFtMKTlpReQo/O2jakJW8 LwqGhQbtLfy1tfypbrcFfo3Dwn/n951ELbiEwNY/mANTCpuTQ8VfnYCKMggpmEOBtQJKntY1z4k VojxJnSqTQsGolnjpW6Ha88fYH/eRFtT5z72cAxGq8SRKvP+tF+DCnoPBlA2prFU0Q== X-Received: by 2002:adf:f342:0:b0:382:51ae:7569 with SMTP id ffacd0b85a97d-38db48a9824mr4189755f8f.18.1738847515103; Thu, 06 Feb 2025 05:11:55 -0800 (PST) Received: from localhost.localdomain (88-187-86-199.subs.proxad.net. [88.187.86.199]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4390daf4438sm56023825e9.25.2025.02.06.05.11.54 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Thu, 06 Feb 2025 05:11:54 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: qemu-arm@nongnu.org, Anton Johansson , Jason Wang , Paolo Bonzini , Alistair Francis , Thomas Huth , Richard Henderson , Peter Maydell , "Edgar E. Iglesias" , =?utf-8?q?Philippe_Mathieu-?= =?utf-8?q?Daud=C3=A9?= Subject: [PATCH v5 12/16] tests/functional: Explicit endianness of microblaze assets Date: Thu, 6 Feb 2025 14:10:48 +0100 Message-ID: <20250206131052.30207-13-philmd@linaro.org> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20250206131052.30207-1-philmd@linaro.org> References: <20250206131052.30207-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::429; envelope-from=philmd@linaro.org; helo=mail-wr1-x429.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 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 The archive used in test_microblaze_s3adsp1800.py (testing a big-endian target) contains a big-endian kernel. Rename using the _BE suffix. Similarly, the archive in test_microblazeel_s3adsp1800 (testing a little-endian target) contains a little-endian kernel. Rename using _LE suffix. These changes will help when adding cross-endian kernel tests. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson Reviewed-by: Thomas Huth --- tests/functional/test_microblaze_s3adsp1800.py | 6 +++--- tests/functional/test_microblazeel_s3adsp1800.py | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/functional/test_microblaze_s3adsp1800.py b/tests/functional/test_microblaze_s3adsp1800.py index 2c4464bd05a..fac364b1ea9 100755 --- a/tests/functional/test_microblaze_s3adsp1800.py +++ b/tests/functional/test_microblaze_s3adsp1800.py @@ -15,14 +15,14 @@ class MicroblazeMachine(QemuSystemTest): timeout = 90 - ASSET_IMAGE = Asset( + ASSET_IMAGE_BE = Asset( ('https://qemu-advcal.gitlab.io/qac-best-of-multiarch/download/' 'day17.tar.xz'), '3ba7439dfbea7af4876662c97f8e1f0cdad9231fc166e4861d17042489270057') - def test_microblaze_s3adsp1800(self): + def test_microblaze_s3adsp1800_be(self): self.set_machine('petalogix-s3adsp1800') - self.archive_extract(self.ASSET_IMAGE) + self.archive_extract(self.ASSET_IMAGE_BE) self.vm.set_console() self.vm.add_args('-kernel', self.scratch_file('day17', 'ballerina.bin')) diff --git a/tests/functional/test_microblazeel_s3adsp1800.py b/tests/functional/test_microblazeel_s3adsp1800.py index c382afe6bfa..5d353dba5d2 100755 --- a/tests/functional/test_microblazeel_s3adsp1800.py +++ b/tests/functional/test_microblazeel_s3adsp1800.py @@ -17,14 +17,14 @@ class MicroblazeelMachine(QemuSystemTest): timeout = 90 - ASSET_IMAGE = Asset( + ASSET_IMAGE_LE = Asset( ('http://www.qemu-advent-calendar.org/2023/download/day13.tar.gz'), 'b9b3d43c5dd79db88ada495cc6e0d1f591153fe41355e925d791fbf44de50c22') - def test_microblazeel_s3adsp1800(self): + def test_microblazeel_s3adsp1800_le(self): self.require_netdev('user') self.set_machine('petalogix-s3adsp1800') - self.archive_extract(self.ASSET_IMAGE) + self.archive_extract(self.ASSET_IMAGE_LE) self.vm.set_console() self.vm.add_args('-kernel', self.scratch_file('day13', 'xmaton.bin')) tftproot = self.scratch_file('day13')