From patchwork Wed Sep 21 16:07:51 2022 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: 607954 Delivered-To: patch@linaro.org Received: by 2002:a17:522:c983:b0:460:3032:e3c4 with SMTP id kr3csp2479132pvb; Wed, 21 Sep 2022 09:12:41 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4yb2+POjKRrrbvEKNJ8/8J12NI1/qi4W/3mKMgPNnk+Nh3E5PFKhaTRi2jCfehZEeduAWm X-Received: by 2002:a05:620a:44cb:b0:6ce:b942:709f with SMTP id y11-20020a05620a44cb00b006ceb942709fmr20279969qkp.124.1663776761580; Wed, 21 Sep 2022 09:12:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663776761; cv=none; d=google.com; s=arc-20160816; b=nczfzV+2gRo7KiFZPbsDsn0AY27PBXWFwdd5kQrGaz6WGNkIB+YTQKS4q0TaoVxWWS ynVBR4bhXLKuwAJlh41kcQA/Hbv+IogwcHZ1F5Ik0guMkTDbMEg3hsecFUqKrplEfFYv YEUA+Ri5cLgtJ2h6eve126Y8+idb2ykgqT7VVz1uhIKomL/uX0jheY7heaCeK58xt8m3 +dCaxHD6zcpkUVFLAGmyFgNW3driv6otXnMYp9oqBO2bv3NDaE4Sw9prqN4iVCKWlFhM CQ35xAnO502ymTzJcG4Xs7CuAhwvjazbNSm/wx5xUy0YOOMMv+ciRIYkXXAhluFleVLJ UGpg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature; bh=pDn5RPMk8SKFxSHbcigTFwa5JSJ57O7ZbLa0GB78pE8=; b=e8Ng/EbMvPnAaiGvHB24Es6U2pH2EaBL9Y1hwZxA4FF69XNI7rV84ODYiL9J2j7Nfd ++Sjw6acv9BrrLpo3Qymn7BWAWjAyTdiepjbkOu4dRfK4LXLT7HDEI5No/t6Ploh6xOa GYPur/vs9jbVQPnY7qVsBXNE78uo2R/cQ7Plm1mAUivx47KotWMqFXlCLBCGwascrCLM +V5UAtSDt/REiLAURvq2U8m8cFmVRF5gvrk3r59mNXct0GupTuKCc87G3afnnBBuDCYT 1F/TWP9BUcWWgE0uyFBfCye2DtdnkX72yJ/ZdFUMGEpwbkeRKzb7QICF17DFLd9Kd1vt p1vg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=IDVcjqx7; 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=pass (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 s14-20020a05620a29ce00b006c7939f25eesi2019922qkp.742.2022.09.21.09.12.41 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 21 Sep 2022 09:12:41 -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=pass header.i=@linaro.org header.s=google header.b=IDVcjqx7; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:59494 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ob2L3-0000TV-1b for patch@linaro.org; Wed, 21 Sep 2022 12:12:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54524) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ob2Gm-0003SI-RO for qemu-devel@nongnu.org; Wed, 21 Sep 2022 12:08:17 -0400 Received: from mail-wr1-x42f.google.com ([2a00:1450:4864:20::42f]:46908) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ob2Gd-0000c9-AL for qemu-devel@nongnu.org; Wed, 21 Sep 2022 12:08:15 -0400 Received: by mail-wr1-x42f.google.com with SMTP id g3so10616327wrq.13 for ; Wed, 21 Sep 2022 09:08:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date; bh=pDn5RPMk8SKFxSHbcigTFwa5JSJ57O7ZbLa0GB78pE8=; b=IDVcjqx73+t6mmx1YImQweOcm5LDNBPy4Eh/EcQ6XEVe7SJ/B385HAxrHIk+LU5FT/ rEs3yjWZcoQgKorPdOFsJ2fr+CwFd6ObuSPK4eyQ3kJYthiUtIJ90mIS6A+N6gWszaGT yqlSLhuJL9iocQyJJ+I0zR1H0SnmkWuGLxzsYoz/rgJvoJvEw3aIXYNgxkMi1duSmCVi UowphKxvkisGbapG8yNgZdx7Nqa2SCLJBtmBgocVr0Ni1Ewv3BKo/XPxVH2E+A74pXej F5vsu88yLXMz3wXCEKm4D5Vw03TX1tgTCUYI4wuuYL6zEhscOktcvAY1n7J6MSQPwjuX 76tA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date; bh=pDn5RPMk8SKFxSHbcigTFwa5JSJ57O7ZbLa0GB78pE8=; b=kvnqeejhOVTai2WfCVhX/y+SwFyLBXGkNM34H6Q5XTHsSJ6zKc3Yt8CSGh71K9bMU/ z+laQfLs5lZQEN6rTuti1qp7bnhptUZnu2usZ7JnmxNPtcLmVkPdC5PyV5kRa1Fvza4L T3GX46qkCrBOdMMJrTeMJckNG8X2oxQnXt8/iZr5zhu3+ZrbToXBxAyP19q4f3Ij5Rbo LPlozIdnauairCgQ/iO5GTmXUdu7NRMfWBO4pJpB6JIjijiLqxu9SzaLm7MPxzGIqwsV gV9n2PkmwjAEdm3Aq4JXjNmKDfgFqcjCBoXIVKU3WLiZeFottGpIwel4nVaq+6kw+ORW 1z2A== X-Gm-Message-State: ACrzQf0uHzNoS/+8Ja4Mu3EajVLO9equ49391Xt+REZdf90hQ00HzxCI hCw2DRU8LQXgfW0kl+RiawM4yNTQH+dSKA== X-Received: by 2002:a5d:6c62:0:b0:22a:2f59:cb7d with SMTP id r2-20020a5d6c62000000b0022a2f59cb7dmr17602134wrz.405.1663776485580; Wed, 21 Sep 2022 09:08:05 -0700 (PDT) Received: from zen.linaroharston ([185.81.254.11]) by smtp.gmail.com with ESMTPSA id p14-20020a5d48ce000000b0022afbd02c69sm3130088wrs.56.2022.09.21.09.08.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Sep 2022 09:08:03 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 1AE511FFB7; Wed, 21 Sep 2022 17:08:01 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: minyihh@uci.edu, ma.mandourr@gmail.com, Luke.Craig@ll.mit.edu, cota@braap.org, aaron@os.amperecomputing.com, kuhn.chenqun@huawei.com, robhenry@microsoft.com, mahmoudabdalghany@outlook.com, =?utf-8?q?Alex_Benn?= =?utf-8?q?=C3=A9e?= Subject: [PATCH v1 00/10] plugins/next (disas, monitor, docs, execlog) Date: Wed, 21 Sep 2022 17:07:51 +0100 Message-Id: <20220921160801.1490125-1-alex.bennee@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::42f; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x42f.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, 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.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Hi, It has been a while since I last posted the state of my plugins queue. These are mostly small cleanups and documentation tweaks. I also did a little bit of tidying up in the disas interface. The following still need review: - docs/devel: document the test plugins - contrib/plugins: reset skip when matching in execlog - docs/devel: move API to end of tcg-plugins.rst - docs/devel: clean-up qemu invocations in tcg-plugins - tests/tcg: add memory-sve test for aarch64 Alex Bennée (9): monitor: expose monitor_puts to rest of code disas: generalise plugin_printf and use for monitor_disas disas: use result of ->read_memory_func tests/tcg: add memory-sve test for aarch64 plugins: extend execlog to filter matches docs/devel: clean-up qemu invocations in tcg-plugins docs/devel: move API to end of tcg-plugins.rst contrib/plugins: reset skip when matching in execlog docs/devel: document the test plugins Richard Henderson (1): plugins: Assert mmu_idx in range before use in qemu_plugin_get_hwaddr docs/devel/tcg-plugins.rst | 175 +++++++++++++++++++--- docs/devel/writing-monitor-commands.rst | 2 +- include/monitor/monitor.h | 1 + monitor/monitor-internal.h | 1 - block/monitor/block-hmp-cmds.c | 10 +- contrib/plugins/execlog.c | 99 ++++++++++-- disas.c | 43 +++--- disas/capstone.c | 73 +++++---- hw/misc/mos6522.c | 2 +- monitor/hmp-cmds.c | 8 +- monitor/hmp.c | 2 +- plugins/api.c | 2 + target/i386/helper.c | 2 +- tests/tcg/aarch64/Makefile.softmmu-target | 7 + tests/tcg/aarch64/system/boot.S | 3 +- 15 files changed, 336 insertions(+), 94 deletions(-)