From patchwork Wed Feb 26 14:03:18 2025 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: 868514 Delivered-To: patch@linaro.org Received: by 2002:a5d:5f56:0:b0:38f:210b:807b with SMTP id cm22csp816064wrb; Wed, 26 Feb 2025 06:05:09 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCVyt/AUrXxeAIDDaERyT77Y8EqjakPsODKYywgc6gXfnPQWaIdKSgUkfOLunDlbv5p59owWZg==@linaro.org X-Google-Smtp-Source: AGHT+IGjgDkrrX7ai3hirXqdDKV2cdWdX/kSp/UYy/TOFK3P52f9kSPBWHA37qpz2SW5kgqCcA+T X-Received: by 2002:a05:620a:2950:b0:7b6:cef9:4f10 with SMTP id af79cd13be357-7c0c2164cb6mr3558565385a.3.1740578708841; Wed, 26 Feb 2025 06:05:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1740578708; cv=none; d=google.com; s=arc-20240605; b=dHCI5tVKcjGbuBWzWmLiAL0AxYglgr/h3+Y4yaHETvpTyIB4HdaD0J/7jWCVhC9GLf AxEkycnuprJtwQraduNsExv8GB4jlZVKjBFFBgHz78e0BxSg1RAfbzMtPZE4TNYv+92S yOk7Ce7rL+tlXZ3B4yr5KBDTWbO+83INhl6Cb0L5eJmtUuIiy4RDkSjRT67ubUr3Q/Dn D6uROAOTjdAHHFd3d4oSqrVPlzHu8bMh7BcBKwMUCLqfY4mQJQa2mvAdVPwYiTw8dQtU wxPDl7QaRSVzAjAkdJPMANZtGoEdPPoBTXiiS4+zDoC3lteyG0U2MA1TecRgdLgBlCF6 mhdg== 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=aD8mJlxD2keTACfw2p6EEG00RXoqREFZi/wu7CwDcxo=; fh=fySNGfDYHed5hYuWeyYWBmz9AHLCfB1G33J0dTYFdV4=; b=JDxHICY9Ne+9Msx2k5wn12M7w7mOZkPPDMS4DvYaLouKAFYtvoXPmwsXSnnqwXSvss XaQY3/mPPHCB1ru5Q9gzqC46XLpWLh0b4mW7ngdeHOQ6BwfUcrNIx0qNU6SS7zedu0ER +iYsRcjGtoh9aPTWBwk+NvRFY0EUhdMQ9Lf+QYVuftmZrXFNvAw9x8O1+itN1JjtMGHh xq+X/0ny7v/nmh+diO9V/pjRp2UanFkW8bcNWVfqAUXodOhJYK4Gv//yTva9Lu2HePaF Ix+R0c96/QnaSafy506dXgHux2fLRHYtcu/LcpKCwbWLvT4CdsORthj0ffW8RVErWEgG gWqw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=sxDiJz3X; 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 ada2fe7eead31-4c00c6d6009si662947137.269.2025.02.26.06.05.08 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 26 Feb 2025 06:05:08 -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=pass header.i=@linaro.org header.s=google header.b=sxDiJz3X; 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 1tnI0y-0000y1-Ab; Wed, 26 Feb 2025 09:03:56 -0500 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 1tnI0t-0000uO-Tk for qemu-devel@nongnu.org; Wed, 26 Feb 2025 09:03:52 -0500 Received: from mail-wm1-x32c.google.com ([2a00:1450:4864:20::32c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tnI0q-0005dc-5n for qemu-devel@nongnu.org; Wed, 26 Feb 2025 09:03:51 -0500 Received: by mail-wm1-x32c.google.com with SMTP id 5b1f17b1804b1-4397dff185fso59958965e9.2 for ; Wed, 26 Feb 2025 06:03:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1740578625; x=1741183425; 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=aD8mJlxD2keTACfw2p6EEG00RXoqREFZi/wu7CwDcxo=; b=sxDiJz3XMO8HhyZbgpo+RtrtEF4KOUV5AEoPSK1yFoM7+qhwZgfci5t5/x9U7UmG+D OiKbLojWHvXTZhCIx6rSjueT8RKJ15IaTqE+FPudgm7bWip2JLQkCl0B2wCCdNyG8xSF 25dQoFq2XHhcWENjDPLSJ/ecwKW+CzANS1+m5qrkKASVWQJl9sE4t+/2T/4D7jsRarTa XM7OrZg2IGQWxpspCkZ1TKjT5ILmoMVn7Pnnm/jtjYt9jUUz+3SyKeZzekshUf2os9up GF3b8R52n2UJclN/qiTRnGjrP4OyycnZXkP5F6VrNc0X0qRAs045GHdVE0QqCPbe/gK4 9yZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1740578625; x=1741183425; 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=aD8mJlxD2keTACfw2p6EEG00RXoqREFZi/wu7CwDcxo=; b=K0hF374gYLAL/2Po7kq77AJOWTXi/mu8SyaM+cEKv+8jsDY72klVgTQfQVXCZ6XOP0 iQNjqjH1PuV9iWLdxEE1IEa+FDalN7Xo/Ycw6wi/Ws38NKmbIJtydNGM7RLSi+HnzE4r /fjq1XbS3xmgEJ9IZqBBtYo7dfv2NY8jHq21q/Z2rapHiC5mw8lplhejM1OwzWZD+wC/ BkLuam8wfMyeUjTfrs0AwSYNTxBVB+OFU3kcjiLnNFQikkQ/TR7mUPeQUpiCw8pDRugP rHRtt0Oh382r9kH3DXTtDBX9+5rkBxRq2S5EmLEzwYw2unhyhE6pXN+lL03HqoHxJMv2 7oVA== X-Gm-Message-State: AOJu0YyVXmLKXU5oxxy5svm0cwO1Opxpi4OyrWNsdFWv4xcINDkglwUf XxCrbBmURvTtggNKeVkcd5Yrr4pc/0ORAO0oRX/tcRenkyw/zBDlaCm+kgAwjaMxgqFdjpX/bRQ bwCI= X-Gm-Gg: ASbGnctT4QDJguqYQukkm6DHgfpIlcZmD0kK/VXsxRk3h1ofTC0+nfsMKDQB1jvUx4p BppKKYL8+QtqHpd4gVa4Ip1B9PiYOB26qKPxrxut0Qiy/nZvaB0FRZNN/+ngaWZ8bFOAwUa3O84 54Btfw8eYpUTgyrM6Fo/KfHVXdIHilT/gUkimyP4NUSO1vDv1T+ttPTdWskf/aJzsqsz1xfhC9W 4USRqYZ0/U7NYxneeasnDPD8BHiMFVswn/Zd2tvD+GfOt7FX/iQzzcrvOv0e6MhXks3HS4+rRgP TYlTELF9lcLutRgTFuOLygy/QBrm X-Received: by 2002:a05:600c:3b83:b0:439:86fb:7328 with SMTP id 5b1f17b1804b1-43ab901559fmr26151585e9.24.1740578625453; Wed, 26 Feb 2025 06:03:45 -0800 (PST) Received: from draig.lan ([185.126.160.109]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-390cd882602sm5654984f8f.41.2025.02.26.06.03.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Feb 2025 06:03:44 -0800 (PST) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id DB8195F924; Wed, 26 Feb 2025 14:03:43 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: qemu-arm@nongnu.org, =?utf-8?q?Daniel_P=2E_Berrang=C3=A9?= , Peter Maydell , Kyle Evans , Eduardo Habkost , Alexandre Iooss , =?utf-8?q?Marc-Andr=C3=A9_Lureau?= , Laurent Vivier , Mahmoud Mandour , Paolo Bonzini , Li-Wen Hsu , Riku Voipio , =?utf-8?q?Alex_Benn=C3=A9e?= , Warner Losh , Pierrick Bouvier , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Richard Henderson , Ed Maste , Thomas Huth Subject: [PATCH 00/25] maintainer updates for 10.0 softfreeze (gpu/tcg tests, plugins, MAINTAINERS) Date: Wed, 26 Feb 2025 14:03:18 +0000 Message-Id: <20250226140343.3907080-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::32c; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x32c.google.com X-Spam_score_int: 12 X-Spam_score: 1.2 X-Spam_bar: + X-Spam_report: (1.2 / 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, RCVD_IN_SBL_CSS=3.335, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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 As we rapidly approach softfreeze (due March 11th) its time to collect together what I'm planning to merge for this release. Testing - expand the aarch64 GPU tests - bump libvirt-ci for vulkan-tools - some fixes for clang compile of tcg I've dropped the host-gpu patch in favour of just skipping the test in python when we detect nVidia drivers. The clang fixes are part way to removing the skip we have in configure: case $target_arch in i386|x86_64) if $target_cc --version | grep -qi "clang"; then continue fi ;; esac So that we can build tcg tests on the BSDs (at least for native guests) and widen the testing. The work is unfinished but anyone wants to tackle it just patch out the above bit in configure and try and build and run check-tcg. Plugins - reduce the total number of compilation units I'll see if I can add a test to track the total number as we aim to clean-up stuff for single binary purposes. MAINTAINERS - updates due to sanctions I should send out the pre-PR sometime next week, hopefully getting my 10.0 PR submitted with time to spare ;-) The following still need review: plugins/api: split out binary path/start/end/entry code plugins/api: use qemu_target_page_mask() to get value tests/tcg: enable -fwrapv for test-i386-bmi tests/tcg: fix constraints in test-i386-adcox tests/tcg: add message to _Static_assert in test-avx tests/tcg: mark test-vma as a linux-only test tests/vm: bump timeout for shutdown libvirt-ci: bump to latest for vulkan-tools (libvirt MR 525) tests/functional: skip vulkan tests with nVidia tests/functional: expand tests to cover virgl tests/functional: ensure we have a GPU device for tests tests/functional: factor out common code in gpu test tests/functional: move aarch64 GPU test into own file Alex. Alex Bennée (22): tests/functional: move aarch64 GPU test into own file tests/functional: factor out common code in gpu test tests/functional: ensure we have a GPU device for tests tests/functional: expand tests to cover virgl tests/functional: skip vulkan tests with nVidia libvirt-ci: bump to latest for vulkan-tools (libvirt MR 525) tests/vm: bump timeout for shutdown tests/tcg: mark test-vma as a linux-only test tests/tcg: add message to _Static_assert in test-avx tests/tcg: fix constraints in test-i386-adcox tests/tcg: enable -fwrapv for test-i386-bmi plugins/api: use qemu_target_page_mask() to get value plugins/loader: populate target_name with target_name() include/qemu: plugin-memory.h doesn't need cpu-defs.h plugins/api: clean-up the includes plugins/plugin.h: include queue.h plugins/loader: compile loader only once plugins/api: split out binary path/start/end/entry code plugins/api: split out the vaddr/hwaddr helpers plugins/api: split out time control helpers plugins/api: build only once MAINTAINERS: remove widely sanctioned entities Philippe Mathieu-Daudé (2): tests/functional: Introduce the dso_suffix() helper tests/functional: Allow running TCG plugins tests on non-Linux/BSD hosts Pierrick Bouvier (1): plugins: add explicit dependency in functional tests MAINTAINERS | 7 +- meson.build | 1 + include/qemu/plugin-memory.h | 1 - plugins/plugin.h | 7 + bsd-user/plugin-api.c | 15 ++ linux-user/plugin-api.c | 14 ++ plugins/api-system.c | 131 ++++++++++++++ plugins/api-user.c | 57 ++++++ plugins/api.c | 171 +----------------- plugins/loader.c | 15 +- plugins/system.c | 24 +++ plugins/user.c | 19 ++ tests/tcg/i386/test-avx.c | 2 +- tests/tcg/i386/test-i386-adcox.c | 4 +- tests/tcg/multiarch/{ => linux}/test-vma.c | 0 common-user/plugin-api.c.inc | 43 +++++ .gitlab-ci.d/cirrus/freebsd-14.vars | 2 +- .gitlab-ci.d/cirrus/macos-14.vars | 2 +- bsd-user/meson.build | 1 + contrib/plugins/meson.build | 2 + linux-user/meson.build | 1 + plugins/meson.build | 8 +- .../ci/setup/ubuntu/ubuntu-2204-aarch64.yaml | 1 + .../ci/setup/ubuntu/ubuntu-2204-s390x.yaml | 1 + tests/docker/dockerfiles/alpine.docker | 5 +- tests/docker/dockerfiles/centos9.docker | 1 + .../dockerfiles/debian-amd64-cross.docker | 3 +- .../dockerfiles/debian-arm64-cross.docker | 3 +- .../dockerfiles/debian-armhf-cross.docker | 3 +- .../dockerfiles/debian-i686-cross.docker | 3 +- .../dockerfiles/debian-mips64el-cross.docker | 3 +- .../dockerfiles/debian-mipsel-cross.docker | 3 +- .../dockerfiles/debian-ppc64el-cross.docker | 3 +- .../dockerfiles/debian-s390x-cross.docker | 3 +- tests/docker/dockerfiles/debian.docker | 3 +- .../dockerfiles/fedora-rust-nightly.docker | 1 + .../dockerfiles/fedora-win64-cross.docker | 1 + tests/docker/dockerfiles/fedora.docker | 1 + tests/docker/dockerfiles/opensuse-leap.docker | 1 + tests/docker/dockerfiles/ubuntu2204.docker | 1 + tests/functional/meson.build | 4 +- tests/functional/qemu_test/__init__.py | 2 +- tests/functional/qemu_test/config.py | 6 + tests/functional/test_aarch64_tcg_plugins.py | 11 +- tests/functional/test_aarch64_virt.py | 71 -------- tests/functional/test_aarch64_virt_gpu.py | 131 ++++++++++++++ tests/lcitool/libvirt-ci | 2 +- tests/lcitool/projects/qemu.yml | 1 + tests/lcitool/refresh | 2 +- tests/tcg/i386/Makefile.target | 2 +- tests/tcg/plugins/meson.build | 2 + tests/vm/basevm.py | 2 +- tests/vm/generated/freebsd.json | 1 + 53 files changed, 520 insertions(+), 284 deletions(-) create mode 100644 bsd-user/plugin-api.c create mode 100644 linux-user/plugin-api.c create mode 100644 plugins/api-system.c create mode 100644 plugins/api-user.c create mode 100644 plugins/system.c create mode 100644 plugins/user.c rename tests/tcg/multiarch/{ => linux}/test-vma.c (100%) create mode 100644 common-user/plugin-api.c.inc create mode 100755 tests/functional/test_aarch64_virt_gpu.py