From patchwork Tue Oct 26 10:22:17 2021 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: 516186 Delivered-To: patch@linaro.org Received: by 2002:ac0:c404:0:0:0:0:0 with SMTP id t4csp141922imj; Tue, 26 Oct 2021 03:30:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxN2bnnivT0AZzf8s8y2N/iGrzngfIxjXwi81rfHPGKep9OCJzRnsrjf8aYBaL4lEyEd87H X-Received: by 2002:a9d:53c4:: with SMTP id i4mr18148974oth.176.1635244203219; Tue, 26 Oct 2021 03:30:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635244203; cv=none; d=google.com; s=arc-20160816; b=dP/45VhxAxRqQKx5rZs+ifnAI8mjf19eWZkP/8hxr+7FfYVvteBxoM0OsQ/4TsK9hj 9bnO8e9rWQ8Mz7RqnsY3QtZhom4Jp7/39YorRgNNDsiiNPENNrgcqrWKisRLc4dxrP5H Dyt5wBAxe4nCTvkw8CCs/7D8kDsmS5m/TTjO0Lq4hZZ3LCrFAYl2H4pFmILFMBVgCtEN onS0zqeJvRfVXS6YG37pr6R0L+SryvN3J9h5m1Ug3YgHBSb97c0VdUthcT4V3sy/9UOi nO+jBoW+uyYhfOR1OCmE/BWhCQMbGfaN7E5VwZ7o1PDejT8bwulKDE7+xdg2EACd+IrO IraQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc: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:to:from :dkim-signature; bh=V4F6dTXCtxB2YfTwcmr2qdGp59H8NrXj+DIueaarNm8=; b=wlnah2TrLCUrbp4LuNOBoR9mecjeuGVjfIufKd3tvqE3i6TWeGzZZGZYUlvT986pnj 2LTqvJwE/JuCj28bqv/GIG8LtE7qnMbeRJVAzm/1C2IZ/ugIIjquHFV3R4TMSjPjyOD3 HdQ8ldDVI/kb8A8PqvZGZYl0FrURchF7sxHyCllHreO41A8hcg0WOlpurLUfByAPM+03 nt8ut9JYH5MSLq0/9QflHb/76L1X6gcGlnNJsMCzq6oZRyZwq1cZnWWQhSjqTXO87Ze7 +znQwLiUt0lUPIzFq76dtkALBaFLLBDg2z0m6KsfYReT9ZrkGwu/z9sYXvLZ9CIoqSZV mAiQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=lDBfBtBX; 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 r82si18542794oif.142.2021.10.26.03.30.03 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 26 Oct 2021 03:30:03 -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=fail header.i=@linaro.org header.s=google header.b=lDBfBtBX; 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]:43134 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mfJiU-0001SP-Dk for patch@linaro.org; Tue, 26 Oct 2021 06:30:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51366) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mfJbY-0000uV-EU for qemu-devel@nongnu.org; Tue, 26 Oct 2021 06:22:52 -0400 Received: from mail-wm1-x330.google.com ([2a00:1450:4864:20::330]:41691) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mfJbW-0007Qy-Tw for qemu-devel@nongnu.org; Tue, 26 Oct 2021 06:22:52 -0400 Received: by mail-wm1-x330.google.com with SMTP id 136-20020a1c008e000000b0032ccae3b331so1004038wma.0 for ; Tue, 26 Oct 2021 03:22:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=V4F6dTXCtxB2YfTwcmr2qdGp59H8NrXj+DIueaarNm8=; b=lDBfBtBXvrT9bZFoMDrRBkCnePQNF5uMrvVmiwTgIYEHbSUphvAXAjoQx5H/pJ9hnc 0NbOJmYfczp3zxHB4veVwp5L4WxLe8H36bU1JTzCEPkZ7EIlOdqvo0JQcaKSbeXfBfKM ErhHkvZ+X9qJuvCJnbvcQIcerNH5D/zfNq7VEWv9G1cBg2Be0aqgzMkg1DC9oWeV7PR2 H3e6382qpH8vNzy22nHUr+6pTj4JJZYNM3nFpUeEBNecTvFSY4BEfElU8bvw5FWso5mk UrCOk1iN+f6t80hcykU1U6OuWwflcFZkF5yZ+TAdCMcBsNzH4Xab3bJm0S9gAfDYrpm+ z6bA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=V4F6dTXCtxB2YfTwcmr2qdGp59H8NrXj+DIueaarNm8=; b=HoqJ0eoJwRFcWPyvjCWCblW5mC+RsgEYbmIkvth62JAMrNtZhF7+Wov2MRWHuN+/0G w9rDgxaJzzmuiSUGR4TLst9STDIW9sWS6jZF/8BA4DUBFpDHkcMI/QbeXwv6haSkoZIe 9CjRTsJVtj//GRF/XEhqlssnyqu7S66ESRlYf644ozVWYG+sQsbAGvS9yy+CgzY7vv/g a0zo/D3Mr1FfdqH1B+XMaoTyEDqBNm7r4oi3mVjs5fPoMNgj/oArqkO9AJB6krbbsaxv 7TI5O14S2H1IJuy4PGvK6yvscbn3+HSSKv8iy0dkxg77bSgvf+kKx+r4Doqv0lVLofeF Gj8w== X-Gm-Message-State: AOAM532sPEJQkPPPIIo9vTiI6TEvb/pMDfSSpYRR21dBRRgioWOGwI5e lnJlSInLuDllwTadTPxQ4ty3gsd63E3SWA== X-Received: by 2002:a05:600c:1d11:: with SMTP id l17mr12949722wms.44.1635243769709; Tue, 26 Oct 2021 03:22:49 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id h2sm7652008wrv.54.2021.10.26.03.22.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Oct 2021 03:22:48 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id BC1581FFA9; Tue, 26 Oct 2021 11:22:35 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v1 11/28] tests/tcg: enable debian-nios2-cross for test building Date: Tue, 26 Oct 2021 11:22:17 +0100 Message-Id: <20211026102234.3961636-12-alex.bennee@linaro.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20211026102234.3961636-1-alex.bennee@linaro.org> References: <20211026102234.3961636-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::330; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x330.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=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: fam@euphon.net, minyihh@uci.edu, berrange@redhat.com, kuhn.chenqun@huawei.com, "Edgar E. Iglesias" , f4bug@amsat.org, robhenry@microsoft.com, mahmoudabdalghany@outlook.com, aaron@os.amperecomputing.com, cota@braap.org, stefanha@redhat.com, crosa@redhat.com, pbonzini@redhat.com, ma.mandourr@gmail.com, =?utf-8?q?Alex_Benn=C3=A9e?= , aurelien@aurel32.net Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Now we have a nios2 test image we can start using it to build tests. However signal handling in nios2 is still broken so we disable the signals and linux-test tests that trigger the bug. Signed-off-by: Alex Bennée --- MAINTAINERS | 1 + tests/tcg/configure.sh | 6 ++++++ tests/tcg/nios2/Makefile.target | 11 +++++++++++ 3 files changed, 18 insertions(+) create mode 100644 tests/tcg/nios2/Makefile.target -- 2.30.2 Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson diff --git a/MAINTAINERS b/MAINTAINERS index 108fcb799b..87d67f19ce 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -222,6 +222,7 @@ F: target/microblaze/ F: hw/microblaze/ F: disas/microblaze.c F: tests/docker/dockerfiles/debian-microblaze-cross.d/build-toolchain.sh +F: tests/tcg/nios2/Makefile.target MIPS TCG CPUs M: Philippe Mathieu-Daudé diff --git a/tests/tcg/configure.sh b/tests/tcg/configure.sh index 0d3ac839ee..34f6dbbc20 100755 --- a/tests/tcg/configure.sh +++ b/tests/tcg/configure.sh @@ -60,6 +60,7 @@ fi : ${cross_cc_mips64="mips64-linux-gnuabi64-gcc"} : ${cross_cc_mipsel="mipsel-linux-gnu-gcc"} : ${cross_cc_mips="mips-linux-gnu-gcc"} +: ${cross_cc_nios2="nios2-linux-gnu-gcc"} : ${cross_cc_ppc="powerpc-linux-gnu-gcc"} : ${cross_cc_cflags_ppc="-m32"} : ${cross_cc_ppc64="powerpc64-linux-gnu-gcc"} @@ -159,6 +160,11 @@ for target in $target_list; do container_image=debian-mips-cross container_cross_cc=mips-linux-gnu-gcc ;; + nios2-*) + container_hosts=x86_64 + container_image=debian-nios2-cross + container_cross_cc=nios2-linux-gnu-gcc + ;; ppc-*|ppc64abi32-*) container_hosts=x86_64 container_image=debian-powerpc-test-cross diff --git a/tests/tcg/nios2/Makefile.target b/tests/tcg/nios2/Makefile.target new file mode 100644 index 0000000000..b38e2352b7 --- /dev/null +++ b/tests/tcg/nios2/Makefile.target @@ -0,0 +1,11 @@ +# nios2 specific test tweaks + +# Currently nios2 signal handling is broken +run-signals: signals + $(call skip-test, $<, "BROKEN") +run-plugin-signals-with-%: + $(call skip-test, $<, "BROKEN") +run-linux-test: linux-test + $(call skip-test, $<, "BROKEN") +run-plugin-linux-test-with-%: + $(call skip-test, $<, "BROKEN")