qemu-commits
[Top][All Lists]
Advanced

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

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


From: Richard Henderson
Subject: [Qemu-commits] [qemu/qemu] 1252f0: tests/tcg: don't append QEMU_OPTS for armv6m-undef...
Date: Thu, 16 May 2024 00:29:05 -0700

  Branch: refs/heads/staging
  Home:   https://github.com/qemu/qemu
  Commit: 1252f04d664c804b5016566de73fb98ac243bfd9
      
https://github.com/qemu/qemu/commit/1252f04d664c804b5016566de73fb98ac243bfd9
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2024-05-15 (Wed, 15 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: a51429fee1b48dfa25190aa457af26f55df2a607
      
https://github.com/qemu/qemu/commit/a51429fee1b48dfa25190aa457af26f55df2a607
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2024-05-15 (Wed, 15 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: f9773b201ba4dbc563d95a8fa096bc3d01b44536
      
https://github.com/qemu/qemu/commit/f9773b201ba4dbc563d95a8fa096bc3d01b44536
  Author: Pierrick Bouvier <pierrick.bouvier@linaro.org>
  Date:   2024-05-15 (Wed, 15 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: 34791bbb2be1aad78857220fadad453371c1bc7a
      
https://github.com/qemu/qemu/commit/34791bbb2be1aad78857220fadad453371c1bc7a
  Author: Pierrick Bouvier <pierrick.bouvier@linaro.org>
  Date:   2024-05-15 (Wed, 15 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: 58ae9e07aef0bf87f23abd63f50af6e38d54ae66
      
https://github.com/qemu/qemu/commit/58ae9e07aef0bf87f23abd63f50af6e38d54ae66
  Author: Pierrick Bouvier <pierrick.bouvier@linaro.org>
  Date:   2024-05-15 (Wed, 15 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: 753145b03f10f802640860093fc3c1ae63bdd53e
      
https://github.com/qemu/qemu/commit/753145b03f10f802640860093fc3c1ae63bdd53e
  Author: Pierrick Bouvier <pierrick.bouvier@linaro.org>
  Date:   2024-05-15 (Wed, 15 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: f755720aabdb87cc411375b413d530b074f26e93
      
https://github.com/qemu/qemu/commit/f755720aabdb87cc411375b413d530b074f26e93
  Author: Pierrick Bouvier <pierrick.bouvier@linaro.org>
  Date:   2024-05-15 (Wed, 15 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>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20240514174253.694591-8-alex.bennee@linaro.org>


  Commit: 496dc06a147ee616a92b4f0f780e7c5e5e0caa9a
      
https://github.com/qemu/qemu/commit/496dc06a147ee616a92b4f0f780e7c5e5e0caa9a
  Author: Pierrick Bouvier <pierrick.bouvier@linaro.org>
  Date:   2024-05-15 (Wed, 15 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: b3c76acba30140c9f288ab18edfbde543b6c6610
      
https://github.com/qemu/qemu/commit/b3c76acba30140c9f288ab18edfbde543b6c6610
  Author: Pierrick Bouvier <pierrick.bouvier@linaro.org>
  Date:   2024-05-15 (Wed, 15 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: e9444b02377b6f260b93acea334f9f3ee619b172
      
https://github.com/qemu/qemu/commit/e9444b02377b6f260b93acea334f9f3ee619b172
  Author: Pierrick Bouvier <pierrick.bouvier@linaro.org>
  Date:   2024-05-15 (Wed, 15 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: 8f9df78afac40d60a0f8162aae80c90a9c58972d
      
https://github.com/qemu/qemu/commit/8f9df78afac40d60a0f8162aae80c90a9c58972d
  Author: Pierrick Bouvier <pierrick.bouvier@linaro.org>
  Date:   2024-05-15 (Wed, 15 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: ec292e2afb9e09c6e0b331a6914de8b3b6c95605
      
https://github.com/qemu/qemu/commit/ec292e2afb9e09c6e0b331a6914de8b3b6c95605
  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-150524-1' 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+9DbCVqeKkQFAmZEsloACgkQ+9DbCVqe
# KkTGlgf8CIzH9nnWARp3UxRSDCNduLcIicOcjB+eZX5AM5STasno+T+T/3EIlkeU
# wJEo1Acir8bGCTYxisxycTNx8dFfIScXYdYdO2ZskGTeXMYU91ELRYiyegXWh85P
# 3kV7GTLEzffnjPj0JQ9fg12w16EUZ4tKxYNTcTA21yCDqw1XEwKexRFM8ZmuNoHi
# f6ueF57PeJh9pql6KeomeHmUB0d2yz6NCGAdYhxYgimQqwKa86Uu6wXcb8qC+kUb
# rO06thEV1bbKKxSwcQdXEHNIMV9KpZoZsjZoFBgWl5u6oXkgZS0gVeoIh6Ral4Lc
# zdV+ns9bReYZVVjHY+yylgSR4uEdIg==
# =C1aA
# -----END PGP SIGNATURE-----
# gpg: Signature made Wed 15 May 2024 03:02:18 PM 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-150524-1' 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...ec292e2afb9e

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]