From patchwork Thu Feb 13 22:50:50 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: 183433 Delivered-To: patch@linaro.org Received: by 2002:a92:1f12:0:0:0:0:0 with SMTP id i18csp1078677ile; Thu, 13 Feb 2020 14:51:43 -0800 (PST) X-Google-Smtp-Source: APXvYqzObNA0/iRpTcPdglfKV49ND1eIjNP0ZH3qbOFtiMjKrko2IEbm5ShSpr/k97SZ30njhZa8 X-Received: by 2002:ad4:55e8:: with SMTP id bu8mr26434823qvb.61.1581634303736; Thu, 13 Feb 2020 14:51:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581634303; cv=none; d=google.com; s=arc-20160816; b=vLnNb3B9+Bqoh3/hDFQom3RFQ3HUFYUXXerisiAnxAaWtH/BU6LgD1GbYJxpF2mAxU RychyhGn+bBotk3/P2b1GIwMatYuoybb7JCKS8GFFP05aNOoEQVDJZqtvvLwerFV35TM 4xnswdcgewoZcUk2PCFPU/0HWxE/O9o70TLkSJ8OfCfSgtHoFFU0qtADaqifntG9GMjS EzXLDYrxfjJa3YXQqrJHuTSiEkjlX1ZPJGyyHgZUigqMVGLjP3RaCE+JdNX4sHMPF6sF lZJ1rAI2EX67zGpfBRwSm2kHTALlhqJ3wpxTohl4ARMN/MvYZ4NBfVSGx51zC2f98EUn s0nw== 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:message-id:date:subject:to:from:dkim-signature; bh=laSM3HZXwplL6XfOd/sM7CxCKbzr6u+s3QkgdUGnKFA=; b=on9X0dNDeRb9g5wN9p+v3Uw9s2DA/EIf+VjXxlPtGHHdHJRAjUdXZeb7iqTcPMqAGw UjkpoGUcvIGTmr+5A1phsQQYCeJ+mKkfiz7YvWhviSzRYaY0ugbwuQ06wE4ucGSMMYLf jPZtkpdAr/PB3zyq0tiHxX905Gb6qLSoNJ4Uisp8dNCekptDxqCVjcZcn96jOOLiLvlz gOfkBv7F+FWpTgRzhcc9yMMuefgeKKPsjrwf8GkvRK00NmYipr5YFcHX4uUBP6TVWb4y wxj56u2L46KKagk7mAbsBcYGb+8bbIMarwITbrySqaAO57/rrjveZdxOFw9nLdscf0B6 yH7g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=yiXbccLZ; 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 x14si1549878qvb.11.2020.02.13.14.51.43 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 13 Feb 2020 14:51:43 -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=yiXbccLZ; 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]:60276 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j2NKh-0004zd-48 for patch@linaro.org; Thu, 13 Feb 2020 17:51:43 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:39386) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j2NKE-0004b0-OJ for qemu-devel@nongnu.org; Thu, 13 Feb 2020 17:51:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j2NKD-0003YX-CY for qemu-devel@nongnu.org; Thu, 13 Feb 2020 17:51:14 -0500 Received: from mail-wr1-x42d.google.com ([2a00:1450:4864:20::42d]:35957) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j2NKD-0003WK-54 for qemu-devel@nongnu.org; Thu, 13 Feb 2020 17:51:13 -0500 Received: by mail-wr1-x42d.google.com with SMTP id z3so8778831wru.3 for ; Thu, 13 Feb 2020 14:51:12 -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:mime-version :content-transfer-encoding; bh=laSM3HZXwplL6XfOd/sM7CxCKbzr6u+s3QkgdUGnKFA=; b=yiXbccLZbiBzX10hP3xI+e+vS6ueaWKHK+fx0CdxUZJvZ+f8551KK64GGBblhMUkbm roVt/5YCvB1q5FeUpTHT03xLaHBNXVI51F5BJ4UKCbUY6AGrDhIyEZh6OQTxjr7HguvA I/bjJjOr1R8snZYjKHOaQczDKA0wPkqZRZKgpkp475VQIYcyhfQKAti2ORelxNJtcMBj W6P3s66rJZm19ey66SGmnS1c0P9yii20cOuRnWigqeyAl750x/2MrljbHjWKt0+2n8WJ 1V3N+Z3Jq4stw3//TzNdXiCS+50s8IGJPRoW2c44pTWyDrf1MFeYzRd4yhj0LF+GPmVr zcwg== 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:mime-version :content-transfer-encoding; bh=laSM3HZXwplL6XfOd/sM7CxCKbzr6u+s3QkgdUGnKFA=; b=IMSuYZzGErr61NEb5SgMz9iT4ytBO+5/SHhaBcc+xGamKpYeKJnLnaLgTIbwSVTZQZ 61+H1jxHEKvW1VimHNF25zOr3ySFYh4YkptOQFbmpITdok4nDJ9QN/Ey2uoexGUINkOG fq6rIliDtSq6kRDAZP5H3S8F1EeQ7c3wHn7HxYhNwKFXNis+BHV7DBtW6XuLEzVOyvn8 IHFa3W5fd7LpdARmhpnSn/Zy3Ac+E4h+Qzn0LSGNfBCfyn89ZIY3dggRTpT7n4adwTHX m0penmpXMxiTCqOySTobZI1Jn+89gn4Pf023CTZGTMf3dtvy0e76o9s+uY6Vwbb1zGkM 8UIw== X-Gm-Message-State: APjAAAU/s6q7sfprqJPMZmhreIBN3lpj19aSWmYztVQhpHFXx2gav+Sr KX0AS31t2yRAHdvnbiPjmk4wGA== X-Received: by 2002:a05:6000:124b:: with SMTP id j11mr22157053wrx.285.1581634271652; Thu, 13 Feb 2020 14:51:11 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id a5sm4680376wmb.37.2020.02.13.14.51.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Feb 2020 14:51:10 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 9FAC81FF87; Thu, 13 Feb 2020 22:51:09 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v2 00/19] testing and plugin updates Date: Thu, 13 Feb 2020 22:50:50 +0000 Message-Id: <20200213225109.13120-1-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 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::42d 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, robert.foley@linaro.org, pbonzini@redhat.com, stefanb@linux.vnet.ibm.com, =?utf-8?q?Alex_Benn?= =?utf-8?b?w6ll?= , richard.henderson@linaro.org, f4bug@amsat.org, robhenry@microsoft.com, marcandre.lureau@redhat.com, aaron@os.amperecomputing.com, cota@braap.org, stefanha@redhat.com, kuhn.chenqun@huawei.com, peter.puhov@linaro.org, aurelien@aurel32.net Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Hi, I've ended up combining my accumulated testing fixes with the plugin fixes as there is some cross-over between the two. On the testing side I still haven't seen rcutorture trip up on my branches but the final patch that light re-factors it needs to be reviewed. I've also added some fixes for pauth - both ensuring they compiler and tweaking pauth-4 to take into account the occasional authentication clashes. Plugin wise I have cleaned up the riscv parser to use extract16 where appropriate. We also managed to diagnose a bug in the address passing of the memory instrumentation which only showed up under alpha. The relevant patches have been Cc'ed to qemu-stable. The following patches need review: tests/tcg: take into account expected clashes pauth-4 tests/tcg: fix typo in configure.sh test for v8.3 tcg: save vaddr temp for plugin usage tests/tcg: give debug builds a little bit longer tracing: only allow -trace to override -D if set tests/iotests: be a little more forgiving on the size test travis.yml: single-thread build-tcg stages travis.yml: Fix Travis YAML configuration warnings tests/rcutorture: mild documenting refactor of update thread tests/tcg: include a skip runner for pauth3 with plugins Alex Bennée (13): tests/tcg: include a skip runner for pauth3 with plugins tests/rcutorture: update usage hint tests/rcutorture: better document locking of stats tests/rcutorture: mild documenting refactor of update thread travis.yml: single-thread build-tcg stages tests/iotests: be a little more forgiving on the size test tracing: only allow -trace to override -D if set docs/devel: document query handle lifetimes target/riscv: progressively load the instruction during decode tests/plugins: make howvec clean-up after itself. tests/tcg: give debug builds a little bit longer tests/tcg: fix typo in configure.sh test for v8.3 tests/tcg: take into account expected clashes pauth-4 Chen Qun (1): tests/plugin: prevent uninitialized warning Emilio G. Cota (1): plugins/core: add missing break in cb_to_tcg_flags Richard Henderson (1): tcg: save vaddr temp for plugin usage Thomas Huth (1): travis.yml: Test the s390-ccw build, too Wainer dos Santos Moschetta (1): travis.yml: Fix Travis YAML configuration warnings Yoshinori Sato (1): qemu/bitops.h: Add extract8 and extract16 docs/devel/tcg-plugins.rst | 13 +++++- include/qemu/bitops.h | 38 ++++++++++++++++ target/riscv/instmap.h | 8 ++-- plugins/core.c | 1 + target/riscv/translate.c | 40 +++++++++-------- tcg/tcg-op.c | 23 ++++++++-- tests/plugin/bb.c | 6 +-- tests/plugin/howvec.c | 26 +++++++---- tests/plugin/insn.c | 3 +- tests/rcutorture.c | 55 +++++++++++++++++------ tests/tcg/aarch64/pauth-4.c | 54 +++++++++++++++------- trace/control.c | 11 +++-- .travis.yml | 23 +++++++--- tests/qemu-iotests/214 | 4 +- tests/tcg/Makefile.target | 4 +- tests/tcg/aarch64/Makefile.softmmu-target | 2 + tests/tcg/configure.sh | 2 +- 17 files changed, 225 insertions(+), 88 deletions(-) -- 2.20.1