From patchwork Tue Oct 22 10:55:54 2024 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: 837542 Delivered-To: patch@linaro.org Received: by 2002:a5d:50c9:0:b0:37d:45d0:187 with SMTP id f9csp2475609wrt; Tue, 22 Oct 2024 03:58:22 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCWN4hozY9+dwhFo8QJbygakNVTHiFqSyhhlrR1F8pgb++z+OzlCYYoFf3CiyyKVuW3RD36YGg==@linaro.org X-Google-Smtp-Source: AGHT+IFCCIhKTBqNlMRe/N+q5TFuVmKJz9RhpzxkWL2nBerqRrOlXljMJsQeZtC2CNjKhpKAJR+r X-Received: by 2002:a05:6214:5c47:b0:6cc:2c76:d2e4 with SMTP id 6a1803df08f44-6cde167599bmr158157536d6.53.1729594702146; Tue, 22 Oct 2024 03:58:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1729594702; cv=none; d=google.com; s=arc-20240605; b=DCCF6dyr7WnnzY22/bGucb3UNvyBsdyRhpb6eM4I8jxcSQgUfEftyxoAhWHXJ5xxeU XOkkzFEbmhGtadjJ6xco7FtS0/066qpi7/I3gYSPQeAsAYERdDviNgK4PQiAfvyUiUk/ UVlvXgqhKFP0so5k6mWcBeIqv+UuWBFtx2beEnMcZpMmHdAG7RZE04CbeoUKej3S5mtB SUZIkRRKgCjjyrNrxmNCfglU/VkIBuJwkb3o+QX8tpKaEPhm27aFMFAtoDC5oSo1CxhE 7XZEmgpuItIUkevWdUnW1qEvQlzP8xxEN1DYHOHUhD4DFeTUF4CnAmzNLbUhQi3OrF5q pdow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; 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=COpfR9RLf2CLdazvbIhqB2YmojRnRaS7PX4PKuRZwh4=; fh=pVjH8310hlVyksknvNC3/D3AfgLq4a8e+T5MCg3/MHg=; b=O76kj1LTZVL+A0nstStj2lSDKYjx+CWPnwB1M5AFet6uEpfJZV0UVCRr6EqkS8WtkM uhZmJOW3KA0nRFXhC4IgdmS4q5F82n1asQwpN0QNEzX20Cp5o6CjvYIpxz994wbroaZT 4h86y6oq1ARLcYTxgmn+pp3JNRIpJ02ZAlq0Lyy7yYdD0BBdXO4sgVz6Hxw+C/Dp1L5Z H4WYZ5751FtoMhUbBuv7RvwOeXvKzpp9bN82bCGhCt9A3eGxJsfEZtjij8pZ8+LWMm+q KnM7MWqh54S+OeY88K9Rv27Mk6I3eTd7ePwoggDDoEWKBI0rgaWLbhGp3yIY8E7YJlKI tTlg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="a/r+TFJe"; 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; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id 6a1803df08f44-6ce0098c672si62479266d6.273.2024.10.22.03.58.21 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 22 Oct 2024 03:58:22 -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="a/r+TFJe"; 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; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t3CYs-0001jK-9m; Tue, 22 Oct 2024 06:56:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t3CYo-0001i7-3c for qemu-devel@nongnu.org; Tue, 22 Oct 2024 06:56:22 -0400 Received: from mail-ej1-x631.google.com ([2a00:1450:4864:20::631]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t3CYl-0001y7-5G for qemu-devel@nongnu.org; Tue, 22 Oct 2024 06:56:21 -0400 Received: by mail-ej1-x631.google.com with SMTP id a640c23a62f3a-a9932aa108cso812827466b.2 for ; Tue, 22 Oct 2024 03:56:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1729594576; x=1730199376; darn=nongnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=COpfR9RLf2CLdazvbIhqB2YmojRnRaS7PX4PKuRZwh4=; b=a/r+TFJeohAszKlrJAQYJQIca0/J4Jx9WRu/poB0S996Jc+T358xq0O910gFkJSDj9 svyqfRQgupCOy9JBhYyC/kAmKedkWDdvfro+ek1AFGjIRWE7vzWo6WnkRuYBHxHvUD5o 7RE8XOh8H6CLYtnE/93msiAVOL89W0cy0xrbYCfznMHOUJle621Ad1dhBm3OI98mI7Ak RZvCOoakctgrl+BF9yb5DxFW1LtKGvnnmAn/vltS/3A1Bn0mMNVsrEgnj5sxlNaT/oXq V042NOoJVvtNOzxfaffAY5nPU2KknwtrplFAHgNQ5gc4UQv4ay7WRuTKyS6wpP3ttXG4 2sVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729594576; x=1730199376; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=COpfR9RLf2CLdazvbIhqB2YmojRnRaS7PX4PKuRZwh4=; b=CnvxcXlXc/i6D0Tg5BwwsvByKGUtyFuEiIztswNpH8N2K1iz7d2bsNwx/2p5/1ykyK lPk8RkCCBjQV7SZwMXahBV1lVEDKfMejewmgar6EhT/EJ72ANXoSvxUqhskENLwuNfQa yUl8GH8W8h+htpCwSTPF/AZZea12nxo9JwewJ/Qg0+YXY/a30J+52kV577nY8K60O3HW nKLr8dD8+MD928oQygy9r6LksEpPiQ7ToNWo3uvfmM23i3Bny+48EqSX+GEw6ZMXt6AD WwBrKryrS4DtPakNkTIAsJ2yrVN0MyRnkP71OCz3lCQkdaNLMWFy0+iYti15jlIkpi53 rDgQ== X-Gm-Message-State: AOJu0YzuqkT36Abn63Pn3G8cx3R/u5vXatsbIHUBwb4bchE3pf4j1geK hyU/okpKpvvwzj/T0FYIzZnbMdqL2Av0n1UN9OP5DBHzSpnuNEU6qkM1nj+xlJw= X-Received: by 2002:a17:906:c150:b0:a9a:47a:8908 with SMTP id a640c23a62f3a-a9aace2551cmr208312266b.9.1729594576427; Tue, 22 Oct 2024 03:56:16 -0700 (PDT) Received: from draig.lan ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a9a912edc33sm321447866b.58.2024.10.22.03.56.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Oct 2024 03:56:15 -0700 (PDT) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id A8D0D5F89C; Tue, 22 Oct 2024 11:56:14 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: Beraldo Leal , Laurent Vivier , Wainer dos Santos Moschetta , Mahmoud Mandour , Jiaxun Yang , =?utf-8?q?Alex_Benn=C3=A9e?= , Yanan Wang , Thomas Huth , John Snow , =?utf-8?q?Marc-Andr=C3=A9_Lureau?= , qemu-arm@nongnu.org, =?utf-8?q?Daniel_P=2E_Berrang=C3=A9?= , Eduardo Habkost , devel@lists.libvirt.org, Cleber Rosa , kvm@vger.kernel.org, =?utf-8?q?Philippe_Mat?= =?utf-8?q?hieu-Daud=C3=A9?= , Alexandre Iooss , Peter Maydell , Richard Henderson , Riku Voipio , Zhao Liu , Marcelo Tosatti , "Edgar E. Iglesias" , Marcel Apfelbaum , Pierrick Bouvier , Paolo Bonzini Subject: [PATCH v2 00/20] maintainer updates (testing, gdbstub, plugins) Date: Tue, 22 Oct 2024 11:55:54 +0100 Message-Id: <20241022105614.839199-1-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.5 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::631; envelope-from=alex.bennee@linaro.org; helo=mail-ej1-x631.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=unavailable 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-bounces+patch=linaro.org@nongnu.org This is an aggregation of three of my maintainer trees which you can also get from their respective branches (testing/next, gdbstub/next and plugins/next). I didn't include the plugins on the last post as I hadn't had a chance to do my sweep through patches before travelling. I've also updated MAINTAINERS to point at my next trees. For testing we have mostly tweaks and cleanups. I've included some tracepoints tweaks for cpu_loop_exit_atomic purely as there was no where else to but it. There are also some cleanups to the tsan support from Pierrick. The mipsel tweaks have already been applied directly to the tree. For gdbstub more cleanups as well as fixing some gdbstub breakage of the untested aarch64-be linux-user target. I've added a very basic some test to prevent silly regressions in the future. For plugins again more cleanups. The GDB trigger patch will probably not get merged and should be considered an experimental hack for now. The following still need review: plugins: add ability to register a GDB triggered callback tests/tcg: enable basic testing for aarch64_be-linux-user config/targets: update aarch64_be-linux-user gdb XML list MAINTAINERS: mention my gdbstub/next tree gitlab: make check-[dco|patch] a little more verbose scripts/ci: remove architecture checks for build-environment updates MAINTAINERS: mention my testing/next tree tests/docker: add NOFETCH env variable for testing MAINTAINERS: mention my plugins/next tree Alex Bennée (10): tests/docker: add NOFETCH env variable for testing MAINTAINERS: mention my testing/next tree scripts/ci: remove architecture checks for build-environment updates accel/tcg: add tracepoints for cpu_loop_exit_atomic gitlab: make check-[dco|patch] a little more verbose MAINTAINERS: mention my gdbstub/next tree config/targets: update aarch64_be-linux-user gdb XML list tests/tcg: enable basic testing for aarch64_be-linux-user MAINTAINERS: mention my plugins/next tree plugins: add ability to register a GDB triggered callback Gustavo Romero (2): tests/tcg/aarch64: Use raw strings for regexes in test-mte.py testing: Enhance gdb probe script Ilya Leoshkevich (2): tests/docker: Fix microblaze atomics tests/tcg/x86_64: Add cross-modifying code test Pierrick Bouvier (6): meson: hide tsan related warnings docs/devel: update tsan build documentation dockerfiles: fix default targets for debian-loongarch-cross meson: build contrib/plugins with meson contrib/plugins: remove Makefile for contrib/plugins plugins: fix qemu_plugin_reset MAINTAINERS | 3 + docs/devel/testing/main.rst | 26 +++++- configure | 23 ++--- Makefile | 10 --- configs/targets/aarch64_be-linux-user.mak | 2 +- meson.build | 14 ++- include/qemu/plugin-event.h | 1 + include/qemu/qemu-plugin.h | 16 ++++ plugins/plugin.h | 9 ++ accel/tcg/plugin-gen.c | 4 + accel/tcg/user-exec.c | 2 +- plugins/api.c | 18 ++++ plugins/core.c | 37 ++++++++ tests/tcg/aarch64_be/hello.c | 35 ++++++++ tests/tcg/plugins/mem.c | 11 ++- tests/tcg/x86_64/cross-modifying-code.c | 80 +++++++++++++++++ accel/tcg/ldst_atomicity.c.inc | 9 ++ .gitlab-ci.d/check-dco.py | 9 +- .gitlab-ci.d/check-patch.py | 9 +- accel/tcg/trace-events | 12 +++ contrib/plugins/Makefile | 87 ------------------- contrib/plugins/meson.build | 23 +++++ plugins/qemu-plugins.symbols | 1 + scripts/ci/setup/ubuntu/build-environment.yml | 2 - scripts/probe-gdb-support.py | 75 ++++++++-------- tests/docker/Makefile.include | 5 +- .../dockerfiles/debian-loongarch-cross.docker | 4 +- .../build-toolchain.sh | 8 ++ .../dockerfiles/debian-toolchain.docker | 7 ++ tests/tcg/Makefile.target | 7 +- tests/tcg/aarch64/gdbstub/test-mte.py | 4 +- tests/tcg/aarch64_be/Makefile.target | 17 ++++ tests/tcg/x86_64/Makefile.target | 4 + 33 files changed, 397 insertions(+), 177 deletions(-) create mode 100644 tests/tcg/aarch64_be/hello.c create mode 100644 tests/tcg/x86_64/cross-modifying-code.c delete mode 100644 contrib/plugins/Makefile create mode 100644 contrib/plugins/meson.build create mode 100644 tests/tcg/aarch64_be/Makefile.target