From patchwork Fri Feb 7 11:39:35 2020 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: 183145 Delivered-To: patch@linaro.org Received: by 2002:a92:1f12:0:0:0:0:0 with SMTP id i18csp637888ile; Fri, 7 Feb 2020 03:41:49 -0800 (PST) X-Google-Smtp-Source: APXvYqz5plTvcnJ19sVDUFe0hD6E3pGB2Iir5Qmze7lRH6yWbU6SkRM4aGbOwQoH0a2H4NG5EdZZ X-Received: by 2002:a37:8683:: with SMTP id i125mr6904260qkd.491.1581075709154; Fri, 07 Feb 2020 03:41:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581075709; cv=none; d=google.com; s=arc-20160816; b=p5Pjw7PFTJYyWz0Dzx+NfVN0XJRswAww1n6TmlSsJHZIlgh5wLqJaXEMqtc9Dbwj5g pJSuY3bVgHCqdzgR8tIrpgM+f8pQIAeNWAMO8uanys2FIcvI4QFSqreoAQ/XhFktVh62 ZmgYgEEqLIUqKi4ldFcN53FUCQk9GuXtbaL56ASeRmf9XWx6iJxLo5adTHK/wnOW+TXA 00PjlZn9ZCuoUUhG5VaQqJldyE7386KA7CavkT9uaukClqYsvVvZrZnG5cx0BD30MfuV Yq87FzjncDaHzMyQ8Yp9Z5G8BpXnWtV7TjCN4SqjsTbITmEQ+DPp/sBaU4B278nOtdgf B+9Q== 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=aRRamzMzvjTZar30SD38wYqoFHYtaZyfi67Aj7iN5oE=; b=TXQcmJFIxWAX2sEhXHvdArfwfBFnKb0ByEITvgT5G1xSX/aZ5mKyXjQZHhUFd7DFoX nybAFXvHeyTUfdAwv60KAAw2fthHFco/WaVG/p+dFg485/AY8HqX/1VDFtSIy7vWNZur mfJt0aSA8nR4lHaSOU7W4Wzitff2GBYe0qW8kCV0104ppw6J/W0QNfvbPR9K/f43ZxXD 7BCpOXxaP4Q1GvUX18umenT4D1koktG8yW3i92jx/Qqm191Oki6J11ao+GIiUrpJWE0J VmyMzNg3828tqnZJQB5kWEzOmr1Q3OCUNBhjNs0+w455Aw4cTuQVTdgSIULTikvWvdyQ qAXQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=QJN+mxNE; 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 e25si1311105qtg.329.2020.02.07.03.41.49 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 07 Feb 2020 03:41:49 -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=fail header.i=@linaro.org header.s=google header.b=QJN+mxNE; 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]:54674 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j0216-0006Ap-MQ for patch@linaro.org; Fri, 07 Feb 2020 06:41:48 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:36113) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j01z6-0002qD-Is for qemu-devel@nongnu.org; Fri, 07 Feb 2020 06:39:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j01z5-0005eZ-K7 for qemu-devel@nongnu.org; Fri, 07 Feb 2020 06:39:44 -0500 Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]:42593) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j01z5-0005d8-Ed for qemu-devel@nongnu.org; Fri, 07 Feb 2020 06:39:43 -0500 Received: by mail-wr1-x443.google.com with SMTP id k11so2262977wrd.9 for ; Fri, 07 Feb 2020 03:39:43 -0800 (PST) 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=aRRamzMzvjTZar30SD38wYqoFHYtaZyfi67Aj7iN5oE=; b=QJN+mxNEcUSB83RE+yAvX7LEl9RsUWKvT1vpTFEusgMzrjk53vglkMJNkVtfCeVW5k 7/lUyUE+Lry2nFiPvs+ZyM57fl+5w+bNjyLj0QXeix6kcYrtx4dT3kbOKcGyqX/u2+QL RBL0XdQH4fCUfzJBV4/dhqHqbTPNZRRM3H/W48R15WAe8CphkdwVlWzJ9OJws+3g1loQ qTABgAlTLRvWYsElQ5FCcl+SmVC0L/vb4bnvbO2b3txcT+qpCCr7x9eAY1kwZ8jIglBY D/BTltBEr68bV5r9PJuE9VXAJ2Xj8hgM/6lmZ6FfqYbuLDWe5bN0/WaMZruVe2tIAaLn Hi6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=aRRamzMzvjTZar30SD38wYqoFHYtaZyfi67Aj7iN5oE=; b=ciGuOf0kt4tSeT8itIuYtX7mL6oKhKDa/ceSskMQVff3wrbDo5NcBuByREqOQFdr5x rSIrqE5L5/w0/J+sttQ8LSJUlmy0VTAMlE5DjXJ6EARL2XNpdvNZev/B6S+g/ljjDYjU bmtScvgYXpH8dG7lKloaVLxNwTJ0PIb0OToLxmJ7w2vKcqLQTkBoVyZ9UEsWGEVLRBRz Ad9bd6oYD8JCASWuGgx/PBrqLcG+e4AbM2c1c/X58URkpaG35H4mj4P4xvlwoWSJy1Qm CGT4QeKcWiAHGDSpRSonFeTjpev0ktYV0uY26x5kZ6atJoJ/tENoDr5IJYRfYD1s5oLj QIlw== X-Gm-Message-State: APjAAAW+41w13T8lWsnBWc3gq5y6rXWmaE1k+pdzK/0x+PVX62xfdG4H 0RxO0l+ii+mOzmgbmzhGXdmTng== X-Received: by 2002:adf:f847:: with SMTP id d7mr4211389wrq.35.1581075582351; Fri, 07 Feb 2020 03:39:42 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id l15sm3022744wrv.39.2020.02.07.03.39.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Feb 2020 03:39:40 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 809701FF8C; Fri, 7 Feb 2020 11:39:39 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v1 1/5] tests/tcg: include a skip runner for pauth3 with plugins Date: Fri, 7 Feb 2020 11:39:35 +0000 Message-Id: <20200207113939.9247-2-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200207113939.9247-1-alex.bennee@linaro.org> References: <20200207113939.9247-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::443 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, Peter Maydell , berrange@redhat.com, stefanb@linux.vnet.ibm.com, =?utf-8?q?Alex_Benn?= =?utf-8?b?w6ll?= , richard.henderson@linaro.org, f4bug@amsat.org, cota@braap.org, stefanha@redhat.com, marcandre.lureau@redhat.com, pbonzini@redhat.com, "open list:ARM TCG CPUs" , aurelien@aurel32.net Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" If we have plugins enabled we still need to have built the test to be able to run it. Signed-off-by: Alex Bennée --- tests/tcg/aarch64/Makefile.softmmu-target | 2 ++ 1 file changed, 2 insertions(+) -- 2.20.1 diff --git a/tests/tcg/aarch64/Makefile.softmmu-target b/tests/tcg/aarch64/Makefile.softmmu-target index d2299b98b76..71f72cfbe34 100644 --- a/tests/tcg/aarch64/Makefile.softmmu-target +++ b/tests/tcg/aarch64/Makefile.softmmu-target @@ -70,4 +70,6 @@ pauth-3: $(call skip-test, "BUILD of $@", "missing compiler support") run-pauth-3: $(call skip-test, "RUN of pauth-3", "not built") +run-plugin-pauth-3-with-%: + $(call skip-test, "RUN of pauth-3 ($*)", "not built") endif From patchwork Fri Feb 7 11:39:36 2020 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: 183146 Delivered-To: patch@linaro.org Received: by 2002:a92:1f12:0:0:0:0:0 with SMTP id i18csp637925ile; Fri, 7 Feb 2020 03:41:51 -0800 (PST) X-Google-Smtp-Source: APXvYqwom/D347I2gBhBGXScz1n1cLC5fVdnqDke8QF4tk3KhekHjLkk4dRw1VLesWD/uO+dsssE X-Received: by 2002:ad4:5304:: with SMTP id y4mr6323217qvr.56.1581075711290; Fri, 07 Feb 2020 03:41:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581075711; cv=none; d=google.com; s=arc-20160816; b=qyUCcf5SLB/zhCkg4z7ZNfIHUz+YsMRLw2uGl2Fgf9IHPJwdraUQG/nOzj7UoTkUzC jqzfv/ae7O/52caG3ylH5bgJfWUg4KcbCW0BZ1a81fzSFOfYKrxqUZeEa5XPkLB7I8kA 8XU36skvfY/0ggodQ/JmefsdezzWzOrndflWsHOM6EBC58/JwGqtGYXh01tlcasEUUWi 0T0O0Sru/7TiKD6v7F69QefuFQ6IXniWnuiBWvuFKtmL6QMx/YbIBM2H0UdbLRcfZsZZ Vhk4KpmxWgl5VQW7XZ0ymYitz8y2lpDzJ7clxeptP+eKysyT5hBpzA2BJcpBKGU9ToVv gEXg== 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=LzvIeCvpZEKsmxLMGQeNvccjyd2G+1aRycbt9INNqtg=; b=r08IpPFgEeGYzG8G2ZTQqWtrdQ6yXZ5C3tE/3xgrUaHWe6WyrUlAYQ0inBSHrsOZHB 2Rq5Jie5Yat/kU1s2BFPLUMFpJLW6M5kI8xgclSywpdTZao5kcga9O1dWa8z085nPUPx mxO9XRRBWa2pDQdlL00b0xs2Cu+d5EnSlc9in5Tlv3dQxZC4d78VSW+43IaJJhl7TNIp SSx0o8yu2P6NJdWn8ocsFQDwkEMOOUyf1SaDJvcyV6iBNc9kBLR0oMjgziG+GAeNSUmS SuUVHauBx+3a6rOB4QtGS1bSeEopgtt597QF+gMRZaSk5SW/ubF1fQ8zNbj+tI4i4mmR NLXg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=QkUxzlo3; 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 k15si1098845qkh.161.2020.02.07.03.41.51 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 07 Feb 2020 03:41:51 -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=fail header.i=@linaro.org header.s=google header.b=QkUxzlo3; 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]:54667 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j0218-0005yb-Rr for patch@linaro.org; Fri, 07 Feb 2020 06:41:50 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:36133) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j01z7-0002qW-O6 for qemu-devel@nongnu.org; Fri, 07 Feb 2020 06:39:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j01z6-0005gX-Pk for qemu-devel@nongnu.org; Fri, 07 Feb 2020 06:39:45 -0500 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]:43704) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j01z6-0005f0-Ik for qemu-devel@nongnu.org; Fri, 07 Feb 2020 06:39:44 -0500 Received: by mail-wr1-x444.google.com with SMTP id z9so2257184wrs.10 for ; Fri, 07 Feb 2020 03:39:44 -0800 (PST) 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=LzvIeCvpZEKsmxLMGQeNvccjyd2G+1aRycbt9INNqtg=; b=QkUxzlo3KnDGlDcI7bmDbx4zP1J+9D5tXvdpAwQPShJcUBtLBBDjBmfH5fk1Wn6aDd YCmCofrPp83CtjA6AqPK2xCGNE8VKCXRdpp4R34qb6GwVf6Vfd7MJLapU+VzV5omoea7 qErwKSfk6TbOjdeXTBqzCymY9DdBPmWZX25T6YLxqFkyNQpHaGDk/m6jjsF7aNOPawdk FF3e4EWNjnrqBFTEo2LkIH46b09dZd5TY2SsweYLBtOV9OI19pN/Sg+nfr74jsdgaELI 66EDosIXqzUbI5pKyKXJEOlYdXhE4zWMFDSJqVYonnQJDIxUmUjh2s6khPFlwkH5m1+b NXqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=LzvIeCvpZEKsmxLMGQeNvccjyd2G+1aRycbt9INNqtg=; b=bK8qp0bm8Bcdzs3xEtmDdtc0wRsPs6XARv2Yf+Aq5eyMRZI6pdpBxDRl+0kU4v7KR1 zlxgAISvJVApUyVcaX0e5KDZ4sBjV6QKk59zmuQ4HAdgM14ZxJ5WRRI5z67OwVj/DJEl cofRxkGmxr+m7/rODdsojKAUELDkXPeU/iAd1IzccPn5jchWtHfSqHllj557R5T012BG vg6sP1PAVjQMepcCj50RnAP8bxH8OR2khX3jkSKFanxaCElPGYpDArXoeH7mUeP4ho4D QdaHQM8zuWFyl+NnpGljA0SCVObScKyCzmpRf8z1nPzwcIUvbr+scfTPfXi9xQqBb8U4 iy2A== X-Gm-Message-State: APjAAAX0LPG00U0DOWhSLioocBE29eYm/EbjwhKOgLN2KWFeQNQebjKY Ztcbiu+lMpHRj+XATP/8blbDUA== X-Received: by 2002:adf:f103:: with SMTP id r3mr4250317wro.295.1581075583589; Fri, 07 Feb 2020 03:39:43 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id 25sm2957049wmi.32.2020.02.07.03.39.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Feb 2020 03:39:41 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 9D4CB1FF8F; Fri, 7 Feb 2020 11:39:39 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v1 2/5] tests/rcutorture: update usage hint Date: Fri, 7 Feb 2020 11:39:36 +0000 Message-Id: <20200207113939.9247-3-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200207113939.9247-1-alex.bennee@linaro.org> References: <20200207113939.9247-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::444 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, berrange@redhat.com, stefanb@linux.vnet.ibm.com, =?utf-8?q?Alex_Benn=C3=A9e?= , richard.henderson@linaro.org, f4bug@amsat.org, cota@braap.org, stefanha@redhat.com, marcandre.lureau@redhat.com, pbonzini@redhat.com, aurelien@aurel32.net Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Although documented in the comments we don't display all the various invocations we can in the usage. Signed-off-by: Alex Bennée --- tests/rcutorture.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 2.20.1 Reviewed-by: Philippe Mathieu-Daudé diff --git a/tests/rcutorture.c b/tests/rcutorture.c index 49311c82ea4..e8b2169e7dd 100644 --- a/tests/rcutorture.c +++ b/tests/rcutorture.c @@ -413,7 +413,8 @@ static void gtest_stress_10_5(void) static void usage(int argc, char *argv[]) { - fprintf(stderr, "Usage: %s [nreaders [ perf | stress ] ]\n", argv[0]); + fprintf(stderr, "Usage: %s [nreaders [ [r|u]perf | stress [duration]]\n", + argv[0]); exit(-1); } From patchwork Fri Feb 7 11:39:37 2020 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: 183144 Delivered-To: patch@linaro.org Received: by 2002:a92:1f12:0:0:0:0:0 with SMTP id i18csp636488ile; Fri, 7 Feb 2020 03:40:04 -0800 (PST) X-Google-Smtp-Source: APXvYqzszUgztMgCH8puwgQeM7a12mThrKnHNABYDySpBC4x1RmSAFw5FDKYQi8bOcfuFb7C5w9X X-Received: by 2002:a37:63c1:: with SMTP id x184mr1209894qkb.11.1581075604030; Fri, 07 Feb 2020 03:40:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581075604; cv=none; d=google.com; s=arc-20160816; b=NKObhzSEp9WgQ+pePAgVFBw47aHycd7rgDemIAZENHdVJeaUOTaL50Tt06F3zEPp1p KJyVk7sVzgzZKhRxFAsc3Fj6hmQthG1krKkryKFpTV3Aq6UCvFTUb3MTD85Z+onP0QXz Xc30dDSYO8tAff/sR88Gkn4RTSdsKIGfoygLbzSW1yHPp41HPQJtbQg7fKm+j05pYCWj sPQQvfsiBYEwrKTpfRJurM0S+XwP1r25+0PqA1gDOzl3tI1Uh5anxS/qU90nYIGlCOoQ 0iYTu1GsclnwaZhuGmgbET1YJdgPgwxRxN8p2+OFEHBAyprEltUT5tVLQZX+BSNX1BV+ Msvw== 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=y4d6Sguo40PEMFEa1p9tKAqrtcGlKPa27ISKFx3kAqI=; b=s3OPg+KrsYcJl4aLT0lt8v+rRKrad9E3ZghpxMzoXa+Gl8STlo0OYw/tbMB+Qropml jB6/RXUXl7dJbBhwh3nGN34vUMKrv+xV4qaUniiW24nbwPx2/8YIes1IFmWSPAMn8S3e Z4kwq5ATP5TK0/zDI3ivd0rj4zXp1P92elp/pfvlZB3FyOKH+1n4JkcMvln8i2c2bQ7L 9+X+qa+e0REEsGHNpcGpZq1Rv6fh7Mz6/DNp+VYlk2cqycuTe0W8KTXA7IW76J+Qtk6N HYDY2M7bsPZpZDSA0n8sLEBJpa2xhhF4PMtzIGvsms4FfN3lj7CB1NwI3iu0A9jbx7G3 Drtw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=xxaxL3XO; 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 n8si1308065qtr.208.2020.02.07.03.40.03 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 07 Feb 2020 03:40:04 -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=fail header.i=@linaro.org header.s=google header.b=xxaxL3XO; 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]:54614 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j01zP-0002wS-IF for patch@linaro.org; Fri, 07 Feb 2020 06:40:03 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:36150) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j01z9-0002sx-52 for qemu-devel@nongnu.org; Fri, 07 Feb 2020 06:39:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j01z8-0005iy-2g for qemu-devel@nongnu.org; Fri, 07 Feb 2020 06:39:47 -0500 Received: from mail-wm1-x341.google.com ([2a00:1450:4864:20::341]:50504) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j01z7-0005hS-SC for qemu-devel@nongnu.org; Fri, 07 Feb 2020 06:39:46 -0500 Received: by mail-wm1-x341.google.com with SMTP id a5so2265090wmb.0 for ; Fri, 07 Feb 2020 03:39:45 -0800 (PST) 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=y4d6Sguo40PEMFEa1p9tKAqrtcGlKPa27ISKFx3kAqI=; b=xxaxL3XOk3IDVbga8LKTZmCLe/MHkX23MmNEtqohD2umfyItiXSveJjh5a4SjHwFFe 8I93g7ZLOJhRZ62nIMc5t50jAGhJOrwCpSQeinSI41ALjlOJPcjDSP3csld8r/Yixyt8 QvlKFABopqjjHkK2O8d7aYAzufhN16g1Otc60AtZ4PAhurwk09t53VqZbYDG89ZYKJkz eGdj8Klcj9fWhJlZ5pI7He86f0OClxvng2C5FbeSc8nAmSPM0rKQ3LyUdwL3Y9A/VglJ e3LLfJXhxBPCgphF8YGesQqCWSq/8mqcQqqAveUkxYh6Btqp7AAE1coc6TjB07HU6BjJ YaMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=y4d6Sguo40PEMFEa1p9tKAqrtcGlKPa27ISKFx3kAqI=; b=AdcIZiq1ZNcFv2U88BhOU8yQaJ1PzgVYRpYFjBczmbd+oGGyt9FuVTHIRjq/sb67sP pZvhtTHBrRrqr9XrjIL/EfIjQB4dU1eXeMBplbcfhzh+wdL4ADLponJq7ueJ1Q83hJS7 2Xi0vjhI6YWtCZIxpNw3qm0MKHw3u/caOtP1EgrdDbkWu7IL7AQ3Uw5X9NQcui/ztfv4 Xpt8xVfxegl9ESEABd5/pHg2xgbzVVGYvWw9Arq4MrhDnYiWVOj2VGM7v7/qOCbeagVb TP6YyYN5MnvRGq37vRMArq6b1rpuDyhsQGd/lgNuvnAgFf42BIG/nzXXFaM+Ola/nlBH Aazw== X-Gm-Message-State: APjAAAXNyQPsvgmyDkDPz5srbpVYUjxcR3QnvUQ1dX9i9clSe9CfZv0O yoHW7SfaXzZtJNZ6Z2vQBoVDcQ== X-Received: by 2002:a05:600c:242:: with SMTP id 2mr3908121wmj.2.1581075584796; Fri, 07 Feb 2020 03:39:44 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id x14sm2954784wmj.42.2020.02.07.03.39.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Feb 2020 03:39:42 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id B27191FF90; Fri, 7 Feb 2020 11:39:39 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v1 3/5] tests/rcutorture: better document locking of stats Date: Fri, 7 Feb 2020 11:39:37 +0000 Message-Id: <20200207113939.9247-4-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200207113939.9247-1-alex.bennee@linaro.org> References: <20200207113939.9247-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::341 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, berrange@redhat.com, stefanb@linux.vnet.ibm.com, =?utf-8?q?Alex_Benn=C3=A9e?= , richard.henderson@linaro.org, f4bug@amsat.org, cota@braap.org, stefanha@redhat.com, marcandre.lureau@redhat.com, pbonzini@redhat.com, aurelien@aurel32.net Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" This is pure code motion with no functional effect. Signed-off-by: Alex Bennée --- tests/rcutorture.c | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) -- 2.20.1 Reviewed-by: Philippe Mathieu-Daudé diff --git a/tests/rcutorture.c b/tests/rcutorture.c index e8b2169e7dd..256d24ed5ba 100644 --- a/tests/rcutorture.c +++ b/tests/rcutorture.c @@ -65,8 +65,6 @@ #include "qemu/rcu.h" #include "qemu/thread.h" -long long n_reads = 0LL; -long n_updates = 0L; int nthreadsrunning; #define GOFLAG_INIT 0 @@ -78,11 +76,20 @@ static volatile int goflag = GOFLAG_INIT; #define RCU_READ_RUN 1000 #define NR_THREADS 100 -static QemuMutex counts_mutex; static QemuThread threads[NR_THREADS]; static struct rcu_reader_data *data[NR_THREADS]; static int n_threads; +/* + * Statistical counts + * + * These are the sum of local counters at the end of a run. + * Updates are protected by a mutex. + */ +static QemuMutex counts_mutex; +long long n_reads = 0LL; +long n_updates = 0L; + static void create_thread(void *(*func)(void *)) { if (n_threads >= NR_THREADS) { @@ -230,8 +237,9 @@ struct rcu_stress { struct rcu_stress rcu_stress_array[RCU_STRESS_PIPE_LEN] = { { 0 } }; struct rcu_stress *rcu_stress_current; int rcu_stress_idx; - int n_mberror; + +/* Updates protected by counts_mutex */ long long rcu_stress_count[RCU_STRESS_PIPE_LEN + 1]; From patchwork Fri Feb 7 11:39:38 2020 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: 183147 Delivered-To: patch@linaro.org Received: by 2002:a92:1f12:0:0:0:0:0 with SMTP id i18csp638013ile; Fri, 7 Feb 2020 03:41:58 -0800 (PST) X-Google-Smtp-Source: APXvYqyhydkN4OPk2K9efnpRiGUIFhaRUsZ6RQxb1qY3RbStQwUjJruNH8wqeFcixjWW/p6frE/t X-Received: by 2002:a37:4d85:: with SMTP id a127mr6829854qkb.267.1581075718857; Fri, 07 Feb 2020 03:41:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581075718; cv=none; d=google.com; s=arc-20160816; b=fVNpRW0xd5qcsC1Od7HI+Cf6Ma90ABVEdruVlJvhf2eWb1SSJoj/tGwSnTyv6PIdsH 6cf8UF9w23cOfvNkbQW9GetNFfpmSOqmcmlYpeWlCxt2od+99KY/fF8AVSlZyrijSM60 In6cBIwhUb39mE01ybvqnuH0vBc/3+G7l6fSHrTEhbYFGAG63o5AfOnG7JNsjOdqvkSI S12sAcdUAswqWpTAfkje6aaJRIp5wtv1yN6e8DBKV/FWaUIugngObLz61nUxwXptWrQm qE4y92XWZe2ln8lE/yWYzUe+8qGnIpiVxHsWckvniSb1bj8yhg3Q8AT11u9f1JCRVYph Vuzg== 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=dX/a2gresk53+psqLbyuBofhTGzw6h0OJ4TRN4KF5Rs=; b=J/j10x5QNhTPiGAgit18i94cHH+mGQPZpF/tfSfxq1W9Y5ok1kDTz5nZGtIipqWMeB PJ4HyoN4qACGVT9oO0Bn58TmHUOL7kLoC3RbNpvdFBwttTyHb3QmL9h3q2CgbF2pYFBs x6PRkJFwg9sKjxpQ4Q5k3NvQZQEvjZhIz/g2rswwuTSgg/QWXznL5XvxzNZDblFpkNgN dGHC3v2mE4PQPQylBUzTqDpKhNtDEiYTrKNfm9OZnL+PYXUxBCkjF2ZHKPralBbfUYjK qENffdvZEejYaQBkSCz2xLO4o2ztaPE5nWzpCcdJNZmOrnuku0VJGZCcwcXwGp0a7Dqu OY9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=sPbXCAXk; 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 r20si1088263qvw.135.2020.02.07.03.41.58 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 07 Feb 2020 03:41:58 -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=fail header.i=@linaro.org header.s=google header.b=sPbXCAXk; 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]:54678 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j021G-0006Et-Dx for patch@linaro.org; Fri, 07 Feb 2020 06:41:58 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:36168) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j01zA-0002vP-D5 for qemu-devel@nongnu.org; Fri, 07 Feb 2020 06:39:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j01z9-0005nY-8U for qemu-devel@nongnu.org; Fri, 07 Feb 2020 06:39:48 -0500 Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]:37491) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j01z9-0005kY-1f for qemu-devel@nongnu.org; Fri, 07 Feb 2020 06:39:47 -0500 Received: by mail-wr1-x443.google.com with SMTP id w15so2300332wru.4 for ; Fri, 07 Feb 2020 03:39:46 -0800 (PST) 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=dX/a2gresk53+psqLbyuBofhTGzw6h0OJ4TRN4KF5Rs=; b=sPbXCAXk5cCzYRP0ufajfHkLOm40bdnTZL4Hre7sKhylpHb0uDyPJdHsQu6PgUx93X csd5PCRxJ3lh7sUzaRJEsHU+YRJ0Ogb+N5HU6xrJWcjWc13VG3EAZvMxRJV6YZg0jL8V 7gpx6O83rLxeeQEY2iCm9e4mvv4CnFVfKfHq9nc0SIX+1Z+gtHQhLfm5vxRBUIlIXwam fDLYPbWPYNVrOHHkoSaucX22rztsdme8bZ3+ZJ5dmyQc6Mcam8W3O/C1BB3fKybU68Bs L/28HUdo9l9ESuaI8Tu4ymu3hajTREp6XL+bNvRPyyRkU0terIiWc7CarVsd7AIhJgkU /KZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=dX/a2gresk53+psqLbyuBofhTGzw6h0OJ4TRN4KF5Rs=; b=RFyFcarYmMVmGx+jRqoK7sHFemEflQq7J5/5LOTfFLv5IaLS8KpkUUh9+KhLkeqyzw jm5IAWm7H1mF/7P+32baVfBqw8Zs3ori1SmQ+Gy2Aiwb/QluWrzv1HxXoOTT69FnJXql 9b9pguyNTdgfR/IX7OePIQssXK1ZrMqWz6OyZO9LEZQERrVQDRn0lia6OMUses8lrQ4H qMDGFL6MeQOXHF7BlxjoX/AWmgIhrunQtQdFjD/sB59c+Y2pIDR0KfXXs0aCeQfJzUDh 7dmXL+bSacU9cyJwgyZ9a8x0nJXVH7utA4hpIgxnUl9OsyaRsHifU96UM1u6Ig933Xuc Dtvg== X-Gm-Message-State: APjAAAUcvvpqTSfLKLISyI71vyEw8h7rCd+ievbB1PNaUg8AiO602V5C 0bPPlLY5TAD0NGtdrupLpz3Lcw== X-Received: by 2002:a5d:4b03:: with SMTP id v3mr4500676wrq.178.1581075586034; Fri, 07 Feb 2020 03:39:46 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id s19sm3039338wmj.33.2020.02.07.03.39.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Feb 2020 03:39:42 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id C6D021FF91; Fri, 7 Feb 2020 11:39:39 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v1 4/5] tests/rcutorture: mild documenting refactor of update thread Date: Fri, 7 Feb 2020 11:39:38 +0000 Message-Id: <20200207113939.9247-5-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200207113939.9247-1-alex.bennee@linaro.org> References: <20200207113939.9247-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::443 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, berrange@redhat.com, stefanb@linux.vnet.ibm.com, =?utf-8?q?Alex_Benn=C3=A9e?= , richard.henderson@linaro.org, f4bug@amsat.org, cota@braap.org, stefanha@redhat.com, marcandre.lureau@redhat.com, pbonzini@redhat.com, aurelien@aurel32.net Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" This is mainly to help with reasoning what the test is trying to do. We can move rcu_stress_idx to a local variable as there is only ever one updater thread. I've also added an assert to catch the case where we end up updating the current structure to itself which is the only way I can see the mberror cases we are seeing on Travis. We shall see if the rcutorture test failures go away now. Signed-off-by: Alex Bennée --- tests/rcutorture.c | 36 +++++++++++++++++++++++++++--------- 1 file changed, 27 insertions(+), 9 deletions(-) -- 2.20.1 diff --git a/tests/rcutorture.c b/tests/rcutorture.c index 256d24ed5ba..9559f13cd1f 100644 --- a/tests/rcutorture.c +++ b/tests/rcutorture.c @@ -236,7 +236,6 @@ struct rcu_stress { struct rcu_stress rcu_stress_array[RCU_STRESS_PIPE_LEN] = { { 0 } }; struct rcu_stress *rcu_stress_current; -int rcu_stress_idx; int n_mberror; /* Updates protected by counts_mutex */ @@ -288,29 +287,48 @@ static void *rcu_read_stress_test(void *arg) return NULL; } +/* + * Stress Test Updater + * + * The updater cycles around updating rcu_stress_current to point at + * one of the rcu_stress_array_entries and resets it's pipe_count. It + * then increments pipe_count of all the other entries. The pipe_count + * will be read under an rcu_read_lock() and distribution of values + * calculated. The final result gives an indication of how many + * previously current rcu_stress entries are in flight until the RCU + * cycle complete. + */ static void *rcu_update_stress_test(void *arg) { - int i; - struct rcu_stress *p; + int i, rcu_stress_idx = 0; + struct rcu_stress *cp = atomic_read(&rcu_stress_current); rcu_register_thread(); - *(struct rcu_reader_data **)arg = &rcu_reader; + while (goflag == GOFLAG_INIT) { g_usleep(1000); } + while (goflag == GOFLAG_RUN) { - i = rcu_stress_idx + 1; - if (i >= RCU_STRESS_PIPE_LEN) { - i = 0; + struct rcu_stress *p; + rcu_stress_idx++; + if (rcu_stress_idx >= RCU_STRESS_PIPE_LEN) { + rcu_stress_idx = 0; } - p = &rcu_stress_array[i]; + p = &rcu_stress_array[rcu_stress_idx]; + /* catching up with ourselves would be a bug */ + assert(p != cp); p->mbtest = 0; smp_mb(); p->pipe_count = 0; p->mbtest = 1; atomic_rcu_set(&rcu_stress_current, p); - rcu_stress_idx = i; + cp = p; + /* + * New RCU structure is now live, update pipe counts on old + * ones. + */ for (i = 0; i < RCU_STRESS_PIPE_LEN; i++) { if (i != rcu_stress_idx) { rcu_stress_array[i].pipe_count++; From patchwork Fri Feb 7 11:39:39 2020 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: 183148 Delivered-To: patch@linaro.org Received: by 2002:a92:1f12:0:0:0:0:0 with SMTP id i18csp638918ile; Fri, 7 Feb 2020 03:43:10 -0800 (PST) X-Google-Smtp-Source: APXvYqxIpdWPx86DXEl8eh++IrTVwjXKKwt1iHs+DyF2hZwZvMoCXutQ7ZHUv+KV2Fec+WGKQu2t X-Received: by 2002:a05:620a:101b:: with SMTP id z27mr6476751qkj.241.1581075790328; Fri, 07 Feb 2020 03:43:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581075790; cv=none; d=google.com; s=arc-20160816; b=tWBiuaVDPoA9jlK1LT2F71QEnM32FzzSvsDBLE0Lr/bazWDf9MAxLNLIwRC4SdCUfk d2lJGVRM/k2H1Yz9jJadYM7YTg6a3o9njFObr7iUeBwtMSjSt/EnL7KR9np9OJkgPeyo ievkPgZufssLYnf+o5NPRTXZGMSk3n0/Bky/1pJpPeINu2ODh+DPP1yiiPKvhklnw43/ 7MDH4F0oi2JGGiI/EQEfrDPJCDTHqOED5mL11tVcxYFuvvep3U/BbgkFR1730jsMSYCh 1XClrZ8OeeqHptmjNCLPtOllDBvh5cEfqyif80w9aI5lzhcOEcdAQC4d6DWoJx56b8Ti iZRg== 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=rsiIdEhaM/iOPfLlY60O9vdPZWnumy7Z7gwdeT+Wfgk=; b=Y8YLxkA1EweoaWYaF56OVwySfNN+MrDIs6tEQu3EeKfnIIURUPVRmtCDFIVQl41byU gw1Yhmktu4cU7kLhB1I6axm40Eayk9MjMMyaLCcPCFsFLiCz2Wy965sd+NRBhFJhBzsm vmi5eMUTlPCkBrAl0EvBr5PBJDk0hiTtFMXIIKXazXVwBSHcIpnl07kCLZbNX95yUIrg +gv18wvVy9QunjydH8QfZp4cIm6w/VKR85ssCGUIVqw8x84e+ix46mlFB9tODNHeNcEA RQJIMPZr4vyRTwx8cS7l/Xdh3jLmuc7peTbCn0qcZazJ/KPoC1sgqQM9GFKHAJF/hoRA N5JQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=LM12FLca; 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 e26si51971qkm.335.2020.02.07.03.43.10 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 07 Feb 2020 03:43:10 -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=fail header.i=@linaro.org header.s=google header.b=LM12FLca; 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]:54710 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j022P-0007sJ-Si for patch@linaro.org; Fri, 07 Feb 2020 06:43:09 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:36201) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j01zF-0002yI-MC for qemu-devel@nongnu.org; Fri, 07 Feb 2020 06:39:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j01zE-0005vO-MX for qemu-devel@nongnu.org; Fri, 07 Feb 2020 06:39:53 -0500 Received: from mail-wm1-x343.google.com ([2a00:1450:4864:20::343]:51661) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j01zA-0005pb-Eq for qemu-devel@nongnu.org; Fri, 07 Feb 2020 06:39:52 -0500 Received: by mail-wm1-x343.google.com with SMTP id t23so2260877wmi.1 for ; Fri, 07 Feb 2020 03:39:48 -0800 (PST) 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=rsiIdEhaM/iOPfLlY60O9vdPZWnumy7Z7gwdeT+Wfgk=; b=LM12FLcakXBj21+F86V88TYgdgdLMhmMT0g3hJjTXZmkDlVpp+CWMNG/ZLqjdjh8+s Je0YHdGI5ERim8K63/bpq8EVbq73+l+hS4Q0XiKyMubmaou/CPYsH9sHp+ff497o1Gjt 7NnkXTUF2ROO4jG5j6MiU3AKyEeOQdM1pqxpfiZ3KeVeGp1optXWBQg+U6TOjUdcrTGV ywiFbmjuTtpAD6ZkDO0XbVZB+6cr2qBYGJk6rst5dLieVQ4aencSbOhltO3mTbCD7vZv ajksgQC4fbKuINO5ZiMGGKajC6+vMMkQPTpkcdJMakldWMQUl4WhX/MQYN8cSPPGqNxf 4/5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=rsiIdEhaM/iOPfLlY60O9vdPZWnumy7Z7gwdeT+Wfgk=; b=IEl+fVyaYgQr3MyM3S/9Mf5HZaz3Ose/Mt7xogzhQeiW/7qasK/5t4Bg87KNiFvxN/ 0HDgYrH1E395uyK02yOfQPOMDpP2ULgXP2w/gzVw9zeR50FAIr1b5rVW9GGev2LcnCMd fWTPe0JEabH9KC9aPnNrQzpdLFGmaB7QRqSS21diijInXnAk8kAbUQ4MIg7sonCnCmwd hZX2enRiDU+DekA7Gu4ss1haOlv7AigTRKNABZcvX3uetonN4XZyz8B1mNMDRO5yqN+1 wv/9lxLfgZ4eGdRu13NZyvJpXzHcl52wyRbTSc4fftp9PVPqojLKn0FXm+dqjZfgBAD3 GM4A== X-Gm-Message-State: APjAAAUGNkSR1u4TU4b23Kmf+auNwgTsdR6WPzrVpBEiB3zAmRVh8YHN sSn6wAwOEPxRA3B6gfd0qXwNgQ== X-Received: by 2002:a7b:c774:: with SMTP id x20mr3936555wmk.67.1581075587350; Fri, 07 Feb 2020 03:39:47 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id i3sm3324844wrc.6.2020.02.07.03.39.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Feb 2020 03:39:43 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id E23A41FF92; Fri, 7 Feb 2020 11:39:39 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v1 5/5] travis.yml: Test the s390-ccw build, too Date: Fri, 7 Feb 2020 11:39:39 +0000 Message-Id: <20200207113939.9247-6-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200207113939.9247-1-alex.bennee@linaro.org> References: <20200207113939.9247-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::343 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, Thomas Huth , berrange@redhat.com, stefanb@linux.vnet.ibm.com, =?utf-8?q?Alex_Benn=C3=A9e?= , Cornelia Huck , richard.henderson@linaro.org, f4bug@amsat.org, =?utf-8?q?Philippe_Mat?= =?utf-8?q?hieu-Daud=C3=A9?= , "open list:S390 general arch..." , cota@braap.org, stefanha@redhat.com, marcandre.lureau@redhat.com, pbonzini@redhat.com, aurelien@aurel32.net Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Thomas Huth Since we can now use a s390x host on Travis, we can also build and test the s390-ccw bios images there. For this we have to make sure that roms/SLOF is checked out, too, and then move the generated *.img files to the right location before running the tests. Signed-off-by: Thomas Huth Signed-off-by: Alex Bennée Message-Id: <20200206202543.7085-1-thuth@redhat.com> --- .travis.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) -- 2.20.1 Reviewed-by: Philippe Mathieu-Daudé Tested-by: Philippe Mathieu-Daudé Acked-by: Cornelia Huck diff --git a/.travis.yml b/.travis.yml index 6c0ec6cf69f..c0eeff9caa9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -508,6 +508,16 @@ matrix: env: - TEST_CMD="make check check-tcg V=1" - CONFIG="--disable-containers --target-list=${MAIN_SOFTMMU_TARGETS},s390x-linux-user" + script: + - ( cd ${SRC_DIR} ; git submodule update --init roms/SLOF ) + - BUILD_RC=0 && make -j${JOBS} || BUILD_RC=$? + - | + if [ "$BUILD_RC" -eq 0 ] ; then + mv pc-bios/s390-ccw/*.img pc-bios/ ; + ${TEST_CMD} ; + else + $(exit $BUILD_RC); + fi # Release builds # The make-release script expect a QEMU version, so our tag must start with a 'v'.