From patchwork Thu Jul 9 14:13:14 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: 235147 Delivered-To: patch@linaro.org Received: by 2002:a92:d244:0:0:0:0:0 with SMTP id v4csp1452518ilg; Thu, 9 Jul 2020 07:14:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzSzb1hc+bWVP639yL0L2XX0a5RdWUK9r2AuhFIxwTwHNeyiGx6HErhcNmwmFlpamZZdKP0 X-Received: by 2002:a37:a046:: with SMTP id j67mr60025133qke.395.1594304066797; Thu, 09 Jul 2020 07:14:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594304066; cv=none; d=google.com; s=arc-20160816; b=VIqjUZEs6s0mot2ERMxUnjC41aHlq6hRqyZHkDn/jAqN207Tvo8KwA8bj6Cv8I8raD Z74aSSyzbk5ayM+fkktFNGg5vqw2f9XefG0phBZOF7jEUDl9YeNkbT3N9RScrgmk497u ITCJR+SaTHTMxk1JxwX6+84eCmr9UXulTI+wSWF/whQTNZbTy7lGMCDc6q2s5t5aRX2f L158zvRkhn2GxxFuauujd4pp57gxgxJX1BK3dnU+E3oeVA1FC6F8eyw7T8CFvxUtmOlC yDv/5CPGqm0eHD9eka2DZVmrDQIOr4TY8xJ0tuW5JyDV19W5PVDwZw2dxl9i04LzrHjP l4Tw== 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=OOuPlfztkt7djXH2mMYOdaRbdatzT6SNkYWnOe5/IrI=; b=AF8sEOCFYfRahG3VGnMTYruNdJjpc2opNciyjdVfgs0m/OFIh1bh7qN3UXLfWY1Syn AOSBRwt9YYxg4cw5j9FMLOUOpQiWt5JYTNiyO5m7JL/efOL+lCBVwneUtbbKo0SYlE6B M3258jsn/xF8w3y8isVUyT+xE6a9JciW5YTwNBqFvNH073SceCeC4QEKhpQkbAMYl5Ix RFMBWJg8BHHE/JvhWxKPZp34pV1oUM17eb+8lAgtXlnRCOpjMugACMUxz8jC2smcjYBv Mf7AtQz4lAL0Hw0lr6cjlRgxcPyKsZExXXJyVmfnKXTRyOUs/zzIf5S/xFTkYpar4NKz 15Jw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=qBLAfZfz; 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 b15si2017620qkc.94.2020.07.09.07.14.26 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 09 Jul 2020 07:14:26 -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=qBLAfZfz; 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]:36776 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jtXJi-0000EQ-33 for patch@linaro.org; Thu, 09 Jul 2020 10:14:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50824) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jtXIt-0000CK-CM for qemu-devel@nongnu.org; Thu, 09 Jul 2020 10:13:35 -0400 Received: from mail-wm1-x344.google.com ([2a00:1450:4864:20::344]:40606) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jtXIq-0001K0-99 for qemu-devel@nongnu.org; Thu, 09 Jul 2020 10:13:35 -0400 Received: by mail-wm1-x344.google.com with SMTP id f139so1968851wmf.5 for ; Thu, 09 Jul 2020 07:13:31 -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:mime-version :content-transfer-encoding; bh=OOuPlfztkt7djXH2mMYOdaRbdatzT6SNkYWnOe5/IrI=; b=qBLAfZfz7M74GYiMzWb5IZwT75mIUiCgpqpnR197qyOSAHQCOwDirQ0c6wvvTokPpK +Am/Wk3OFP1e7lv5GQOcJ7AEsNY3DWTmtTHFTMnNenl2qUt9pO9nd0b5lfay0VBwHzpe q/qjHPnqFZb+XfFCazNE3yFyfVJgwJvbxONx/EDkbKvg4ZDcGFDTHHsyOvvmmGxhvfLr 00s4gPqV/Mrrg9lsYKuoKJAZUH7kEwh++Tn1Pdm3sRZnm1+wRX1J6mW+KVuL9LtZyi6b hKh+EpAA7KYJVoe4vKtJBp3Gvwyj/TGZEGJrQQBteeNxBOGm42KzfP8Fzw7RjHjnTlFj Qqbw== 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=OOuPlfztkt7djXH2mMYOdaRbdatzT6SNkYWnOe5/IrI=; b=NEVceVj7vqygnsCD129XTcKuXxXRzPa6STix2EGwcFyUFuSNavH2418juO6fD93KbC QsU13AGBPfDMr9pgdV4jWj2Ot2sns4rxWriO435PgL32DkSd9EQFnknGZrs938ejmbOU 9pr2jTK0f8q4lhs1q7d0ojIL1l+Vxi6TYH/mMFKhpHJr13G8rOCmRiGEmDd10C8vtGpH XA0LKr/U5MnySd6rGqNyUrSi52+37vvvnrhCPJvknChySBDAwVsNILxrdMuTt0imoyvp SRIY2m199N0msvQZ8hFuJ+FUtKB8M1alsk5H8aD2+AtIza90qgPQKUuqybg44p0TlNvr XmcQ== X-Gm-Message-State: AOAM533SByyBF1xwH88k2NjQboC+vQ0DU4FUMoE28BbYgxP6Wwl4f2cv avxQhyx8pdDvRe3iw3kNouving== X-Received: by 2002:a05:600c:249:: with SMTP id 9mr230994wmj.80.1594304009844; Thu, 09 Jul 2020 07:13:29 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id j16sm5710380wrt.7.2020.07.09.07.13.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Jul 2020 07:13:28 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 5F5871FF7E; Thu, 9 Jul 2020 15:13:27 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v1 00/13] misc rc0 fixes (docs, plugins, docker) Date: Thu, 9 Jul 2020 15:13:14 +0100 Message-Id: <20200709141327.14631-1-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::344; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x344.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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, URIBL_BLOCKED=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, berrange@redhat.com, robert.foley@linaro.org, =?utf-8?q?Alex_Benn=C3=A9e?= , richard.henderson@linaro.org, f4bug@amsat.org, robhenry@microsoft.com, aaron@os.amperecomputing.com, cota@braap.org, 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, These are some candidate patches for rc0 along with a few plugin patches that haven't yet gotten review. The new functionality won't get added to the PR but I'd like to get the cputlb fix in. Alongside the plugin stuff there are some documentation updates which are worth adding and some tweaks to the docker cache handling that I only discovered after I sent the last PR. Based on: Message-Id: <20200707070858.6622-1-alex.bennee@linaro.org> https://github.com/stsquad/qemu.git tags/pull-testing-and-misc-070720-1 The following need review: - configure: remove all dependencies on a (re)configure - tests/docker: fall back more gracefully when pull fails - tests/plugins: add -Wno-unknown-warning-option to handle -Wpsabi - target/sh4: revert to using cpu_lduw_code to decode gusa - plugins: expand the bb plugin to be thread safe and track per-cpu - cputlb: ensure we save the IOTLB data in case of reset Alex Bennée (11): docs/devel: convert and update MTTCG design document docs/devel: add some notes on tcg-icount for developers cputlb: ensure we save the IOTLB data in case of reset hw/virtio/pci: include vdev name in registered PCI sections plugins: add API to return a name for a IO device plugins: new hwprofile plugin plugins: expand the bb plugin to be thread safe and track per-cpu target/sh4: revert to using cpu_lduw_code to decode gusa tests/plugins: add -Wno-unknown-warning-option to handle -Wpsabi tests/docker: fall back more gracefully when pull fails configure: remove all dependencies on a (re)configure Jon Doron (1): docs: Add to gdbstub documentation the PhyMemMode Max Filippov (1): tests/docker: update toolchain set in debian-xtensa-cross docs/devel/index.rst | 2 + ...ti-thread-tcg.txt => multi-thread-tcg.rst} | 52 +-- docs/devel/tcg-icount.rst | 97 ++++++ docs/system/gdb.rst | 20 ++ configure | 15 +- include/hw/core/cpu.h | 4 + include/qemu/qemu-plugin.h | 6 + include/qemu/typedefs.h | 1 + accel/tcg/cputlb.c | 57 +++- hw/virtio/virtio-pci.c | 22 +- plugins/api.c | 20 ++ target/sh4/translate.c | 8 +- tests/plugin/bb.c | 96 +++++- tests/plugin/hwprofile.c | 305 ++++++++++++++++++ tests/docker/docker.py | 11 +- .../dockerfiles/debian-xtensa-cross.docker | 6 +- tests/plugin/Makefile | 3 +- tests/tcg/Makefile.target | 12 +- 18 files changed, 673 insertions(+), 64 deletions(-) rename docs/devel/{multi-thread-tcg.txt => multi-thread-tcg.rst} (90%) create mode 100644 docs/devel/tcg-icount.rst create mode 100644 tests/plugin/hwprofile.c -- 2.20.1