qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] 9d50f3: tcg: Remove unreachable code


From: Peter Maydell
Subject: [Qemu-commits] [qemu/qemu] 9d50f3: tcg: Remove unreachable code
Date: Mon, 22 Jan 2024 00:54:52 -0800

  Branch: refs/heads/staging
  Home:   https://github.com/qemu/qemu
  Commit: 9d50f3bd5ea7003fa533f89242a0879ab36bc11b
      
https://github.com/qemu/qemu/commit/9d50f3bd5ea7003fa533f89242a0879ab36bc11b
  Author: Samuel Tardieu <sam@rfc1149.net>
  Date:   2024-01-21 (Sun, 21 Jan 2024)

  Changed paths:
    M tcg/region.c

  Log Message:
  -----------
  tcg: Remove unreachable code

The `fail_rx`/`fail` block is only entered while `buf_rx` is equal to
its initial value `MAP_FAILED`. The `munmap(buf_rx, size);` was never
executed.

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2030
Signed-off-by: Samuel Tardieu <sam@rfc1149.net>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-Id: <20231219182212.455952-2-sam@rfc1149.net>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: dd2f88b202590587fac3ea9740c9b01fbf42853c
      
https://github.com/qemu/qemu/commit/dd2f88b202590587fac3ea9740c9b01fbf42853c
  Author: Samuel Tardieu <sam@rfc1149.net>
  Date:   2024-01-21 (Sun, 21 Jan 2024)

  Changed paths:
    M tcg/region.c

  Log Message:
  -----------
  tcg: Make the cleanup-on-error path unique

By calling `error_setg_errno()` before jumping to the cleanup-on-error
path at the `fail` label, the cleanup path is clearer.

Signed-off-by: Samuel Tardieu <sam@rfc1149.net>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-Id: <20231219182212.455952-3-sam@rfc1149.net>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 4c225214a64e42cdf7f17d5e99c906b05948cf2a
      
https://github.com/qemu/qemu/commit/4c225214a64e42cdf7f17d5e99c906b05948cf2a
  Author: Robbin Ehn <rehn@rivosinc.com>
  Date:   2024-01-21 (Sun, 21 Jan 2024)

  Changed paths:
    M linux-user/signal.c

  Log Message:
  -----------
  linux-user: Fixed cpu restore with pc 0 on SIGBUS

Commit f4e1168198 (linux-user: Split out host_sig{segv,bus}_handler)
introduced a bug, when returning from host_sigbus_handler the PC is
never set. Thus cpu_loop_exit_restore is called with a zero PC and
we immediate get a SIGSEGV.

Signed-off-by: Robbin Ehn <rehn@rivosinc.com>
Fixes: f4e1168198 ("linux-user: Split out host_sig{segv,bus}_handler")
Reviewed-by: Palmer Dabbelt <palmer@rivosinc.com>
Message-Id: <33f27425878fb529b9e39ef22c303f6e0d90525f.camel@rivosinc.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 0aff1852211b4d2279adf31f0d5f3a3ae1c261e1
      
https://github.com/qemu/qemu/commit/0aff1852211b4d2279adf31f0d5f3a3ae1c261e1
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2024-01-21 (Sun, 21 Jan 2024)

  Changed paths:
    M tcg/s390x/tcg-target.c.inc

  Log Message:
  -----------
  tcg/s390x: Fix encoding of VRIc, VRSa, VRSc insns

While the format names the second vector register 'v3',
it is still in the second position (bits 12-15) and
the argument to RXB must match.

Example error:
 -   e7 00 00 10 2a 33       verllf  %v16,%v0,16
 +   e7 00 00 10 2c 33       verllf  %v16,%v16,16

Cc: qemu-stable@nongnu.org
Reported-by: Michael Tokarev <mjt@tls.msk.ru>
Fixes: 22cb37b4172 ("tcg/s390x: Implement vector shift operations")
Fixes: 79cada8693d ("tcg/s390x: Implement tcg_out_dup*_vec")
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2054
Reviewed-by: Thomas Huth <thuth@redhat.com>
Tested-by: Michael Tokarev <mjt@tls.msk.ru>
Message-Id: <20240117213646.159697-2-richard.henderson@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 6b57e7965eb166c6490a4f8f7c85172baf1973cd
      
https://github.com/qemu/qemu/commit/6b57e7965eb166c6490a4f8f7c85172baf1973cd
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2024-01-21 (Sun, 21 Jan 2024)

  Changed paths:
    M tests/tcg/s390x/Makefile.target
    A tests/tcg/s390x/chacha-vx.S
    A tests/tcg/s390x/chacha.c

  Log Message:
  -----------
  tests/tcg/s390x: Import linux tools/testing/crypto/chacha20-s390

Modify and simplify the driver, as we're really only interested
in correctness of translation of chacha-vx.S.

Tested-by: Michael Tokarev <mjt@tls.msk.ru>
Tested-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20240117213646.159697-3-richard.henderson@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 3889d306dcd4d7ed12ef08d4fdb24369b34816ec
      
https://github.com/qemu/qemu/commit/3889d306dcd4d7ed12ef08d4fdb24369b34816ec
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2024-01-21 (Sun, 21 Jan 2024)

  Changed paths:
    M linux-user/riscv/vdso-32.so
    M linux-user/riscv/vdso-64.so
    M linux-user/riscv/vdso.S

  Log Message:
  -----------
  linux-user/riscv: Adjust vdso signal frame cfa offsets

A typo in sizeof_reg put the registers at the wrong offset.

Simplify the expressions to use positive addresses from the
start of uc_mcontext instead of negative addresses from the
end of uc_mcontext.

Reported-by: Vineet Gupta <vineetg@rivosinc.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 81e76fdc24ea3e6c98d84046715d97246da937f5
      
https://github.com/qemu/qemu/commit/81e76fdc24ea3e6c98d84046715d97246da937f5
  Author: Thomas Weißschuh <thomas@t-8ch.de>
  Date:   2024-01-21 (Sun, 21 Jan 2024)

  Changed paths:
    M linux-user/elfload.c

  Log Message:
  -----------
  linux-user/elfload: test return value of getrlimit

Should getrlimit() fail the value of dumpsize.rlimit_cur may not be
initialized. Avoid reading garbage data by checking the return value of
getrlimit.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
Message-Id: <20240120-qemu-user-dumpable-v3-1-6aa410c933f1@t-8ch.de>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 1d5e32e3198d2d8fd2342c8f7f8e0875aeff49c5
      
https://github.com/qemu/qemu/commit/1d5e32e3198d2d8fd2342c8f7f8e0875aeff49c5
  Author: Thomas Weißschuh <thomas@t-8ch.de>
  Date:   2024-01-21 (Sun, 21 Jan 2024)

  Changed paths:
    M linux-user/elfload.c

  Log Message:
  -----------
  linux-user/elfload: check PR_GET_DUMPABLE before creating coredump

A process can opt-out of coredump creation by calling
prctl(PR_SET_DUMPABLE, 0).
linux-user passes this call from the guest through to the
operating system.
>From there it can be read back again to avoid creating coredumps from
qemu-user itself if the guest chose so.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
Message-Id: <20240120-qemu-user-dumpable-v3-2-6aa410c933f1@t-8ch.de>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 17ed7cec55c3f1baed7d4f62c3ef71b26e1b82c1
      
https://github.com/qemu/qemu/commit/17ed7cec55c3f1baed7d4f62c3ef71b26e1b82c1
  Author: Brian Cain <bcain@quicinc.com>
  Date:   2024-01-21 (Sun, 21 Jan 2024)

  Changed paths:
    M tests/docker/dockerfiles/debian-hexagon-cross.docker

  Log Message:
  -----------
  tests/docker: Hexagon toolchain update

This update includes support for privileged instructions.

Signed-off-by: Brian Cain <bcain@quicinc.com>
Reviewed-by: Matheus Tavares Bernardino <quic_mathbern@quicinc.com>
Tested-by: Matheus Tavares Bernardino <quic_mathbern@quicinc.com>
Message-Id: <20240114232354.4109231-1-bcain@quicinc.com>


  Commit: ccdae09a8054731fbf49d5f223ff1903408a5ac3
      
https://github.com/qemu/qemu/commit/ccdae09a8054731fbf49d5f223ff1903408a5ac3
  Author: Taylor Simpson <ltaylorsimpson@gmail.com>
  Date:   2024-01-21 (Sun, 21 Jan 2024)

  Changed paths:
    M target/hexagon/macros.h

  Log Message:
  -----------
  Hexagon (target/hexagon) Fix shadow variable when idef-parser is off

Adding -Werror=shadow=compatible-local causes Hexagon not to build
when idef-parser is off.  The "label" variable in CHECK_NOSHUF_PRED
shadows a variable in the surrounding code.

Signed-off-by: Taylor Simpson <ltaylorsimpson@gmail.com>
Reviewed-by: Brian Cain <bcain@quicinc.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20231130183955.54314-1-ltaylorsimpson@gmail.com>
Signed-off-by: Brian Cain <bcain@quicinc.com>


  Commit: 421b53d589e2a714b3f3175dddedda9755e83387
      
https://github.com/qemu/qemu/commit/421b53d589e2a714b3f3175dddedda9755e83387
  Author: Taylor Simpson <ltaylorsimpson@gmail.com>
  Date:   2024-01-21 (Sun, 21 Jan 2024)

  Changed paths:
    M target/hexagon/gen_tcg.h
    M target/hexagon/gen_tcg_funcs.py
    M target/hexagon/idef-parser/parser-helpers.c
    M target/hexagon/macros.h

  Log Message:
  -----------
  Hexagon (target/hexagon) Clean up handling of modifier registers

Currently, the register number (MuN) for modifier registers is the
modifier register number rather than the index into hex_gpr.  This
patch changes MuN to the hex_gpr index, which is consistent with
the handling of control registers.

Note that HELPER(fcircadd) needs the CS register corresponding to the
modifier register specified in the instruction.  We create a TCGv
variable "CS" to hold the value to pass to the helper.

Reviewed-by: Brian Cain <bcain@quicinc.com>
Signed-off-by: Taylor Simpson <ltaylorsimpson@gmail.com>
Message-Id: <20231210220712.491494-2-ltaylorsimpson@gmail.com>
Signed-off-by: Brian Cain <bcain@quicinc.com>


  Commit: b44780740d4a1b70ff45a6e4d923e29880ce3c0e
      
https://github.com/qemu/qemu/commit/b44780740d4a1b70ff45a6e4d923e29880ce3c0e
  Author: Taylor Simpson <ltaylorsimpson@gmail.com>
  Date:   2024-01-21 (Sun, 21 Jan 2024)

  Changed paths:
    M target/hexagon/gen_tcg_funcs.py
    M target/hexagon/hex_common.py

  Log Message:
  -----------
  Hexagon (target/hexagon) Make generators object oriented - gen_tcg_funcs

The generators are generally a bunch of Python if-then-else
statements based on the regtype and regid.  Encapsulate regtype/regid
into a class hierarchy.  Clients lookup the register and invoke
methods.

This has several advantages for making the code easier to read,
understand, and maintain
- The class name makes it more clear what the operand does
- All the methods for a given type of operand are together
- Don't need hex_common.bad_register
  If a regtype/regid is missing, the lookup in hex_common.get_register
  will fail
- We can remove the functions in hex_common that use regtype/regid
  (e.g., is_read)

This patch creates the class hierarchy in hex_common and converts
gen_tcg_funcs.py.  The other scripts will be converted in subsequent
patches in this series.

Signed-off-by: Taylor Simpson <ltaylorsimpson@gmail.com>
Reviewed-by: Brian Cain <bcain@quicinc.com>
Message-Id: <20231210220712.491494-3-ltaylorsimpson@gmail.com>
Signed-off-by: Brian Cain <bcain@quicinc.com>


  Commit: c568919f98d87de203ef6c234f3baedcccbc380d
      
https://github.com/qemu/qemu/commit/c568919f98d87de203ef6c234f3baedcccbc380d
  Author: Taylor Simpson <ltaylorsimpson@gmail.com>
  Date:   2024-01-21 (Sun, 21 Jan 2024)

  Changed paths:
    M target/hexagon/gen_helper_protos.py
    M target/hexagon/hex_common.py

  Log Message:
  -----------
  Hexagon (target/hexagon) Make generators object oriented - gen_helper_protos

Signed-off-by: Taylor Simpson <ltaylorsimpson@gmail.com>
Reviewed-by: Brian Cain <bcain@quicinc.com>
Message-Id: <20231210220712.491494-4-ltaylorsimpson@gmail.com>
Signed-off-by: Brian Cain <bcain@quicinc.com>


  Commit: a3295f5436b8f4078a9c3e0cf61d82a8ed24d847
      
https://github.com/qemu/qemu/commit/a3295f5436b8f4078a9c3e0cf61d82a8ed24d847
  Author: Taylor Simpson <ltaylorsimpson@gmail.com>
  Date:   2024-01-21 (Sun, 21 Jan 2024)

  Changed paths:
    M target/hexagon/gen_helper_funcs.py
    M target/hexagon/hex_common.py

  Log Message:
  -----------
  Hexagon (target/hexagon) Make generators object oriented - gen_helper_funcs

Signed-off-by: Taylor Simpson <ltaylorsimpson@gmail.com>
Reviewed-by: Brian Cain <bcain@quicinc.com>
Message-Id: <20231210220712.491494-5-ltaylorsimpson@gmail.com>
Signed-off-by: Brian Cain <bcain@quicinc.com>


  Commit: 1f03e9a94ee453c11e5c9d755e35cba21dc6c740
      
https://github.com/qemu/qemu/commit/1f03e9a94ee453c11e5c9d755e35cba21dc6c740
  Author: Taylor Simpson <ltaylorsimpson@gmail.com>
  Date:   2024-01-21 (Sun, 21 Jan 2024)

  Changed paths:
    M target/hexagon/gen_idef_parser_funcs.py

  Log Message:
  -----------
  Hexagon (target/hexagon) Make generators object oriented - 
gen_idef_parser_funcs

Signed-off-by: Taylor Simpson <ltaylorsimpson@gmail.com>
Reviewed-by: Brian Cain <bcain@quicinc.com>
Message-Id: <20231210220712.491494-6-ltaylorsimpson@gmail.com>
Signed-off-by: Brian Cain <bcain@quicinc.com>


  Commit: c90e3103a392427f8fc7d4177c793d556ee8ed87
      
https://github.com/qemu/qemu/commit/c90e3103a392427f8fc7d4177c793d556ee8ed87
  Author: Taylor Simpson <ltaylorsimpson@gmail.com>
  Date:   2024-01-21 (Sun, 21 Jan 2024)

  Changed paths:
    M target/hexagon/gen_op_regs.py

  Log Message:
  -----------
  Hexagon (target/hexagon) Make generators object oriented - gen_op_regs

Reviewed-by: Brian Cain <bcain@quicinc.com>
Signed-off-by: Taylor Simpson <ltaylorsimpson@gmail.com>
Message-Id: <20231210220712.491494-7-ltaylorsimpson@gmail.com>
Signed-off-by: Brian Cain <bcain@quicinc.com>


  Commit: 66fab981c0407aa0374684e196cf4ac17b976721
      
https://github.com/qemu/qemu/commit/66fab981c0407aa0374684e196cf4ac17b976721
  Author: Taylor Simpson <ltaylorsimpson@gmail.com>
  Date:   2024-01-21 (Sun, 21 Jan 2024)

  Changed paths:
    M target/hexagon/gen_analyze_funcs.py
    M target/hexagon/hex_common.py

  Log Message:
  -----------
  Hexagon (target/hexagon) Make generators object oriented - gen_analyze_funcs

This patch conflicts with
https://lists.gnu.org/archive/html/qemu-devel/2023-11/msg00729.html
If that series goes in first, we'll rework this patch and vice versa.

Signed-off-by: Taylor Simpson <ltaylorsimpson@gmail.com>
Reviewed-by: Brian Cain <bcain@quicinc.com>
Message-Id: <20231210220712.491494-8-ltaylorsimpson@gmail.com>
Signed-off-by: Brian Cain <bcain@quicinc.com>


  Commit: 800abf87b0b7f34b610aae9d64481c302eb83159
      
https://github.com/qemu/qemu/commit/800abf87b0b7f34b610aae9d64481c302eb83159
  Author: Taylor Simpson <ltaylorsimpson@gmail.com>
  Date:   2024-01-21 (Sun, 21 Jan 2024)

  Changed paths:
    M target/hexagon/attribs_def.h.inc
    M target/hexagon/hex_common.py

  Log Message:
  -----------
  Hexagon (target/hexagon) Remove unused WRITES_PRED_REG attribute

This is the only remaining use of the is_written function.  We will
remove it in the subsequent commit.

Signed-off-by: Taylor Simpson <ltaylorsimpson@gmail.com>
Reviewed-by: Brian Cain <bcain@quicinc.com>
Message-Id: <20231210220712.491494-9-ltaylorsimpson@gmail.com>
Signed-off-by: Brian Cain <bcain@quicinc.com>


  Commit: 7ee328804c66d93f8ab0fde35384c4f01eb7844a
      
https://github.com/qemu/qemu/commit/7ee328804c66d93f8ab0fde35384c4f01eb7844a
  Author: Taylor Simpson <ltaylorsimpson@gmail.com>
  Date:   2024-01-21 (Sun, 21 Jan 2024)

  Changed paths:
    M target/hexagon/hex_common.py

  Log Message:
  -----------
  Hexagon (target/hexagon) Remove dead functions from hex_common.py

These functions are no longer used after making the generators
object oriented.

Signed-off-by: Taylor Simpson <ltaylorsimpson@gmail.com>
Reviewed-by: Brian Cain <bcain@quicinc.com>
Message-Id: <20231210220712.491494-10-ltaylorsimpson@gmail.com>
Signed-off-by: Brian Cain <bcain@quicinc.com>


  Commit: 1547a2d3394d7ec87350ab8ca4022d5e0f20db01
      
https://github.com/qemu/qemu/commit/1547a2d3394d7ec87350ab8ca4022d5e0f20db01
  Author: Taylor Simpson <ltaylorsimpson@gmail.com>
  Date:   2024-01-21 (Sun, 21 Jan 2024)

  Changed paths:
    M target/hexagon/README
    M target/hexagon/decode.c
    M target/hexagon/decode.h
    A target/hexagon/gen_decodetree.py
    A target/hexagon/gen_trans_funcs.py
    M target/hexagon/meson.build
    M target/hexagon/translate.c

  Log Message:
  -----------
  Hexagon (target/hexagon) Use QEMU decodetree (32-bit instructions)

The Decodetree Specification can be found here
https://www.qemu.org/docs/master/devel/decodetree.html

Covers all 32-bit instructions, including HVX

We generate separate decoders for each instruction class.  The reason
will be more apparent in the next patch in this series.

We add 2 new scripts
    gen_decodetree.py        Generate the input to decodetree.py
    gen_trans_funcs.py       Generate the trans_* functions used by the
                             output of decodetree.py

Since the functions generated by decodetree.py take DisasContext * as an
argument, we add the argument to a couple of functions that didn't need
it previously.  We also set the insn field in DisasContext during decode
because it is used by the trans_* functions.

There is a g_assert_not_reached() in decode_insns() in decode.c to
verify we never try to use the old decoder on 32-bit instructions

Signed-off-by: Taylor Simpson <ltaylorsimpson@gmail.com>
Reviewed-by: Brian Cain <bcain@quicinc.com>
Message-Id: <20240115221443.365287-2-ltaylorsimpson@gmail.com>
Signed-off-by: Brian Cain <bcain@quicinc.com>


  Commit: f6c01009b5846b1e7c56b4be3413924d87a7bbea
      
https://github.com/qemu/qemu/commit/f6c01009b5846b1e7c56b4be3413924d87a7bbea
  Author: Taylor Simpson <ltaylorsimpson@gmail.com>
  Date:   2024-01-21 (Sun, 21 Jan 2024)

  Changed paths:
    M target/hexagon/README
    M target/hexagon/decode.c
    M target/hexagon/gen_decodetree.py
    M target/hexagon/gen_trans_funcs.py
    M target/hexagon/meson.build

  Log Message:
  -----------
  Hexagon (target/hexagon) Use QEMU decodetree (16-bit instructions)

Section 10.3 of the Hexagon V73 Programmer's Reference Manual

A duplex is encoded as a 32-bit instruction with bits [15:14] set to 00.
The sub-instructions that comprise a duplex are encoded as 13-bit fields
in the duplex.

Create a decoder for each subinstruction class (a, l1, l2, s1, s2).

Extend gen_trans_funcs.py to handle all instructions rather than
filter by instruction class.

There is a g_assert_not_reached() in decode_insns() in decode.c to
verify we never try to use the old decoder on 16-bit instructions.

Signed-off-by: Taylor Simpson <ltaylorsimpson@gmail.com>
Reviewed-by: Brian Cain <bcain@quicinc.com>
Message-Id: <20240115221443.365287-3-ltaylorsimpson@gmail.com>
Signed-off-by: Brian Cain <bcain@quicinc.com>


  Commit: cbb9d7157d3e1886bdc7da757ea7ab02a9e0e1e5
      
https://github.com/qemu/qemu/commit/cbb9d7157d3e1886bdc7da757ea7ab02a9e0e1e5
  Author: Taylor Simpson <ltaylorsimpson@gmail.com>
  Date:   2024-01-21 (Sun, 21 Jan 2024)

  Changed paths:
    M target/hexagon/decode.c
    R target/hexagon/dectree.py
    M target/hexagon/gen_dectree_import.c
    M target/hexagon/meson.build
    M target/hexagon/opcodes.c
    M target/hexagon/opcodes.h

  Log Message:
  -----------
  Hexagon (target/hexagon) Remove old dectree.py

Now that we are using QEMU decodetree.py, remove the old decoder

Signed-off-by: Taylor Simpson <ltaylorsimpson@gmail.com>
Reviewed-by: Brian Cain <bcain@quicinc.com>
Message-Id: <20240115221443.365287-4-ltaylorsimpson@gmail.com>
Signed-off-by: Brian Cain <bcain@quicinc.com>


  Commit: bbe4209c8b4300d722f47791f9151e1a69cb0135
      
https://github.com/qemu/qemu/commit/bbe4209c8b4300d722f47791f9151e1a69cb0135
  Author: Brian Cain <bcain@quicinc.com>
  Date:   2024-01-21 (Sun, 21 Jan 2024)

  Changed paths:
    M target/hexagon/mmvec/decode_ext_mmvec.c

  Log Message:
  -----------
  target/hexagon: reduce scope of def_regnum, remove dead assignment

This is intended to address a coverity finding: CID 1527408.

Signed-off-by: Brian Cain <bcain@quicinc.com>
Reviewed-by: Matheus Tavares Bernardino <quic_mathbern@quicinc.com>
Message-Id: <20240114234453.4114587-1-bcain@quicinc.com>


  Commit: e14e722527ecd6f70285eb4ac9d3d6a0a35bb457
      
https://github.com/qemu/qemu/commit/e14e722527ecd6f70285eb4ac9d3d6a0a35bb457
  Author: Peter Maydell <peter.maydell@linaro.org>
  Date:   2024-01-22 (Mon, 22 Jan 2024)

  Changed paths:
    M linux-user/elfload.c
    M linux-user/riscv/vdso-32.so
    M linux-user/riscv/vdso-64.so
    M linux-user/riscv/vdso.S
    M linux-user/signal.c
    M tcg/region.c
    M tcg/s390x/tcg-target.c.inc
    M tests/tcg/s390x/Makefile.target
    A tests/tcg/s390x/chacha-vx.S
    A tests/tcg/s390x/chacha.c

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

tcg/s390x: Fix encoding of VRIc, VRSa, VRSc insns
tcg: Clean up error paths in alloc_code_gen_buffer_splitwx_memfd
linux-user/riscv: Adjust vdso signal frame cfa offsets
linux-user: Fixed cpu restore with pc 0 on SIGBUS

# -----BEGIN PGP SIGNATURE-----
#
# iQFRBAABCgA7FiEEekgeeIaLTbaoWgXAZN846K9+IV8FAmWsYw4dHHJpY2hhcmQu
# aGVuZGVyc29uQGxpbmFyby5vcmcACgkQZN846K9+IV8akQf/bnrxCPkzYW6Qsrqk
# 9MJVMXUFwA03VeWbSLvNlS/YgtJXcWt/5Nk/PYEAPyNE3aA17Pqq8fSlWXFbzd4K
# WulBpc+mIyZNt3teJvGLJHGbOugArz8iWcUenJfcuWZWGTijnBVrR5gXBjGWwGYH
# gZpCoIiZnW+Q+d5WsWY0A5AbnCzWXLJcvDIhUPxtVxo63cjSuUe75pLsuUcmroII
# cXCsKHFLHFzKcmSf4W3wTvDA19a26bJ91AUs5m9yNj+8P9mTZZ5Aaic4NpBpoaEs
# b4NJBxh8sg9BenlQv8oIwYTYwul6Q735JeLaf3cEyQc4sYHHpr5Wn4puO8l8Kjb7
# bFpWOw==
# =Of7e
# -----END PGP SIGNATURE-----
# gpg: Signature made Sun 21 Jan 2024 00:19:26 GMT
# gpg:                using RSA key 7A481E78868B4DB6A85A05C064DF38E8AF7E215F
# gpg:                issuer "richard.henderson@linaro.org"
# gpg: Good signature from "Richard Henderson <richard.henderson@linaro.org>" 
[full]
# Primary key fingerprint: 7A48 1E78 868B 4DB6 A85A  05C0 64DF 38E8 AF7E 215F

* tag 'pull-tcg-20240121' of https://gitlab.com/rth7680/qemu:
  linux-user/elfload: check PR_GET_DUMPABLE before creating coredump
  linux-user/elfload: test return value of getrlimit
  linux-user/riscv: Adjust vdso signal frame cfa offsets
  tests/tcg/s390x: Import linux tools/testing/crypto/chacha20-s390
  tcg/s390x: Fix encoding of VRIc, VRSa, VRSc insns
  linux-user: Fixed cpu restore with pc 0 on SIGBUS
  tcg: Make the cleanup-on-error path unique
  tcg: Remove unreachable code

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>


  Commit: dcca94f3fcddea6070c2057f77c0c67af61051b7
      
https://github.com/qemu/qemu/commit/dcca94f3fcddea6070c2057f77c0c67af61051b7
  Author: Peter Maydell <peter.maydell@linaro.org>
  Date:   2024-01-22 (Mon, 22 Jan 2024)

  Changed paths:
    M target/hexagon/README
    M target/hexagon/attribs_def.h.inc
    M target/hexagon/decode.c
    M target/hexagon/decode.h
    R target/hexagon/dectree.py
    M target/hexagon/gen_analyze_funcs.py
    A target/hexagon/gen_decodetree.py
    M target/hexagon/gen_dectree_import.c
    M target/hexagon/gen_helper_funcs.py
    M target/hexagon/gen_helper_protos.py
    M target/hexagon/gen_idef_parser_funcs.py
    M target/hexagon/gen_op_regs.py
    M target/hexagon/gen_tcg.h
    M target/hexagon/gen_tcg_funcs.py
    A target/hexagon/gen_trans_funcs.py
    M target/hexagon/hex_common.py
    M target/hexagon/idef-parser/parser-helpers.c
    M target/hexagon/macros.h
    M target/hexagon/meson.build
    M target/hexagon/mmvec/decode_ext_mmvec.c
    M target/hexagon/opcodes.c
    M target/hexagon/opcodes.h
    M target/hexagon/translate.c
    M tests/docker/dockerfiles/debian-hexagon-cross.docker

  Log Message:
  -----------
  Merge tag 'pull-hex-20240121' of https://github.com/quic/qemu into staging

Coverity fix, cross toolchain update, switch to decodetree

# -----BEGIN PGP SIGNATURE-----
#
# iQIzBAABCgAdFiEEPWaq5HRZSCTIjOD4GlSvuOVkbDIFAmWuBTwACgkQGlSvuOVk
# bDKP2xAAoRj18rgFPSXu1Dmh34uhZ2uxTAdqyozLqlHJBBiaUxA7EyZJqvOc+8Ti
# owLIF5fYPL1MZ7EfwW8FZjAc29WtGzmRY/ZwEDZVgdVAyLCnZ0fF785caWdxH5L2
# bA2i9hNfCJvd3HqfeJ0JXgWD/rF5OjlSKWwYOGPkfjkDnSwAV9LlxGq+yhxjpYcc
# uSwVUbIipzUQoH5O53xXt2OUSW+WNUYzKpsnLjW/2wTBgXpBXIuxUzao/Iv37hdo
# OMcDiM7mH6ic5JoiNyL9pmquOCpwTGHWyREaiWga1IzJIbRKn/Ypr0N1KsTAc28V
# 10GcbMpwKHG/umzhi9BoiPTfD1jXIzYWasH+RyBMz3bNCCaKuJmGSnohbud8UVDH
# GJHhF72RhBt/bYnwmoYW3OXvk8X+mL7vuq4lKDAB2XNDjAS3+mcGuSu4KJDJeXi9
# l5/Kx0Aef0mmzEbXALErpYP6TTlgj2CCsym3SXi0UuAI94v1sV346jejebMRUndq
# UKKUXb+oC0BUNBUPdnaUIr5GAnQl5Xm2E3pihl28NO+U0xvHQSSxInv84Y3JGDiW
# /ui4ZYux0V+iHok9MO0ugaIF9Z1o16D43TkZdLbulm8ODuCEz8CuQjDVoayWj3CV
# wb290m96zgS03aRAM+yQa+irTrOJ5bh1XOP1dr/FGQHln0mUCCQ=
# =aIh2
# -----END PGP SIGNATURE-----
# gpg: Signature made Mon 22 Jan 2024 06:03:40 GMT
# gpg:                using RSA key 3D66AAE474594824C88CE0F81A54AFB8E5646C32
# gpg: Good signature from "Brian Cain <bcain@kernel.org>" [full]
# gpg:                 aka "Brian Cain (QuIC) <bcain@quicinc.com>" [full]
# gpg:                 aka "Brian Cain (CAF) <bcain@codeaurora.org>" [full]
# gpg:                 aka "bcain" [full]
# Primary key fingerprint: 6350 20F9 67A7 7164 79EF  49E0 175C 464E 541B 6D47
#      Subkey fingerprint: 3D66 AAE4 7459 4824 C88C  E0F8 1A54 AFB8 E564 6C32

* tag 'pull-hex-20240121' of https://github.com/quic/qemu:
  target/hexagon: reduce scope of def_regnum, remove dead assignment
  Hexagon (target/hexagon) Remove old dectree.py
  Hexagon (target/hexagon) Use QEMU decodetree (16-bit instructions)
  Hexagon (target/hexagon) Use QEMU decodetree (32-bit instructions)
  Hexagon (target/hexagon) Remove dead functions from hex_common.py
  Hexagon (target/hexagon) Remove unused WRITES_PRED_REG attribute
  Hexagon (target/hexagon) Make generators object oriented - gen_analyze_funcs
  Hexagon (target/hexagon) Make generators object oriented - gen_op_regs
  Hexagon (target/hexagon) Make generators object oriented - 
gen_idef_parser_funcs
  Hexagon (target/hexagon) Make generators object oriented - gen_helper_funcs
  Hexagon (target/hexagon) Make generators object oriented - gen_helper_protos
  Hexagon (target/hexagon) Make generators object oriented - gen_tcg_funcs
  Hexagon (target/hexagon) Clean up handling of modifier registers
  Hexagon (target/hexagon) Fix shadow variable when idef-parser is off
  tests/docker: Hexagon toolchain update

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>


Compare: https://github.com/qemu/qemu/compare/09be34717190...dcca94f3fcdd



reply via email to

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