Branch: refs/heads/staging
Home: https://github.com/qemu/qemu
Commit: 3b079926769f31c9bdb00e1c8e62103407256563
https://github.com/qemu/qemu/commit/3b079926769f31c9bdb00e1c8e62103407256563
Author: Richard Henderson <[email protected]>
Date: 2023-05-01 (Mon, 01 May 2023)
Changed paths:
M softmmu/dirtylimit.c
Log Message:
-----------
softmmu: Tidy dirtylimit_dirty_ring_full_time
Drop inline marker: let compiler decide.
Change return type to uint64_t: this matches the computation in the
return statement and the local variable assignment in the caller.
Rename local to dirty_ring_size_MB to fix typo.
Simplify conversion to MiB via qemu_target_page_bits and right shift.
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Thomas Huth <[email protected]>
Reviewed-by: Juan Quintela <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>
Commit: 58274228f1e8fd8f55d9a684b0342494835ead57
https://github.com/qemu/qemu/commit/58274228f1e8fd8f55d9a684b0342494835ead57
Author: Weiwei Li <[email protected]>
Date: 2023-05-01 (Mon, 01 May 2023)
Changed paths:
M accel/tcg/cputlb.c
Log Message:
-----------
accel/tcg: Uncache the host address for instruction fetch when tlb size < 1
When PMP entry overlap part of the page, we'll set the tlb_size to 1, which
will make the address in tlb entry set with TLB_INVALID_MASK, and the next
access will again go through tlb_fill.However, this way will not work in
tb_gen_code() => get_page_addr_code_hostp(): the TLB host address will be
cached, and the following instructions can use this host address directly
which may lead to the bypass of PMP related check.
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1542.
Signed-off-by: Weiwei Li <[email protected]>
Signed-off-by: Junqiang Wang <[email protected]>
Reviewed-by: LIU Zhiwei <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Message-Id: <[email protected]>
Commit: 25cb25861990b4a5dd8b883844724f0e1d3129a2
https://github.com/qemu/qemu/commit/25cb25861990b4a5dd8b883844724f0e1d3129a2
Author: Dickon Hood <[email protected]>
Date: 2023-05-01 (Mon, 01 May 2023)
Changed paths:
M include/qemu/bitops.h
Log Message:
-----------
qemu/bitops.h: Limit rotate amounts
Rotates have been fixed up to only allow for reasonable rotate amounts
(ie, no rotates >7 on an 8b value etc.) This fixes a problem with riscv
vector rotate instructions.
Signed-off-by: Dickon Hood <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>
Commit: a547ed87b00234bff1757e23b4402fba35230192
https://github.com/qemu/qemu/commit/a547ed87b00234bff1757e23b4402fba35230192
Author: Kiran Ostrolenk <[email protected]>
Date: 2023-05-01 (Mon, 01 May 2023)
Changed paths:
M include/qemu/host-utils.h
Log Message:
-----------
qemu/host-utils.h: Add clz and ctz functions for lower-bit integers
This is for use in the RISC-V vclz and vctz instructions (implemented in
proceeding commit).
Signed-off-by: Kiran Ostrolenk <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>
Commit: 77ac798336751697a8e8e5f89962d382f733169f
https://github.com/qemu/qemu/commit/77ac798336751697a8e8e5f89962d382f733169f
Author: Nazar Kazakov <[email protected]>
Date: 2023-05-01 (Mon, 01 May 2023)
Changed paths:
M accel/tcg/tcg-runtime-gvec.c
M accel/tcg/tcg-runtime.h
M include/tcg/tcg-op-gvec.h
M tcg/tcg-op-gvec.c
Log Message:
-----------
tcg: Add tcg_gen_gvec_andcs
Add tcg expander and helper functions for and-compliment
vector with scalar operand.
Signed-off-by: Nazar Kazakov <[email protected]>
Message-Id: <[email protected]>
[rth: Split out of larger patch.]
Signed-off-by: Richard Henderson <[email protected]>
Commit: 50bec8ac2d2ae213b303fe74710dc3ed166edffe
https://github.com/qemu/qemu/commit/50bec8ac2d2ae213b303fe74710dc3ed166edffe
Author: Nazar Kazakov <[email protected]>
Date: 2023-05-01 (Mon, 01 May 2023)
Changed paths:
M include/tcg/tcg-op-gvec.h
M tcg/tcg-op-gvec.c
Log Message:
-----------
tcg: Add tcg_gen_gvec_rotrs
Add tcg expander and helper functions for rotate right
vector with scalar operand.
Signed-off-by: Nazar Kazakov <[email protected]>
Message-Id: <[email protected]>
[rth: Split out of larger patch; mask rotation count.]
Signed-off-by: Richard Henderson <[email protected]>
Commit: 01013d2c10a07bb49da61923dae09968218a520d
https://github.com/qemu/qemu/commit/01013d2c10a07bb49da61923dae09968218a520d
Author: Thomas Huth <[email protected]>
Date: 2023-05-02 (Tue, 02 May 2023)
Changed paths:
M tests/qtest/readconfig-test.c
Log Message:
-----------
tests/qtest: Disable the spice test of readconfig-test on FreeBSD
The spice test is currently hanging on FreeBSD. It likely was
never working before, since in the past, our configure script
was failing to detect this feature due to a bug in the spice
package there (it just got enabled recently by the commit
https://cgit.freebsd.org/ports/commit/?id=cf16b1c9063351325f0 ).
To get the CI working again, let's disable the failing test for
now until someone has enough spare time to debug and fix the real
underlying problem.
Message-Id: <[email protected]>
Reviewed-by: Daniel P. Berrangé <[email protected]>
Reviewed-by: Marc-André Lureau <[email protected]>
Signed-off-by: Thomas Huth <[email protected]>
Commit: b08dc0f1b7b7b3be27ed3ffd72deeb02a1f669e7
https://github.com/qemu/qemu/commit/b08dc0f1b7b7b3be27ed3ffd72deeb02a1f669e7
Author: Fabiano Rosas <[email protected]>
Date: 2023-05-02 (Tue, 02 May 2023)
Changed paths:
M tests/qtest/meson.build
Log Message:
-----------
tests/qtest: Restrict tpm-tis-i2c-test to CONFIG_TCG
The test set -accel tcg, so restrict it to when TCG is present.
Signed-off-by: Fabiano Rosas <[email protected]>
Message-Id: <[email protected]>
Reviewed-by: Thomas Huth <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Signed-off-by: Thomas Huth <[email protected]>
Commit: 7915bd06f25e1803778081161bf6fa10c42dc7cd
https://github.com/qemu/qemu/commit/7915bd06f25e1803778081161bf6fa10c42dc7cd
Author: Alexander Bulekov <[email protected]>
Date: 2023-05-02 (Tue, 02 May 2023)
Changed paths:
M util/async.c
Log Message:
-----------
async: avoid use-after-free on re-entrancy guard
A BH callback can free the BH, causing a use-after-free in aio_bh_call.
Fix that by keeping a local copy of the re-entrancy guard pointer.
Buglink: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=58513
Fixes: 9c86c97f12 ("async: Add an optional reentrancy guard to the BH API")
Signed-off-by: Alexander Bulekov <[email protected]>
Message-Id: <[email protected]>
Reviewed-by: Thomas Huth <[email protected]>
Signed-off-by: Thomas Huth <[email protected]>
Commit: 67055d0d88c84ca5bee9386aebb8ca61b8aa8042
https://github.com/qemu/qemu/commit/67055d0d88c84ca5bee9386aebb8ca61b8aa8042
Author: Richard Henderson <[email protected]>
Date: 2023-05-02 (Tue, 02 May 2023)
Changed paths:
M include/qemu/int128.h
Log Message:
-----------
qemu/int128: Re-shuffle Int128Alias members
Clang 14, with --enable-tcg-interpreter errors with
include/qemu/int128.h:487:16: error: alignment of field 'i' (128 bits)
does not match the alignment of the first field in transparent union;
transparent_union attribute ignored [-Werror,-Wignored-attributes]
__int128_t i;
^
include/qemu/int128.h:486:12: note: alignment of first field is 64 bits
Int128 s;
^
1 error generated.
By placing the __uint128_t member first, this is avoided.
Signed-off-by: Richard Henderson <[email protected]>
Reviewed-by: Alex Bennée <[email protected]>
Message-Id: <[email protected]>
Commit: b416e3b856970b3aef37eaa7c6121fa2cc7bfbe6
https://github.com/qemu/qemu/commit/b416e3b856970b3aef37eaa7c6121fa2cc7bfbe6
Author: Richard Henderson <[email protected]>
Date: 2023-05-02 (Tue, 02 May 2023)
Changed paths:
M meson.build
M migration/xbzrle.c
Log Message:
-----------
migration/xbzrle: Use __attribute__((target)) for avx512
Use the attribute, which is supported by clang, instead of
the #pragma, which is not supported and, for some reason,
also not detected by the meson probe, so we fail by -Werror.
Signed-off-by: Richard Henderson <[email protected]>
Reviewed-by: Juan Quintela <[email protected]>
Message-Id: <[email protected]>
Commit: 8a6ede0912d4ed979323f137a82ca649fd178f53
https://github.com/qemu/qemu/commit/8a6ede0912d4ed979323f137a82ca649fd178f53
Author: Richard Henderson <[email protected]>
Date: 2023-05-02 (Tue, 02 May 2023)
Changed paths:
M accel/tcg/cputlb.c
M accel/tcg/user-exec.c
M include/exec/cpu_ldst.h
Log Message:
-----------
accel/tcg: Add cpu_ld*_code_mmu
At least RISC-V has the need to be able to perform a read
using execute permissions, outside of translation.
Add helpers to facilitate this.
Signed-off-by: Richard Henderson <[email protected]>
Acked-by: Alistair Francis <[email protected]>
Reviewed-by: Weiwei Li <[email protected]>
Tested-by: Daniel Henrique Barboza <[email protected]>
Message-Id: <[email protected]>
Message-Id: <[email protected]>
Commit: 6887ff02da66c8084b8bc0934c0f845bfd04ce3c
https://github.com/qemu/qemu/commit/6887ff02da66c8084b8bc0934c0f845bfd04ce3c
Author: Richard Henderson <[email protected]>
Date: 2023-05-02 (Tue, 02 May 2023)
Changed paths:
M tcg/loongarch64/tcg-target.c.inc
Log Message:
-----------
tcg/loongarch64: Conditionalize tcg_out_exts_i32_i64
Since TCG_TYPE_I32 values are kept sign-extended in registers,
via ".w" instructions, we need not extend if the register matches.
This is already relied upon by comparisons.
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>
Commit: 7f98ec2115ef8c911bcd45a85cca0f7873478912
https://github.com/qemu/qemu/commit/7f98ec2115ef8c911bcd45a85cca0f7873478912
Author: Richard Henderson <[email protected]>
Date: 2023-05-02 (Tue, 02 May 2023)
Changed paths:
M tcg/mips/tcg-target.c.inc
Log Message:
-----------
tcg/mips: Conditionalize tcg_out_exts_i32_i64
Since TCG_TYPE_I32 values are kept sign-extended in registers, we need not
extend if the register matches. This is already relied upon by comparisons.
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>
Commit: bdc7fba1c5a29ae218b45353daac9308fe1aae82
https://github.com/qemu/qemu/commit/bdc7fba1c5a29ae218b45353daac9308fe1aae82
Author: Richard Henderson <[email protected]>
Date: 2023-05-02 (Tue, 02 May 2023)
Changed paths:
M tcg/arm/tcg-target.c.inc
M tcg/i386/tcg-target.c.inc
M tcg/tcg.c
Log Message:
-----------
tcg: Introduce tcg_out_movext2
This is common code in most qemu_{ld,st} slow paths, moving two
registers when there may be overlap between sources and destinations.
At present, this is only used by 32-bit hosts for 64-bit data,
but will shortly be used for more than that.
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>
Commit: b5f47ba73b7c1457d2f18d71c00e1a91a76fe60b
https://github.com/qemu/qemu/commit/b5f47ba73b7c1457d2f18d71c00e1a91a76fe60b
Author: Richard Henderson <[email protected]>
Date: 2023-05-02 (Tue, 02 May 2023)
Changed paths:
M tests/qtest/meson.build
M tests/qtest/readconfig-test.c
M util/async.c
Log Message:
-----------
Merge tag 'pull-request-2023-05-02' of https://gitlab.com/thuth/qemu into
staging
* Fix the failing FreeBSD job in our CI
* Run the tpm-tis-i2c-test only if TCG is enabled
* Fix a use-after-free problem in the new reentracy checking code
# -----BEGIN PGP SIGNATURE-----
#
# iQJFBAABCAAvFiEEJ7iIR+7gJQEY8+q5LtnXdP5wLbUFAmRQ4vERHHRodXRoQHJl
# ZGhhdC5jb20ACgkQLtnXdP5wLbXo8g//dVRM+LCeCqNfjqtQLwGUUAt3ve1vruLD
# v9BT4ooTNIGFScQlc9NRnweCPPBvmdSyXfxdfa3ITW62BEKEcCaf9tXiNeXE9jUE
# VAQMA3u5/w0HSsWK9uqCZ/5azI4mwo5c2ykocX7XsdyP0LoFvlgydYBZ9S5PxRit
# JsX78x740qTGjOSxD2O5wYocDwRUVsCcY7nAIC1Cj52gxi9Vedxqzb8MW30AU+oh
# W9h49nVJAOvcx1UBNtYC0t6LCdJvMkhLPmewp4g4o0iiQqnGBjjD0pT2SUYhl1A5
# pZYjsq7IBFGPDEyQOD3R4VeaMPpo22NLifLbU8Kt+BepyHJHJgCkjX/WUnCEzwu9
# jmxaIUubT5/UanDzOX5qa/JDgNnUxkLfoVgZ8GOeNKoJ+Ik52xATnMm5Dqod369E
# MydBN8gqnT+I7Qb7KxSS5Q18YugUS3uUd17LqpZ846yxyqMjoM2Zee2J2K7x4clO
# cJ5h1AP7D6ZzyPzBMD0U9fanA+2M/qFiV3NJ9IDqiQYglafnU+gZOohE+p1Id4Dq
# IeSITK+OaaYPdlADfKcVJNLy3qBvyL/ZsJ/2X1zRO5vhPVal4tMfo4Fv8Su0vx34
# mXiUJO8SWk/GiPtJy7fNhxfiBBhwDTiyVX97In/+jbFC3ZKwPnwo/nq1DeBg4YI7
# Rj2rHq4HS7o=
# =zdof
# -----END PGP SIGNATURE-----
# gpg: Signature made Tue 02 May 2023 11:16:17 AM BST
# gpg: using RSA key 27B88847EEE0250118F3EAB92ED9D774FE702DB5
# gpg: issuer "[email protected]"
# gpg: Good signature from "Thomas Huth <[email protected]>" [undefined]
# gpg: aka "Thomas Huth <[email protected]>" [undefined]
# gpg: aka "Thomas Huth <[email protected]>" [unknown]
# gpg: aka "Thomas Huth <[email protected]>" [undefined]
# gpg: WARNING: This key is not certified with a trusted signature!
# gpg: There is no indication that the signature belongs to the owner.
# Primary key fingerprint: 27B8 8847 EEE0 2501 18F3 EAB9 2ED9 D774 FE70 2DB5
* tag 'pull-request-2023-05-02' of https://gitlab.com/thuth/qemu:
async: avoid use-after-free on re-entrancy guard
tests/qtest: Restrict tpm-tis-i2c-test to CONFIG_TCG
tests/qtest: Disable the spice test of readconfig-test on FreeBSD
Signed-off-by: Richard Henderson <[email protected]>
Commit: 1b0e90a87b46cde63d0394f1dffa2a2a819c0501
https://github.com/qemu/qemu/commit/1b0e90a87b46cde63d0394f1dffa2a2a819c0501
Author: Richard Henderson <[email protected]>
Date: 2023-05-02 (Tue, 02 May 2023)
Changed paths:
M accel/tcg/cputlb.c
M accel/tcg/tcg-runtime-gvec.c
M accel/tcg/tcg-runtime.h
M accel/tcg/user-exec.c
M include/exec/cpu_ldst.h
M include/qemu/bitops.h
M include/qemu/host-utils.h
M include/qemu/int128.h
M include/tcg/tcg-op-gvec.h
M meson.build
M migration/xbzrle.c
M softmmu/dirtylimit.c
M tcg/arm/tcg-target.c.inc
M tcg/i386/tcg-target.c.inc
M tcg/loongarch64/tcg-target.c.inc
M tcg/mips/tcg-target.c.inc
M tcg/tcg-op-gvec.c
M tcg/tcg.c
Log Message:
-----------
Merge tag 'pull-tcg-20230502' of https://gitlab.com/rth7680/qemu into staging
Misc tcg-related patch queue.
# -----BEGIN PGP SIGNATURE-----
#
# iQFRBAABCgA7FiEEekgeeIaLTbaoWgXAZN846K9+IV8FAmRQ8YwdHHJpY2hhcmQu
# aGVuZGVyc29uQGxpbmFyby5vcmcACgkQZN846K9+IV+9rAf/RetCt2y/7VSlWBnP
# o/A5y8p6jQI+LjY0BIlG8V5DC1H/bLhCLD60/DyUwzWP6Zb9wYRQ5+WpsgBmUcql
# SkRA+mZLIGZWDSi6wIDN6IHixVkd/yVjn+05LQS8/GU7y/AEbjqsUevI5OX7aOkv
# 2LkDrzbZrBWcE/C1coZKUNDHac1+Wh4UBUqfxVWvBIQW+qXMXuwSraoOBHA9BvcH
# wGJjJ4eoLKoKBbu49rx+b2wvXiTRtIq2jfKAOEVoZy5uWrcXQTqZHJXejhB1JOFY
# 5i2qqGA9vX6HycDmq2xM3qwO2RtlyS2tGgXL0QX2D/4z1ysEzQUv7bPL9euGk13K
# neCv5w==
# =G9sH
# -----END PGP SIGNATURE-----
# gpg: Signature made Tue 02 May 2023 12:18:36 PM BST
# gpg: using RSA key 7A481E78868B4DB6A85A05C064DF38E8AF7E215F
# gpg: issuer "[email protected]"
# gpg: Good signature from "Richard Henderson <[email protected]>"
[ultimate]
* tag 'pull-tcg-20230502' of https://gitlab.com/rth7680/qemu:
tcg: Introduce tcg_out_movext2
tcg/mips: Conditionalize tcg_out_exts_i32_i64
tcg/loongarch64: Conditionalize tcg_out_exts_i32_i64
accel/tcg: Add cpu_ld*_code_mmu
migration/xbzrle: Use __attribute__((target)) for avx512
qemu/int128: Re-shuffle Int128Alias members
tcg: Add tcg_gen_gvec_rotrs
tcg: Add tcg_gen_gvec_andcs
qemu/host-utils.h: Add clz and ctz functions for lower-bit integers
qemu/bitops.h: Limit rotate amounts
accel/tcg: Uncache the host address for instruction fetch when tlb size < 1
softmmu: Tidy dirtylimit_dirty_ring_full_time
Signed-off-by: Richard Henderson <[email protected]>
Compare: https://github.com/qemu/qemu/compare/7c18f2d66352...1b0e90a87b46