Branch: refs/heads/master Home: https://github.com/qemu/qemu Commit: 13aae9b4b466720ad34e2140da030997be5edd0e https://github.com/qemu/qemu/commit/13aae9b4b466720ad34e2140da030997be5edd0e Author: Ilya Leoshkevich <i...@linux.ibm.com> Date: 2024-10-24 (Thu, 24 Oct 2024)
Changed paths: M tests/docker/dockerfiles/debian-microblaze-cross.d/build-toolchain.sh M tests/docker/dockerfiles/debian-toolchain.docker Log Message: ----------- tests/docker: Fix microblaze atomics GCC produces invalid code for microblaze atomics. The fix is unfortunately not upstream, so fetch it from an external location and apply it locally. Suggested-by: Peter Maydell <peter.mayd...@linaro.org> Signed-off-by: Ilya Leoshkevich <i...@linux.ibm.com> Reviewed-by: Pierrick Bouvier <pierrick.bouv...@linaro.org> Message-Id: <20240919152308.10440-1-...@linux.ibm.com> Signed-off-by: Alex Bennée <alex.ben...@linaro.org> Message-Id: <20241023113406.1284676-2-alex.ben...@linaro.org> Commit: 16cacff7b49d20149a93963e2768c7d7572ad195 https://github.com/qemu/qemu/commit/16cacff7b49d20149a93963e2768c7d7572ad195 Author: Alex Bennée <alex.ben...@linaro.org> Date: 2024-10-24 (Thu, 24 Oct 2024) Changed paths: M tests/docker/Makefile.include Log Message: ----------- tests/docker: add NOFETCH env variable for testing Testing non-auto built docker containers (i.e. custom built compilers) is a bit fiddly as you couldn't continue a build with a previously locally built container. While you can play games with REGISTRY its simpler to allow a NOFETCH that will go through the cached build process when you run the tests. Reviewed-by: Pierrick Bouvier <pierrick.bouv...@linaro.org> Signed-off-by: Alex Bennée <alex.ben...@linaro.org> Message-Id: <20241023113406.1284676-3-alex.ben...@linaro.org> Commit: e4239ee92fe07bffe74759832499cf732923c76a https://github.com/qemu/qemu/commit/e4239ee92fe07bffe74759832499cf732923c76a Author: Alex Bennée <alex.ben...@linaro.org> Date: 2024-10-24 (Thu, 24 Oct 2024) Changed paths: M MAINTAINERS Log Message: ----------- MAINTAINERS: mention my testing/next tree I put it under my name as there may be other maintainer testing trees as well. Reviewed-by: Thomas Huth <th...@redhat.com> Signed-off-by: Alex Bennée <alex.ben...@linaro.org> Message-Id: <20241023113406.1284676-4-alex.ben...@linaro.org> Commit: cf6fbba724f19355d31b7d8dd1a711538dd91645 https://github.com/qemu/qemu/commit/cf6fbba724f19355d31b7d8dd1a711538dd91645 Author: Pierrick Bouvier <pierrick.bouv...@linaro.org> Date: 2024-10-24 (Thu, 24 Oct 2024) Changed paths: M meson.build Log Message: ----------- meson: hide tsan related warnings When building with gcc-12 -fsanitize=thread, gcc reports some constructions not supported with tsan. Found on debian stable. qemu/include/qemu/atomic.h:36:52: error: ‘atomic_thread_fence’ is not supported with ‘-fsanitize=thread’ [-Werror=tsan] 36 | #define smp_mb() ({ barrier(); __atomic_thread_fence(__ATOMIC_SEQ_CST); }) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Signed-off-by: Pierrick Bouvier <pierrick.bouv...@linaro.org> Reviewed-by: Thomas Huth <th...@redhat.com> Message-Id: <20240910174013.1433331-2-pierrick.bouv...@linaro.org> Signed-off-by: Alex Bennée <alex.ben...@linaro.org> Message-Id: <20241023113406.1284676-5-alex.ben...@linaro.org> Commit: dfbc72a77cd9441e8c29aebb2ea11547972806f0 https://github.com/qemu/qemu/commit/dfbc72a77cd9441e8c29aebb2ea11547972806f0 Author: Pierrick Bouvier <pierrick.bouv...@linaro.org> Date: 2024-10-24 (Thu, 24 Oct 2024) Changed paths: M docs/devel/testing/main.rst Log Message: ----------- docs/devel: update tsan build documentation Mention it's now possible to build with gcc, instead of clang, and explain how to build a sanitized glib version. Signed-off-by: Pierrick Bouvier <pierrick.bouv...@linaro.org> Reviewed-by: Thomas Huth <th...@redhat.com> Message-Id: <20240910174013.1433331-4-pierrick.bouv...@linaro.org> Signed-off-by: Alex Bennée <alex.ben...@linaro.org> Message-Id: <20241023113406.1284676-6-alex.ben...@linaro.org> Commit: 7f117cbb464b2e25f3de25e7487e495c29a4ea03 https://github.com/qemu/qemu/commit/7f117cbb464b2e25f3de25e7487e495c29a4ea03 Author: Alex Bennée <alex.ben...@linaro.org> Date: 2024-10-24 (Thu, 24 Oct 2024) Changed paths: M scripts/ci/setup/ubuntu/build-environment.yml Log Message: ----------- scripts/ci: remove architecture checks for build-environment updates We were missing s390x here. There isn't much point testing for the architecture here as we will fail anyway if the appropriate package list is missing. Reviewed-by: Pierrick Bouvier <pierrick.bouv...@linaro.org> Signed-off-by: Alex Bennée <alex.ben...@linaro.org> Message-Id: <20241023113406.1284676-7-alex.ben...@linaro.org> Commit: b6a48d2a4b9341f46061a59a94cd402e03381177 https://github.com/qemu/qemu/commit/b6a48d2a4b9341f46061a59a94cd402e03381177 Author: Ilya Leoshkevich <i...@linux.ibm.com> Date: 2024-10-24 (Thu, 24 Oct 2024) Changed paths: M tests/tcg/x86_64/Makefile.target A tests/tcg/x86_64/cross-modifying-code.c Log Message: ----------- tests/tcg/x86_64: Add cross-modifying code test commit f025692c992c ("accel/tcg: Clear PAGE_WRITE before translation") fixed cross-modifying code handling, but did not add a test. The changed code was further improved recently [1], and I was not sure whether these modifications were safe (spoiler: they were fine). Add a test to make sure there are no regressions. [1] https://lists.gnu.org/archive/html/qemu-devel/2022-09/msg00034.html Signed-off-by: Ilya Leoshkevich <i...@linux.ibm.com> Reviewed-by: Pierrick Bouvier <pierrick.bouv...@linaro.org> Message-Id: <20241001150617.9977-1-...@linux.ibm.com> Signed-off-by: Alex Bennée <alex.ben...@linaro.org> Message-Id: <20241023113406.1284676-8-alex.ben...@linaro.org> Commit: b24bad34bf6017d49724bedd0a428dea0056bbd6 https://github.com/qemu/qemu/commit/b24bad34bf6017d49724bedd0a428dea0056bbd6 Author: Alex Bennée <alex.ben...@linaro.org> Date: 2024-10-24 (Thu, 24 Oct 2024) Changed paths: M accel/tcg/ldst_atomicity.c.inc M accel/tcg/trace-events M accel/tcg/user-exec.c Log Message: ----------- accel/tcg: add tracepoints for cpu_loop_exit_atomic We try to avoid using cpu_loop_exit_atomic as it brings in an all-core sync point. However on some cpu/kernel/benchmark combinations it is starting to show up in the performance profile. To make it easier to see whats going on add tracepoints for the slow path so we can see what is triggering the wait. It seems for a modern CPU it can be quite a bit, for example: ./qemu-system-aarch64 \ -machine type=virt,virtualization=on,pflash0=rom,pflash1=efivars,gic-version=max \ -smp 4 \ -accel tcg \ -device virtio-net-pci,netdev=unet \ -device virtio-scsi-pci \ -device scsi-hd,drive=hd \ -netdev user,id=unet,hostfwd=tcp::2222-:22 \ -blockdev driver=raw,node-name=hd,file.driver=host_device,file.filename=/dev/zen-ssd2/trixie-arm64,discard=unmap \ -serial mon:stdio \ -blockdev node-name=rom,driver=file,filename=(pwd)/pc-bios/edk2-aarch64-code.fd,read-only=true \ -blockdev node-name=efivars,driver=file,filename=$HOME/images/qemu-arm64-efivars \ -m 8192 \ -object memory-backend-memfd,id=mem,size=8G,share=on \ -kernel /home/alex/lsrc/linux.git/builds/arm64/arch/arm64/boot/Image -append "root=/dev/sda2 console=ttyAMA0 systemd.unit=benchmark-stress-ng.service" \ -display none -d trace:load_atom\*_fallback,trace:store_atom\*_fallback With: -cpu neoverse-v1,pauth-impdef=on => 2203343 With: -cpu cortex-a76 => 0 Reviewed-by: Richard Henderson <richard.hender...@linaro.org> Reviewed-by: Pierrick Bouvier <pierrick.bouv...@linaro.org> Signed-off-by: Alex Bennée <alex.ben...@linaro.org> Message-Id: <20241023113406.1284676-9-alex.ben...@linaro.org> Commit: 24be5341fbeea341cca38b59d4c0928a8cf5fac1 https://github.com/qemu/qemu/commit/24be5341fbeea341cca38b59d4c0928a8cf5fac1 Author: Pierrick Bouvier <pierrick.bouv...@linaro.org> Date: 2024-10-24 (Thu, 24 Oct 2024) Changed paths: M tests/docker/dockerfiles/debian-loongarch-cross.docker Log Message: ----------- dockerfiles: fix default targets for debian-loongarch-cross fix system target name, and remove --disable-system (which deactivates system target). Found using: make docker-test-build@debian-loongarch-cross V=1 Signed-off-by: Pierrick Bouvier <pierrick.bouv...@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Reviewed-by: Thomas Huth <th...@redhat.com> Message-Id: <20241020213759.2168248-1-pierrick.bouv...@linaro.org> Signed-off-by: Alex Bennée <alex.ben...@linaro.org> Message-Id: <20241023113406.1284676-10-alex.ben...@linaro.org> Commit: 97f116f9c6fd127b6ed2953993fa9fb05e82f450 https://github.com/qemu/qemu/commit/97f116f9c6fd127b6ed2953993fa9fb05e82f450 Author: Alex Bennée <alex.ben...@linaro.org> Date: 2024-10-24 (Thu, 24 Oct 2024) Changed paths: M .gitlab-ci.d/check-dco.py M .gitlab-ci.d/check-patch.py Log Message: ----------- gitlab: make check-[dco|patch] a little more verbose When git fails the rather terse backtrace only indicates it failed without some useful context. Add some to make the log a little more useful. Reviewed-by: Daniel P. Berrangé <berra...@redhat.com> Signed-off-by: Alex Bennée <alex.ben...@linaro.org> Message-Id: <20241023113406.1284676-11-alex.ben...@linaro.org> Commit: 0f48656a098892f69642f97a8e6876761c07951b https://github.com/qemu/qemu/commit/0f48656a098892f69642f97a8e6876761c07951b Author: Alex Bennée <alex.ben...@linaro.org> Date: 2024-10-24 (Thu, 24 Oct 2024) Changed paths: M MAINTAINERS Log Message: ----------- MAINTAINERS: mention my gdbstub/next tree Make it easy for people to see what is already queued. Reviewed-by: Thomas Huth <th...@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Signed-off-by: Alex Bennée <alex.ben...@linaro.org> Message-Id: <20241023113406.1284676-12-alex.ben...@linaro.org> Commit: 591e848aca7af3b4d25af03ed5bd266c479054bf https://github.com/qemu/qemu/commit/591e848aca7af3b4d25af03ed5bd266c479054bf Author: Alex Bennée <alex.ben...@linaro.org> Date: 2024-10-24 (Thu, 24 Oct 2024) Changed paths: M configs/targets/aarch64_be-linux-user.mak Log Message: ----------- config/targets: update aarch64_be-linux-user gdb XML list Attempting to run the binary asserts when it can't find the XML entry. We can fix it so we don't although I suspect other stuff is broken. Fixes: https://gitlab.com/qemu-project/qemu/-/issues/2580 Reviewed-by: Pierrick Bouvier <pierrick.bouv...@linaro.org> Signed-off-by: Alex Bennée <alex.ben...@linaro.org> Message-Id: <20241023113406.1284676-13-alex.ben...@linaro.org> Commit: 2e1cacfb8a1e2d84c787fc1f34937a309fbe65ce https://github.com/qemu/qemu/commit/2e1cacfb8a1e2d84c787fc1f34937a309fbe65ce Author: Alex Bennée <alex.ben...@linaro.org> Date: 2024-10-24 (Thu, 24 Oct 2024) Changed paths: M configure M tests/tcg/Makefile.target A tests/tcg/aarch64_be/Makefile.target A tests/tcg/aarch64_be/hello.c Log Message: ----------- tests/tcg: enable basic testing for aarch64_be-linux-user We didn't notice breakage of aarch64_be because we don't have any TCG tests for it. However while the existing aarch64 compiler can target big-endian builds no one packages a BE libc. Instead we bang some rocks together to do the most basic of hello world with a nostdlib syscall test. Reviewed-by: Pierrick Bouvier <pierrick.bouv...@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Reviewed-by: Richard Henderson <richard.hender...@linaro.org> Signed-off-by: Alex Bennée <alex.ben...@linaro.org> Message-Id: <20241023113406.1284676-14-alex.ben...@linaro.org> Commit: bb77c68dbd54931b7bb4a3385021f2c43ed61f3e https://github.com/qemu/qemu/commit/bb77c68dbd54931b7bb4a3385021f2c43ed61f3e Author: Gustavo Romero <gustavo.rom...@linaro.org> Date: 2024-10-24 (Thu, 24 Oct 2024) Changed paths: M tests/tcg/aarch64/gdbstub/test-mte.py Log Message: ----------- tests/tcg/aarch64: Use raw strings for regexes in test-mte.py Use Python's raw string notation instead of string literals for regex so it's not necessary to double backslashes when regex special forms are used. Raw notation is preferred for regex and easier to read. Signed-off-by: Gustavo Romero <gustavo.rom...@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Message-Id: <20241015140806.385449-1-gustavo.rom...@linaro.org> Signed-off-by: Alex Bennée <alex.ben...@linaro.org> Message-Id: <20241023113406.1284676-15-alex.ben...@linaro.org> Commit: 345dedbad2db44af897e838a6505f572b982e52e https://github.com/qemu/qemu/commit/345dedbad2db44af897e838a6505f572b982e52e Author: Gustavo Romero <gustavo.rom...@linaro.org> Date: 2024-10-24 (Thu, 24 Oct 2024) Changed paths: M scripts/probe-gdb-support.py Log Message: ----------- testing: Enhance gdb probe script Use list and set comprehension to simplify code. Also, gently handle invalid gdb filenames. Signed-off-by: Gustavo Romero <gustavo.rom...@linaro.org> Reviewed-by: Pierrick Bouvier <pierrick.bouv...@linaro.org> Message-Id: <20241015145848.387281-1-gustavo.rom...@linaro.org> Signed-off-by: Alex Bennée <alex.ben...@linaro.org> Message-Id: <20241023113406.1284676-16-alex.ben...@linaro.org> Commit: 4603156f77e8aaa29ad9e63be55d726fee5973af https://github.com/qemu/qemu/commit/4603156f77e8aaa29ad9e63be55d726fee5973af Author: Alex Bennée <alex.ben...@linaro.org> Date: 2024-10-24 (Thu, 24 Oct 2024) Changed paths: M MAINTAINERS Log Message: ----------- MAINTAINERS: mention my plugins/next tree Make it easier to find where plugin patches are being staged. Reviewed-by: Pierrick Bouvier <pierrick.bouv...@linaro.org> Signed-off-by: Alex Bennée <alex.ben...@linaro.org> Message-Id: <20241023113406.1284676-17-alex.ben...@linaro.org> Commit: b56f7dd203c301231d3bb2d071b4e32b345f49d6 https://github.com/qemu/qemu/commit/b56f7dd203c301231d3bb2d071b4e32b345f49d6 Author: Pierrick Bouvier <pierrick.bouv...@linaro.org> Date: 2024-10-24 (Thu, 24 Oct 2024) Changed paths: M accel/tcg/plugin-gen.c Log Message: ----------- plugins: fix qemu_plugin_reset 34e5e1 refactored the plugin context initialization. After this change, tcg_ctx->plugin_insn is not reset inconditionnally anymore, but only if one plugin at least is active. When uninstalling the last plugin active, we stopped reinitializing tcg_ctx->plugin_insn, which leads to memory callbacks being emitted. This results in an error as they don't appear in a plugin op sequence as expected. The correct fix is to make sure we reset plugin translation variables after current block translation ends. This way, we can catch any potential misuse of those after a given block, in more than fixing the current bug. Fixes: https://gitlab.com/qemu-project/qemu/-/issues/2570 Reviewed-by: Richard Henderson <richard.hender...@linaro.org> Signed-off-by: Pierrick Bouvier <pierrick.bouv...@linaro.org> Tested-by: Robbin Ehn <r...@rivosinc.com> Message-Id: <20241015003819.984601-1-pierrick.bouv...@linaro.org> [AJB: trim patch version details from commit msg] Signed-off-by: Alex Bennée <alex.ben...@linaro.org> Message-Id: <20241023113406.1284676-19-alex.ben...@linaro.org> Commit: fdf250e5a37830615e324017cb3a503e84b3712c https://github.com/qemu/qemu/commit/fdf250e5a37830615e324017cb3a503e84b3712c Author: Peter Maydell <peter.mayd...@linaro.org> Date: 2024-10-25 (Fri, 25 Oct 2024) Changed paths: M .gitlab-ci.d/check-dco.py M .gitlab-ci.d/check-patch.py M MAINTAINERS M accel/tcg/ldst_atomicity.c.inc M accel/tcg/plugin-gen.c M accel/tcg/trace-events M accel/tcg/user-exec.c M configs/targets/aarch64_be-linux-user.mak M configure M docs/devel/testing/main.rst M meson.build M scripts/ci/setup/ubuntu/build-environment.yml M scripts/probe-gdb-support.py M tests/docker/Makefile.include M tests/docker/dockerfiles/debian-loongarch-cross.docker M tests/docker/dockerfiles/debian-microblaze-cross.d/build-toolchain.sh M tests/docker/dockerfiles/debian-toolchain.docker M tests/tcg/Makefile.target M tests/tcg/aarch64/gdbstub/test-mte.py A tests/tcg/aarch64_be/Makefile.target A tests/tcg/aarch64_be/hello.c M tests/tcg/x86_64/Makefile.target A tests/tcg/x86_64/cross-modifying-code.c Log Message: ----------- Merge tag 'pull-maintainer-oct-misc-241024-1' of https://gitlab.com/stsquad/qemu into staging testing, gdbstub and plugin updates - update MAINTAINERS with pointers to foo/next - add NOFETCH to help test custom docker builds - update microblaze toolchain with atomic fixes - update tsan build and documentation - don't restrict build-environment by arch unless needed - add cross-modifying code test - add tracepoints for cpu_step_atomic fallbacks - fix defaults for loongarch cross build - make check-[dco|patch] a little more verbose - fix gdbstub bug preventing aarch64_be-linux-user starting - add basic test for aarch64_be - clean up some gdbstub test scripts - fix qemu_plugin_reset # -----BEGIN PGP SIGNATURE----- # # iQEzBAABCgAdFiEEZoWumedRZ7yvyN81+9DbCVqeKkQFAmcaDeQACgkQ+9DbCVqe # KkRTlQgAlFaP1Nxa8y6pRZSL0WY9J3Znf5e2GDnVN3nJbfx1wZg7oZ4/dWieDF/Y # /9jLfMi8nDJ51tzH24PSASbHQ1xnblhuUfhRMwqAFhSwsZUb0VzdeGdq+FIyXQ5w # Cy2Ubz7g81qP/x9JRCCUGFfXaM1LSizsY1lNioRsDd533WJLkvxWucmpSN3XhxHJ # rEa3xI/qAcUah4G3yww47L+DmlKnJQcsihShRBC6Am2tWqxbz+1kBUaVfaVVo1if # IPN+bBk4eI1EHdRRyWJSsq3nELzqW4FJ3+9V0ifsOFW2KGsnkhbl0qUxqDmW5aBb # P9flEdpTfSiCbqp+IKG9vxJKuf/BGw== # =5Wui # -----END PGP SIGNATURE----- # gpg: Signature made Thu 24 Oct 2024 10:05:40 BST # gpg: using RSA key 6685AE99E75167BCAFC8DF35FBD0DB095A9E2A44 # gpg: Good signature from "Alex Bennée (Master Work Key) <alex.ben...@linaro.org>" [full] # Primary key fingerprint: 6685 AE99 E751 67BC AFC8 DF35 FBD0 DB09 5A9E 2A44 * tag 'pull-maintainer-oct-misc-241024-1' of https://gitlab.com/stsquad/qemu: plugins: fix qemu_plugin_reset MAINTAINERS: mention my plugins/next tree testing: Enhance gdb probe script tests/tcg/aarch64: Use raw strings for regexes in test-mte.py 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 dockerfiles: fix default targets for debian-loongarch-cross accel/tcg: add tracepoints for cpu_loop_exit_atomic tests/tcg/x86_64: Add cross-modifying code test scripts/ci: remove architecture checks for build-environment updates docs/devel: update tsan build documentation meson: hide tsan related warnings MAINTAINERS: mention my testing/next tree tests/docker: add NOFETCH env variable for testing tests/docker: Fix microblaze atomics Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> Compare: https://github.com/qemu/qemu/compare/cea8ac78545a...fdf250e5a378 To unsubscribe from these emails, change your notification settings at https://github.com/qemu/qemu/settings/notifications