qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] 4985d8: tests/tcg: don't append QEMU_OPTS for


From: Richard Henderson
Subject: [Qemu-commits] [qemu/qemu] 4985d8: tests/tcg: don't append QEMU_OPTS for armv6m-undef...
Date: Thu, 16 May 2024 02:21:46 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 4985d876ee681368e86163637c1cbd3451d4c514
      
https://github.com/qemu/qemu/commit/4985d876ee681368e86163637c1cbd3451d4c514
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2024-05-16 (Thu, 16 May 2024)

  Changed paths:
    M tests/tcg/arm/Makefile.softmmu-target

  Log Message:
  -----------
  tests/tcg: don't append QEMU_OPTS for armv6m-undef test

We don't want to build on the default machine setup here but define a
custom one for the microbit.

Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20240514174253.694591-2-alex.bennee@linaro.org>


  Commit: b51ddd937f11f76614d4b36d14d8778df242661c
      
https://github.com/qemu/qemu/commit/b51ddd937f11f76614d4b36d14d8778df242661c
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2024-05-16 (Thu, 16 May 2024)

  Changed paths:
    M scripts/update-linux-headers.sh

  Log Message:
  -----------
  scripts/update-linux-header.sh: be more src tree friendly

Running "install_headers" in the Linux source tree is fairly
unfriendly as out-of-tree builds will start complaining about the
kernel source being non-pristine. As we have a temporary directory for
the install we should also do the build step here. So now we have:

  $tmpdir/
    $blddir/
    $hdrdir/

Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20240514174253.694591-3-alex.bennee@linaro.org>


  Commit: 21032784e56e9687f8c9d4abb75db4b15629c9b1
      
https://github.com/qemu/qemu/commit/21032784e56e9687f8c9d4abb75db4b15629c9b1
  Author: Pierrick Bouvier <pierrick.bouvier@linaro.org>
  Date:   2024-05-16 (Thu, 16 May 2024)

  Changed paths:
    M accel/tcg/plugin-gen.c
    M include/qemu/plugin.h
    M plugins/core.c

  Log Message:
  -----------
  plugins: prepare introduction of new inline ops

Until now, only add_u64 was available, and all functions assumed this or
were named uniquely.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20240514174253.694591-4-alex.bennee@linaro.org>


  Commit: 299c82b8ae31ef446cad9ef5b04efd49e1d02528
      
https://github.com/qemu/qemu/commit/299c82b8ae31ef446cad9ef5b04efd49e1d02528
  Author: Pierrick Bouvier <pierrick.bouvier@linaro.org>
  Date:   2024-05-16 (Thu, 16 May 2024)

  Changed paths:
    M accel/tcg/plugin-gen.c

  Log Message:
  -----------
  plugins: extract generate ptr for qemu_plugin_u64

Plugin operations can access a scoreboard. This function factorizes code
generation for accessing entry associated to a given vcpu.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Message-Id: <20240502211522.346467-3-pierrick.bouvier@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20240514174253.694591-5-alex.bennee@linaro.org>


  Commit: 36a1d8e7102c22e7def1d4146a6b824ec98b3a89
      
https://github.com/qemu/qemu/commit/36a1d8e7102c22e7def1d4146a6b824ec98b3a89
  Author: Pierrick Bouvier <pierrick.bouvier@linaro.org>
  Date:   2024-05-16 (Thu, 16 May 2024)

  Changed paths:
    M accel/tcg/plugin-gen.c
    M include/qemu/plugin.h
    M include/qemu/qemu-plugin.h
    M plugins/core.c

  Log Message:
  -----------
  plugins: add new inline op STORE_U64

This new operation can store an immediate u64 value to a given
scoreboard.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Message-Id: <20240502211522.346467-4-pierrick.bouvier@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20240514174253.694591-6-alex.bennee@linaro.org>


  Commit: a1c9bf2514d82b757288ee61584e667ddcb19a4f
      
https://github.com/qemu/qemu/commit/a1c9bf2514d82b757288ee61584e667ddcb19a4f
  Author: Pierrick Bouvier <pierrick.bouvier@linaro.org>
  Date:   2024-05-16 (Thu, 16 May 2024)

  Changed paths:
    M tests/plugin/inline.c

  Log Message:
  -----------
  tests/plugin/inline: add test for STORE_U64 inline op

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Message-Id: <20240502211522.346467-5-pierrick.bouvier@linaro.org>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20240514174253.694591-7-alex.bennee@linaro.org>


  Commit: 7de77d37880d7267a491cb32a1b2232017d1e545
      
https://github.com/qemu/qemu/commit/7de77d37880d7267a491cb32a1b2232017d1e545
  Author: Pierrick Bouvier <pierrick.bouvier@linaro.org>
  Date:   2024-05-16 (Thu, 16 May 2024)

  Changed paths:
    M accel/tcg/plugin-gen.c
    M include/qemu/plugin.h
    M include/qemu/qemu-plugin.h
    M plugins/api.c
    M plugins/core.c
    M plugins/plugin.h
    M plugins/qemu-plugins.symbols

  Log Message:
  -----------
  plugins: conditional callbacks

Extend plugins API to support callback called with a given criteria
(evaluated inline).

Added functions:
- qemu_plugin_register_vcpu_tb_exec_cond_cb
- qemu_plugin_register_vcpu_insn_exec_cond_cb

They expect as parameter a condition, a qemu_plugin_u64_t (op1) and an
immediate (op2). Callback is called if op1 |cond| op2 is true.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Message-Id: <20240502211522.346467-6-pierrick.bouvier@linaro.org>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
[AJB: fix re-base conflict with tb_is_mem_only()]
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20240514174253.694591-8-alex.bennee@linaro.org>


  Commit: 544595e73007c824b7435b52519cc578586783a6
      
https://github.com/qemu/qemu/commit/544595e73007c824b7435b52519cc578586783a6
  Author: Pierrick Bouvier <pierrick.bouvier@linaro.org>
  Date:   2024-05-16 (Thu, 16 May 2024)

  Changed paths:
    M tests/plugin/inline.c

  Log Message:
  -----------
  tests/plugin/inline: add test for conditional callback

Count number of tb and insn executed using a conditional callback. We
ensure the callback has been called expected number of time (per vcpu).

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Message-Id: <20240502211522.346467-7-pierrick.bouvier@linaro.org>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20240514174253.694591-9-alex.bennee@linaro.org>


  Commit: f86fd4d8721073fa834845c5b76bf1f829b5f9b5
      
https://github.com/qemu/qemu/commit/f86fd4d8721073fa834845c5b76bf1f829b5f9b5
  Author: Pierrick Bouvier <pierrick.bouvier@linaro.org>
  Date:   2024-05-16 (Thu, 16 May 2024)

  Changed paths:
    M accel/tcg/plugin-gen.c
    M include/qemu/plugin.h
    M plugins/core.c
    M plugins/plugin.h

  Log Message:
  -----------
  plugins: distinct types for callbacks

To prevent errors when writing new types of callbacks or inline
operations, we split callbacks data to distinct types.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Message-Id: <20240502211522.346467-8-pierrick.bouvier@linaro.org>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20240514174253.694591-10-alex.bennee@linaro.org>


  Commit: b95b78dc1617c435f7031fe4a2dcca37f4f4a3ce
      
https://github.com/qemu/qemu/commit/b95b78dc1617c435f7031fe4a2dcca37f4f4a3ce
  Author: Pierrick Bouvier <pierrick.bouvier@linaro.org>
  Date:   2024-05-16 (Thu, 16 May 2024)

  Changed paths:
    M accel/tcg/plugin-gen.c

  Log Message:
  -----------
  plugins: extract cpu_index generate

Factorizes function to access current cpu index for a given vcpu.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Message-Id: <20240502211522.346467-9-pierrick.bouvier@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20240514174253.694591-11-alex.bennee@linaro.org>


  Commit: 09afe9677e6aeb7629eeeab5abccc17f67cb4875
      
https://github.com/qemu/qemu/commit/09afe9677e6aeb7629eeeab5abccc17f67cb4875
  Author: Pierrick Bouvier <pierrick.bouvier@linaro.org>
  Date:   2024-05-16 (Thu, 16 May 2024)

  Changed paths:
    M include/qemu/plugin.h
    M plugins/core.c
    M plugins/plugin.h

  Log Message:
  -----------
  plugins: remove op from qemu_plugin_inline_cb

This field is not needed as the callback type already holds this
information.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Message-Id: <20240502211522.346467-10-pierrick.bouvier@linaro.org>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20240514174253.694591-12-alex.bennee@linaro.org>


  Commit: 85ef20f1673feaa083f4acab8cf054df77b0dbed
      
https://github.com/qemu/qemu/commit/85ef20f1673feaa083f4acab8cf054df77b0dbed
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2024-05-16 (Thu, 16 May 2024)

  Changed paths:
    M accel/tcg/plugin-gen.c
    M include/qemu/plugin.h
    M include/qemu/qemu-plugin.h
    M plugins/api.c
    M plugins/core.c
    M plugins/plugin.h
    M plugins/qemu-plugins.symbols
    M scripts/update-linux-headers.sh
    M tests/plugin/inline.c
    M tests/tcg/arm/Makefile.softmmu-target

  Log Message:
  -----------
  Merge tag 'pull-maintainer-may24-160524-2' of https://gitlab.com/stsquad/qemu 
into staging

plugin and testing updates

 - don't duplicate options for microbit test
 - don't spam the linux source tree when importing headers
 - add STORE_U64 inline op to TCG plugins
 - add conditional callback op to TCG plugins

# -----BEGIN PGP SIGNATURE-----
#
# iQEzBAABCgAdFiEEZoWumedRZ7yvyN81+9DbCVqeKkQFAmZFvCMACgkQ+9DbCVqe
# KkSrYQf/aj9+eCWCKZk3Hym0lT+qNKxUeNSx3juUN8h7iG1vkA1f/XaQle5XvKDr
# ROIdo8urcr8onJ4PBH+4C7VZhUmnpL8zLH80pCuuTkF03MCNhaW/5qJ67niWmPVM
# QJHVqNomkykKOMBh+WtD5M0m/BYPT5lsa10sE3bDH8ziGjp0An2v24R89tzYEXnf
# 1QePItQN5vzEvhrZj6oKWVmeucqLsqS6yqS8V3sEpmF0+zqNjGZlrI86A4SAp74k
# 8vuduVuRbeyki7zWBTOLUeoiuHM2Zmh7v74zm/Hc1ITBaDjWMwPctcI/vFjsrCI/
# yoFRhgrV87DtIZdkrJzk5qBYFOWoeQ==
# =znN0
# -----END PGP SIGNATURE-----
# gpg: Signature made Thu 16 May 2024 09:56:19 AM CEST
# gpg:                using RSA key 6685AE99E75167BCAFC8DF35FBD0DB095A9E2A44
# gpg: Good signature from "Alex Bennée (Master Work Key) 
<alex.bennee@linaro.org>" [full]

* tag 'pull-maintainer-may24-160524-2' of https://gitlab.com/stsquad/qemu:
  plugins: remove op from qemu_plugin_inline_cb
  plugins: extract cpu_index generate
  plugins: distinct types for callbacks
  tests/plugin/inline: add test for conditional callback
  plugins: conditional callbacks
  tests/plugin/inline: add test for STORE_U64 inline op
  plugins: add new inline op STORE_U64
  plugins: extract generate ptr for qemu_plugin_u64
  plugins: prepare introduction of new inline ops
  scripts/update-linux-header.sh: be more src tree friendly
  tests/tcg: don't append QEMU_OPTS for armv6m-undef test

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


Compare: https://github.com/qemu/qemu/compare/922582ace2df...85ef20f1673f

To unsubscribe from these emails, change your notification settings at 
https://github.com/qemu/qemu/settings/notifications



reply via email to

[Prev in Thread] Current Thread [Next in Thread]