From patchwork Wed Sep 29 13:05:53 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 514850 Delivered-To: patch@linaro.org Received: by 2002:a05:6638:4087:0:0:0:0 with SMTP id m7csp31271jam; Wed, 29 Sep 2021 06:33:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzvvmOp6xieFr+Q9A96ohmsMbrsEBHAiww076SGBq3hFzjCqZz6Tamrk0zwjpsu7BRek7Nb X-Received: by 2002:a17:906:e82:: with SMTP id p2mr13604408ejf.50.1632922437616; Wed, 29 Sep 2021 06:33:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632922437; cv=none; d=google.com; s=arc-20160816; b=Fjf6bnpvb+eTbDXcQcq/4QjtSATB9MPQ31Nf0r8WYdSrqJG39ycdRVgkB1jrVHogYU uXijm3ROssaSfWEsqqvSdjQ4Gsw5OWOT8HLQQHtj+JIzkS4mPY0mxkuMOStIZm47BJuD iqd6jfYdws1p//7JMPv9/CfsmtX8JAnVoWmiq/Zk5BysUfbWwFGFPHzIxNjsBUK12wY0 sGuegj95V24gdf5vNh9oOb6MnQHLvYD0I+LQs9WuwCQP4UOZQ7BV1IiHM1Sd9UAh7djc Kv8fjyCsxjWDwcsIk7LA3o+eNbYE+9+uzS5NEmeWc2DElIg4Qc9ikVekwyKLWUdlaW0q kAPA== 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=8ynnp9vGqHmT6kBqqAm5CvgCkc8r0kk+mLzxDi9UCsM=; b=SHtwlmnAvBgPqYuxlpR5RUd9ksjYUinf+fBF6ntGw21GFzO6E79UEMOkvXN4YHruDB mNkqNdPT1Z12ZxZ3lP8LYSJd5hNzF682BIzON2WG1yuuWFOqgRABABBVjhbnZdSWmGyq i+sjHQSob6sQFXW0d7gm2ZAh+t+cfp48W3f1UmLctpHloN7c4Pq0P8bOY1nix1eRHL2q BLFU9Y2uBZe2s1qDG4I477rt0JiiKnf1GJflgTHzV2k8yVG8VqRWIO/6bOL8Od4xQu3J evOoPUfcR9fFjyoGvDqMpGVjCM+IKEfnkWwWVw459mK6RTT3f5Ko6nw4vHZJPM0ewVNz Xq5g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=mvRtgLBz; 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 i16si2621367ejd.241.2021.09.29.06.33.57 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 29 Sep 2021 06:33:57 -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=mvRtgLBz; 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]:34378 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mVZie-0005VW-Ng for patch@linaro.org; Wed, 29 Sep 2021 09:33:56 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39650) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mVZIY-0007mH-Nx for qemu-devel@nongnu.org; Wed, 29 Sep 2021 09:07:00 -0400 Received: from mail-ot1-x336.google.com ([2607:f8b0:4864:20::336]:33322) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mVZIV-0006XF-9v for qemu-devel@nongnu.org; Wed, 29 Sep 2021 09:06:56 -0400 Received: by mail-ot1-x336.google.com with SMTP id d12-20020a05683025cc00b0054d8486c6b8so2823363otu.0 for ; Wed, 29 Sep 2021 06:06:54 -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=8ynnp9vGqHmT6kBqqAm5CvgCkc8r0kk+mLzxDi9UCsM=; b=mvRtgLBzAt+bZSG8RlwHk4zvHquy+UygSVZG2U8ECHZxr5mHCMvcheturV0uFklSY/ mUtl1u/F4eDWrkKvKsKLFTCfEz+8cbzym+j/hlxnhjqXfO0z1Ji8qvIeqYMMmhBnn1YI sXsqH/TqjCvIc+jZrTgvISAE1Z5/x45g6gCOSnpPD885+9OQEl2bi6KUDVFcvybQxfXg 7a8MZRzcyoRSEEThKRM9g2LIo8uR9W9HYc78XMOKp0ghTQ+B0rodkHY9TnEMG/RC6Sqk 3i2pAYFaRPUfTzidN1v/n2NQOwoZIKCbpr0c6t2qwxFfByPDOsNsWlVqhEHWsdE8XV10 /itQ== 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=8ynnp9vGqHmT6kBqqAm5CvgCkc8r0kk+mLzxDi9UCsM=; b=1HYcKI5TTeKXhRdtNBwqTn2QcTAzqtzCoZmZrad0/TTEEe0KTvQsVLCAp06Rv8o6w6 R3EhcMn8XIFwR3Q7nWTfg/dfJ3jwYhUO94Mz5ZJqkNfgDgJoXrb352vZUJ6pG5WVYFLp PuXu3/fN2Nz3N89T9th017oUe6+EEAJRTwAF0rUBoPmnWnSZ6lzN9F0GM5zUt2yWXtXX 75GTkqSiXsiHlKjsn/DMHo2gTak7e5PR1foHj3aDnljN9mD89NREWrYPUcacXV6kaEQ0 FKFIcv2Mfx24o9Lmv5oLqnSE89QUDt11tzsb/GhYmFHom5Zjh0igh3WrDA2dM1xleDS1 m/Fw== X-Gm-Message-State: AOAM533AS9iEOcebcJty3+2L8CwKPlRzLZ4+qob40e7tK35rd8Y47eCw nJ+cC6bf2nVg114mqeM7dOTR+cEPDViDug== X-Received: by 2002:a05:6830:101:: with SMTP id i1mr3611867otp.107.1632920814238; Wed, 29 Sep 2021 06:06:54 -0700 (PDT) Received: from localhost.localdomain ([172.58.171.248]) by smtp.gmail.com with ESMTPSA id w1sm442823ote.41.2021.09.29.06.06.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Sep 2021 06:06:53 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PATCH v5 26/26] tests/tcg/multiarch: Re-enable signals test for most guests Date: Wed, 29 Sep 2021 09:05:53 -0400 Message-Id: <20210929130553.121567-27-richard.henderson@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210929130553.121567-1-richard.henderson@linaro.org> References: <20210929130553.121567-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::336; envelope-from=richard.henderson@linaro.org; helo=mail-ot1-x336.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: alex.bennee@linaro.org, laurent@vivier.eu Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" With signal trampolines safely off the stack for all guests besides hppa, we can re-enable this test. It does show up a problem with sh4 (unrelated?), so leave that test disabled for now. Signed-off-by: Richard Henderson --- tests/tcg/hppa/Makefile.target | 7 +++++++ tests/tcg/i386/Makefile.target | 3 --- tests/tcg/multiarch/Makefile.target | 8 -------- tests/tcg/sh4/Makefile.target | 7 +++++++ 4 files changed, 14 insertions(+), 11 deletions(-) -- 2.25.1 Reviewed-by: Philippe Mathieu-Daudé diff --git a/tests/tcg/hppa/Makefile.target b/tests/tcg/hppa/Makefile.target index 473864d1d4..d0d5e0e257 100644 --- a/tests/tcg/hppa/Makefile.target +++ b/tests/tcg/hppa/Makefile.target @@ -5,3 +5,10 @@ # On parisc Linux supports 4K/16K/64K (but currently only 4k works) EXTRA_RUNS+=run-test-mmap-4096 # run-test-mmap-16384 run-test-mmap-65536 +# This triggers failures for hppa-linux about 1% of the time +# HPPA is the odd target that can't use the sigtramp page; +# it requires the full vdso with dwarf2 unwind info. +run-signals: signals + $(call skip-test, $<, "BROKEN awaiting vdso support") +run-plugin-signals-with-%: + $(call skip-test, $<, "BROKEN awaiting vdso support") diff --git a/tests/tcg/i386/Makefile.target b/tests/tcg/i386/Makefile.target index a053ca3f15..38c10379af 100644 --- a/tests/tcg/i386/Makefile.target +++ b/tests/tcg/i386/Makefile.target @@ -65,9 +65,6 @@ run-plugin-%-with-libinsn.so: -d plugin -D $*-with-libinsn.so.pout $*, \ "$* (inline) on $(TARGET_NAME)") -run-plugin-signals-with-libinsn.so: - $(call skip-test, $<, "BROKEN awaiting sigframe clean-ups and vdso support") - # Update TESTS I386_TESTS:=$(filter-out $(SKIP_I386_TESTS), $(ALL_X86_TESTS)) TESTS=$(MULTIARCH_TESTS) $(I386_TESTS) diff --git a/tests/tcg/multiarch/Makefile.target b/tests/tcg/multiarch/Makefile.target index 85a6fb7a2e..3f283eabe6 100644 --- a/tests/tcg/multiarch/Makefile.target +++ b/tests/tcg/multiarch/Makefile.target @@ -32,14 +32,6 @@ threadcount: LDFLAGS+=-lpthread signals: LDFLAGS+=-lrt -lpthread -# This triggers failures on s390x hosts about 4% of the time -# This triggers failures for hppa-linux about 1% of the time -run-signals: signals - $(call skip-test, $<, "BROKEN awaiting sigframe clean-ups and vdso support") - -run-plugin-signals-with-%: - $(call skip-test, $<, "BROKEN awaiting sigframe clean-ups and vdso support") - # We define the runner for test-mmap after the individual # architectures have defined their supported pages sizes. If no # additional page sizes are defined we only run the default test. diff --git a/tests/tcg/sh4/Makefile.target b/tests/tcg/sh4/Makefile.target index 9d18d44612..47c39a44b6 100644 --- a/tests/tcg/sh4/Makefile.target +++ b/tests/tcg/sh4/Makefile.target @@ -5,3 +5,10 @@ # On sh Linux supports 4k, 8k, 16k and 64k pages (but only 4k currently works) EXTRA_RUNS+=run-test-mmap-4096 # run-test-mmap-8192 run-test-mmap-16384 run-test-mmap-65536 + +# This triggers failures for sh4-linux about 10% of the time. +# Random SIGSEGV at unpredictable guest address, cause unknown. +run-signals: signals + $(call skip-test, $<, "BROKEN") +run-plugin-signals-with-%: + $(call skip-test, $<, "BROKEN")