From patchwork Wed Feb 12 11:24:10 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: 864440 Delivered-To: patch@linaro.org Received: by 2002:a5d:4cc5:0:b0:38f:210b:807b with SMTP id c5csp68113wrt; Wed, 12 Feb 2025 03:28:44 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCWmg1LxCAP09G8GnBgIZZYce6vbxdVSGnxb2VJXwl0GHAujOPFJETM/7Y1If0m8Ayyb8dhZrA==@linaro.org X-Google-Smtp-Source: AGHT+IHJjCZlOlRp5DAfMJjnrwc8C9OCsX+PtTt9aRbvJ5g+ybAHekIeAJ2JonjwZwWaZE5G+dj5 X-Received: by 2002:a05:620a:1919:b0:7c0:589b:2f37 with SMTP id af79cd13be357-7c06fc7ffc6mr436119385a.31.1739359724683; Wed, 12 Feb 2025 03:28:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1739359724; cv=none; d=google.com; s=arc-20240605; b=ggsxk3G/vSFqdYYSaJThHUa+wHXWLpL4EQ03FTuR9XL4s/TNiph9sfFj7KrfBLpcwy URp3F3KJ8yfQ0m+mk2+swMMc1BHCw1yF5MiN5UOXsL1YrUEMLRojZZT6xdxUj/uFqFVz SLCi8VsRqUYqNbJGjD0ZfYnR7V0ZZpFU3WnUq3wPIpa4QrA4bF+0GQmsr4A9p6iws/QC dpzj/XRbd5z7s01OcXc2+hnSwlZuhQsSyA2j9qafHJS7IfY20WP0hdkFcZ+t5oADimAC skxIJtCxzY2uHPn+OfDXo5FTbIDaGEx+feTvcbJ3zkF0P36+Ebha1VlLFSiAJhrgtiEK of4g== 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=F/5SvI1nZOETAaAlXL8oDs7D5HNrYsWDKjSPJuAoVFY=; fh=jOJCUaqOG2VMPu6JD/jWkxWZtkuLU6Urvd21Kw0n41U=; b=YHZ/8/1hN3P1TH6CfIeM89UFweH/HcdG+Kwvosn5OjeWXfu4WcHyc0lYrEjSQr49Wo H53zYH3heEiQjHxNU/ZT9qml1+uYp1d6SENr0Ahbv9bCSYw3fHXAROzNT8nzqIrz6wap duhnB6lGEOC/b1Ub/Gdo31a7ZSWq8BmOFaUfneiPXHOEDajUoE+qUgCxcTHvq99gPxj0 IyllbQxI2YAzLry7REBVT4OspyqAX7wBpHAHcSBVtiAHj/cFxBAnkNJZXjH810NF5aVk S/w4nZ/iq16pAxwYtW4ILZThMWcQIZEoVp2BLBi51tABFpJIDdpcs3Hj7GU/dZyRTE1l ktag==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=JpWyRONX; 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 af79cd13be357-7c0588905aasi748946085a.395.2025.02.12.03.28.44 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 12 Feb 2025 03:28:44 -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=JpWyRONX; 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 1tiArZ-0006Mp-83; Wed, 12 Feb 2025 06:25:05 -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 1tiArT-0006Jo-N9 for qemu-devel@nongnu.org; Wed, 12 Feb 2025 06:24:59 -0500 Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tiArR-0004cu-Ko for qemu-devel@nongnu.org; Wed, 12 Feb 2025 06:24:59 -0500 Received: by mail-wr1-x434.google.com with SMTP id ffacd0b85a97d-38dd93a4e8eso3160373f8f.1 for ; Wed, 12 Feb 2025 03:24:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1739359494; x=1739964294; 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=F/5SvI1nZOETAaAlXL8oDs7D5HNrYsWDKjSPJuAoVFY=; b=JpWyRONXR10L1q5TXKiHCGj/zhqn4YTScOazJYL5vZFa1eAUWnTkamZEvtf+T7cEvl uZXvagF2F3ZKjNxrBMV206fZM2KD2ug7520QBr6+WTmqXpQdMxjFFuVNOdlSXX7SDZZ3 FnMkJpO4TsbfkKMff5DnfGNjZQPCi0W6epgPBflXTaKs1ggLSeVxIkERofi6ObEI6a9K Y3JraFm1ZYKDN+HwW7C9flqj3hmFVjXWeDkiIrLw91Ioc7ng0e0qCIOyJPDEIOS/K8Az BDavkbQmCv0rMRTENjyLMJ+tqvgP5X+eI26Ams3UZEAygzh42UtsaLQFva/QkWT40otJ /bGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1739359494; x=1739964294; 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=F/5SvI1nZOETAaAlXL8oDs7D5HNrYsWDKjSPJuAoVFY=; b=B7AJ9Ft4lBlTQcTKetwtdYibqvgF4kCZy4OXz0YY+PytIMrZmBC2v4JHVlXmbLdXFc XseO6z4cw8jEV459No6LJELTXAOtimSRBuGJNIYd0jbKN+Z4p3NSTKCpM+QBJ+JzmGjz ykyXG5N9GtI6U6v/lH1/JKT4JVUr3TlLBoyI1v3f+Yw2nN7ae3pzzKclKsqSQdevNhFG Ie8arhWjo81oRxsxeYteWQvPAtuRNsWPkvyEqd6t5N8k7YK+qtXjSrYGgC3lFkoIvvog jryHlO3m5CFFgClvZKjSedzRU0+WtMxfUh6RjX1xf28xhC5zJbfrVOqJ2bHzwRiowTTA B1gQ== X-Gm-Message-State: AOJu0Yx6G2CD7YzsycQZh5I1Vva+zrxiNsV57sBu7hoHs4glcZKaaMxp gAhqqx7ivQHdWXTUsRcS5r83pacZbBJYkGlW/9iyUSeqLOqEFNksNFDphEx4LAXC48SXJRlwLrz heKQ= X-Gm-Gg: ASbGnctHKq64QDj0D+cTSXWvFDrrt2td0RCMlUJGjREwkh6C/VxWyRApe1QgjPWYnfe nWAXqngC89ivEza6Kf2s5JRiocMkICNne818vXysvAxR2sw7BENLnk48pKL8WhATmLWktPXMBfv aqnrfrETtaeQ3rGmsFUKhTzkUe/Zat9uGDerP5phduuRz+c0ZeLvAcrDo/EFxUzSLNONgdhk31o L1WgIlZbFyfewmEP1qLbkJwePShayIG+6hrx4N93aYPf0xakE8bpCKE2GRxPI5QB0lBGf7CoKI7 Xrj50chJhY2XVFM2QOYqJQ14aShLzAHA0qAbebW3aQYdpVWQ2PoDYOCUt4NRh8Sscw== X-Received: by 2002:a5d:4c88:0:b0:38d:d93b:5899 with SMTP id ffacd0b85a97d-38dea266daamr1950525f8f.21.1739359494210; Wed, 12 Feb 2025 03:24:54 -0800 (PST) Received: from localhost.localdomain (88-187-86-199.subs.proxad.net. [88.187.86.199]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-38dc9ef8ac6sm14517102f8f.27.2025.02.12.03.24.53 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Wed, 12 Feb 2025 03:24:53 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: qemu-riscv@nongnu.org, qemu-ppc@nongnu.org, "Edgar E. Iglesias" , Alistair Francis , Richard Henderson , Thomas Huth , Markus Armbruster , qemu-arm@nongnu.org, =?utf-8?q?Daniel_P=2E_Berrang=C3=A9?= , =?utf-8?q?Phil?= =?utf-8?q?ippe_Mathieu-Daud=C3=A9?= Subject: [PATCH v6 08/11] tests/functional: Explicit endianness of microblaze assets Date: Wed, 12 Feb 2025 12:24:10 +0100 Message-ID: <20250212112413.37553-9-philmd@linaro.org> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20250212112413.37553-1-philmd@linaro.org> References: <20250212112413.37553-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::434; envelope-from=philmd@linaro.org; helo=mail-wr1-x434.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 Message-Id: <20250206131052.30207-13-philmd@linaro.org> --- 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 5bf94d88dd8..ccebf5c2ce1 100755 --- a/tests/functional/test_microblazeel_s3adsp1800.py +++ b/tests/functional/test_microblazeel_s3adsp1800.py @@ -17,15 +17,15 @@ class MicroblazeelMachine(QemuSystemTest): timeout = 90 - ASSET_IMAGE = Asset( + ASSET_IMAGE_LE = Asset( ('https://qemu-advcal.gitlab.io/qac-best-of-multiarch/download/' 'day05.tar.xz'), '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')