Branch: refs/heads/staging
  Home:   https://github.com/qemu/qemu
  Commit: d39a84b7348faa5cd6b09921b57969482ca4c543
      
https://github.com/qemu/qemu/commit/d39a84b7348faa5cd6b09921b57969482ca4c543
  Author: Richard Henderson <[email protected]>
  Date:   2023-06-30 (Fri, 30 Jun 2023)

  Changed paths:
    M ui/dbus-listener.c

  Log Message:
  -----------
  ui/dbus: fix build errors in dbus_update_gl_cb and dbus_call_update_gl

Add some ifdefs to avoid an unused function and unused variable.

Fixes: de1f8ce0abb8 ("ui/dbus: use shared D3D11 Texture2D when possible")
Co-developed-by: BALATON Zoltan <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>


  Commit: a95a464777f74fc28665fae6bb8412d831264111
      
https://github.com/qemu/qemu/commit/a95a464777f74fc28665fae6bb8412d831264111
  Author: Marc-André Lureau <[email protected]>
  Date:   2023-07-01 (Sat, 01 Jul 2023)

  Changed paths:
    M audio/meson.build

  Log Message:
  -----------
  audio: dbus requires pixman

Commit commit 6cc5a615 ("ui/dbus: win32 support") has broken audio/dbus
compilation when pixman is not included.

Fixes: https://gitlab.com/qemu-project/qemu/-/issues/1739

Signed-off-by: Marc-André Lureau <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>


  Commit: 3307e08c6f142bb3d2406cfbc0ee19359748b51a
      
https://github.com/qemu/qemu/commit/3307e08c6f142bb3d2406cfbc0ee19359748b51a
  Author: Mark Cave-Ayland <[email protected]>
  Date:   2023-07-01 (Sat, 01 Jul 2023)

  Changed paths:
    M accel/tcg/tb-maint.c

  Log Message:
  -----------
  accel/tcg: Fix start page passed to tb_invalidate_phys_page_range__locked

Due to a copy-paste error in tb_invalidate_phys_range, the wrong
start address was passed to tb_invalidate_phys_page_range__locked.
Correct is to use the start of each page in turn.

Signed-off-by: Mark Cave-Ayland <[email protected]>
Fixes: e506ad6a05 ("accel/tcg: Pass last not end to tb_invalidate_phys_range")
Message-Id: <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>


  Commit: e665cf72fe6357945fdbecf747dac58c0c7c7c66
      
https://github.com/qemu/qemu/commit/e665cf72fe6357945fdbecf747dac58c0c7c7c66
  Author: Mark Cave-Ayland <[email protected]>
  Date:   2023-07-01 (Sat, 01 Jul 2023)

  Changed paths:
    M accel/tcg/tb-maint.c

  Log Message:
  -----------
  accel/tcg: Assert one page in tb_invalidate_phys_page_range__locked

Ensure that that both the start and last addresses are within
the same guest page.

Signed-off-by: Mark Cave-Ayland <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Message-Id: <[email protected]>
[rth: Use tcg_debug_assert, simplify the expression]
Signed-off-by: Richard Henderson <[email protected]>


  Commit: e2041f4d5de01cb03b52908d36e9602b8c4a2479
      
https://github.com/qemu/qemu/commit/e2041f4d5de01cb03b52908d36e9602b8c4a2479
  Author: Richard Henderson <[email protected]>
  Date:   2023-07-01 (Sat, 01 Jul 2023)

  Changed paths:
    M fpu/softfloat-parts.c.inc
    M fpu/softfloat.c
    M include/fpu/softfloat.h

  Log Message:
  -----------
  fpu: Add float64_to_int{32,64}_modulo

Add versions of float64_to_int* which do not saturate the result.

Reviewed-by: Christoph Muellner <[email protected]>
Tested-by: Christoph Muellner <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>
Reviewed-by: Alex Bennée <[email protected]>
Message-Id: <[email protected]>


  Commit: 7012b691848d36c7ddaf487f31a01d2f10890e35
      
https://github.com/qemu/qemu/commit/7012b691848d36c7ddaf487f31a01d2f10890e35
  Author: Richard Henderson <[email protected]>
  Date:   2023-07-01 (Sat, 01 Jul 2023)

  Changed paths:
    M tests/tcg/alpha/Makefile.target
    A tests/tcg/alpha/test-cvttq.c

  Log Message:
  -----------
  tests/tcg/alpha: Add test for cvttq

Test for invalid, integer overflow, and inexact.
Test for proper result, modulo 2**64.

Signed-off-by: Richard Henderson <[email protected]>
Acked-by: Alex Bennée <[email protected]>
Message-Id: <[email protected]>


  Commit: aa3bad5b59e773dd107d4c84309be638d17fb867
      
https://github.com/qemu/qemu/commit/aa3bad5b59e773dd107d4c84309be638d17fb867
  Author: Richard Henderson <[email protected]>
  Date:   2023-07-01 (Sat, 01 Jul 2023)

  Changed paths:
    M target/alpha/fpu_helper.c

  Log Message:
  -----------
  target/alpha: Use float64_to_int64_modulo for CVTTQ

For the most part we can use the new generic routine,
though exceptions need some post-processing to sort
invalid from integer overflow.

Signed-off-by: Richard Henderson <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Message-Id: <[email protected]>


  Commit: 34d03ad9630e377c5d6fffbc74367a55f04c044c
      
https://github.com/qemu/qemu/commit/34d03ad9630e377c5d6fffbc74367a55f04c044c
  Author: Richard Henderson <[email protected]>
  Date:   2023-07-01 (Sat, 01 Jul 2023)

  Changed paths:
    M target/arm/vfp_helper.c

  Log Message:
  -----------
  target/arm: Use float64_to_int32_modulo for FJCVTZS

The standard floating point results are provided by the generic routine.
We only need handle the extra Z flag result afterward.

Signed-off-by: Richard Henderson <[email protected]>
Reviewed-by: Alex Bennée <[email protected]>
Message-Id: <[email protected]>


  Commit: ec2297bda2640ce2222a232abf6d0f92b8639b57
      
https://github.com/qemu/qemu/commit/ec2297bda2640ce2222a232abf6d0f92b8639b57
  Author: Philippe Mathieu-Daudé <[email protected]>
  Date:   2023-07-01 (Sat, 01 Jul 2023)

  Changed paths:
    M include/tcg/tcg.h
    M tcg/tcg-op-vec.c

  Log Message:
  -----------
  tcg: Reduce tcg_assert_listed_vecop() scope

tcg_assert_listed_vecop() is only used in tcg-op-vec.c.

Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Message-Id: <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>


  Commit: 6ab1790226bcf55e6b3cdff1d0253c90d63de69f
      
https://github.com/qemu/qemu/commit/6ab1790226bcf55e6b3cdff1d0253c90d63de69f
  Author: Peter Maydell <[email protected]>
  Date:   2023-07-01 (Sat, 01 Jul 2023)

  Changed paths:
    M target/nios2/translate.c

  Log Message:
  -----------
  target/nios2 : Explicitly ask for target-endian loads and stores

When we generate code for guest loads and stores, at the moment they
end up being requests for a host-endian access. So for target-system-nios2
(little endian) a load like
   ldw        r3,0(r4)
results on an x86 host in the TCG IR
   qemu_ld_a32_i32 r3,loc2,al+leul,0
but on s390 it is
   qemu_ld_a32_i32 r3,loc2,al+beul,0

The result is that guests don't work on big-endian hosts.

Use the MO_TE* memops rather than the plain ones.

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1693
Signed-off-by: Peter Maydell <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>


  Commit: 605a8b5491a119a2a6efbf61e5a38f9374645990
      
https://github.com/qemu/qemu/commit/605a8b5491a119a2a6efbf61e5a38f9374645990
  Author: Richard Henderson <[email protected]>
  Date:   2023-07-01 (Sat, 01 Jul 2023)

  Changed paths:
    M linux-user/mmap.c

  Log Message:
  -----------
  linux-user: Avoid mmap of the last byte of the reserved_va

There is an overflow problem in mmap_find_vma_reserved:
when reserved_va == UINT32_MAX, end may overflow to 0.
Rather than a larger rewrite at this time, simply avoid
the final byte of the VA, which avoids searching the
final page, which avoids the overflow.

Cc: [email protected]
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1741
Fixes: 95059f9c ("include/exec: Change reserved_va semantics to last byte")
Signed-off-by: Richard Henderson <[email protected]>
Tested-by: Michael Tokarev <[email protected]>
Reviewed-by: Michael Tokarev <[email protected]>
Message-Id: <[email protected]>


  Commit: d145c0da22cde391d8c6672d33146ce306e8bf75
      
https://github.com/qemu/qemu/commit/d145c0da22cde391d8c6672d33146ce306e8bf75
  Author: Richard Henderson <[email protected]>
  Date:   2023-07-01 (Sat, 01 Jul 2023)

  Changed paths:
    M accel/tcg/tb-maint.c
    M audio/meson.build
    M fpu/softfloat-parts.c.inc
    M fpu/softfloat.c
    M include/fpu/softfloat.h
    M include/tcg/tcg.h
    M linux-user/mmap.c
    M target/alpha/fpu_helper.c
    M target/arm/vfp_helper.c
    M target/nios2/translate.c
    M tcg/tcg-op-vec.c
    M tests/tcg/alpha/Makefile.target
    A tests/tcg/alpha/test-cvttq.c
    M ui/dbus-listener.c

  Log Message:
  -----------
  Merge tag 'pull-tcg-20230701' of https://gitlab.com/rth7680/qemu into staging

dbus: Two hot fixes, per request of Marc-André Lureau
accel/tcg: Fix tb_invalidate_phys_range iteration
fpu: Add float64_to_int{32,64}_modulo
tcg: Reduce scope of tcg_assert_listed_vecop
target/nios2: Explicitly ask for target-endian loads
linux-user: Avoid mmap of the last byte of the reserved_va

# -----BEGIN PGP SIGNATURE-----
#
# iQFRBAABCgA7FiEEekgeeIaLTbaoWgXAZN846K9+IV8FAmSfzXwdHHJpY2hhcmQu
# aGVuZGVyc29uQGxpbmFyby5vcmcACgkQZN846K9+IV+GMAgAicMA7dZEUNiKT1co
# pwQNF/aQehs3a+UYcHFZRQWjwNsXzDrPRTAyBkDFrzR2ILxKlpPw2JBRiqrr9pqj
# YWit0pHVv/OAYfSEzcqUaIeWyAh2xlAT4IbSz+sLcPBdPgUwm3z0Y7mTz3kUAkB2
# gXO/iuoD8ORwgSnFvH+FSws16kr1x/8cAaObY7BupUhS7hK8M9zsCehhk6ssxv7+
# EpR0kDIeoC2kjJLvQAoGW4DPzfmAvVmI/OiJKpqrAlTJIeAkngalSuaxj/t9Dte6
# zy4h8JW5VbHw3qLxTvg42/Pk4AiweBh38hpUfLQ2cprO7dy+T9qS2v8CGnMzrmeB
# kzlIMg==
# =a7vA
# -----END PGP SIGNATURE-----
# gpg: Signature made Sat 01 Jul 2023 08:53:48 AM CEST
# gpg:                using RSA key 7A481E78868B4DB6A85A05C064DF38E8AF7E215F
# gpg:                issuer "[email protected]"
# gpg: Good signature from "Richard Henderson <[email protected]>" 
[ultimate]

* tag 'pull-tcg-20230701' of https://gitlab.com/rth7680/qemu:
  linux-user: Avoid mmap of the last byte of the reserved_va
  target/nios2 : Explicitly ask for target-endian loads and stores
  tcg: Reduce tcg_assert_listed_vecop() scope
  target/arm: Use float64_to_int32_modulo for FJCVTZS
  target/alpha: Use float64_to_int64_modulo for CVTTQ
  tests/tcg/alpha: Add test for cvttq
  fpu: Add float64_to_int{32,64}_modulo
  accel/tcg: Assert one page in tb_invalidate_phys_page_range__locked
  accel/tcg: Fix start page passed to tb_invalidate_phys_page_range__locked
  audio: dbus requires pixman
  ui/dbus: fix build errors in dbus_update_gl_cb and dbus_call_update_gl

Signed-off-by: Richard Henderson <[email protected]>


Compare: https://github.com/qemu/qemu/compare/408015a97dbe...d145c0da22cd

Reply via email to