qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] d010b8: linux-user/alpha: Set TRAP_UNK for bu


From: Peter Maydell
Subject: [Qemu-commits] [qemu/qemu] d010b8: linux-user/alpha: Set TRAP_UNK for bugchk and unkn...
Date: Wed, 12 Jan 2022 03:57:16 -0800

  Branch: refs/heads/staging
  Home:   https://github.com/qemu/qemu
  Commit: d010b8bd93b833dcbe0addf54cbb7d763068e90d
      
https://github.com/qemu/qemu/commit/d010b8bd93b833dcbe0addf54cbb7d763068e90d
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2022-01-11 (Tue, 11 Jan 2022)

  Changed paths:
    M linux-user/alpha/cpu_loop.c
    M linux-user/syscall_defs.h

  Log Message:
  -----------
  linux-user/alpha: Set TRAP_UNK for bugchk and unknown gentrap

These si_codes were changed in 535906c684fca, for linux 4.17.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220107213243.212806-2-richard.henderson@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: d9c5d7cf4d8e8668e178b1a0dfdb0eaa2d4f0f8f
      
https://github.com/qemu/qemu/commit/d9c5d7cf4d8e8668e178b1a0dfdb0eaa2d4f0f8f
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2022-01-11 (Tue, 11 Jan 2022)

  Changed paths:
    M linux-user/alpha/cpu_loop.c

  Log Message:
  -----------
  linux-user/alpha: Set FPE_FLTUNK for gentrap ROPRAND

This si_code was changed in 4cc13e4f6d441, for linux 4.17.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220107213243.212806-3-richard.henderson@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: 1c165977de21d02f8f1590499dd34fc748fbfffa
      
https://github.com/qemu/qemu/commit/1c165977de21d02f8f1590499dd34fc748fbfffa
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2022-01-11 (Tue, 11 Jan 2022)

  Changed paths:
    M linux-user/alpha/cpu_loop.c

  Log Message:
  -----------
  linux-user/alpha: Use force_sig_fault

Use the new function instead of setting up a target_siginfo_t
and calling queue_signal.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220107213243.212806-4-richard.henderson@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: 32e321861d43d4b7fec813f3884562bc58dce4fe
      
https://github.com/qemu/qemu/commit/32e321861d43d4b7fec813f3884562bc58dce4fe
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2022-01-11 (Tue, 11 Jan 2022)

  Changed paths:
    M linux-user/cris/cpu_loop.c

  Log Message:
  -----------
  linux-user/cris: Use force_sig_fault

Use the new function instead of setting up a target_siginfo_t
and calling queue_signal.  Fill in the missing PC for SIGTRAP.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220107213243.212806-5-richard.henderson@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: f64859684a6fa37bbf6118ca732af7ae70617990
      
https://github.com/qemu/qemu/commit/f64859684a6fa37bbf6118ca732af7ae70617990
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2022-01-11 (Tue, 11 Jan 2022)

  Changed paths:
    M linux-user/hppa/cpu_loop.c

  Log Message:
  -----------
  linux-user/hppa: Use force_sig_fault

Use the new function instead of setting up a target_siginfo_t
and calling queue_signal.  Fill in the missing PC for SIGTRAP
and missing si_code for SIGBUS.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220107213243.212806-6-richard.henderson@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: 7337adeac0900a944ba789ad24b11c6a00099897
      
https://github.com/qemu/qemu/commit/7337adeac0900a944ba789ad24b11c6a00099897
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2022-01-11 (Tue, 11 Jan 2022)

  Changed paths:
    M linux-user/hppa/cpu_loop.c

  Log Message:
  -----------
  linux-user/hppa: Use the proper si_code for PRIV_OPR, PRIV_REG, OVERFLOW

These si_codes have been properly set by the kernel since the beginning.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220107213243.212806-7-richard.henderson@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: 6ac3bf1f55a007b8ee55b3794d542144615c762e
      
https://github.com/qemu/qemu/commit/6ac3bf1f55a007b8ee55b3794d542144615c762e
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2022-01-11 (Tue, 11 Jan 2022)

  Changed paths:
    M linux-user/syscall_defs.h

  Log Message:
  -----------
  linux-user: Remove TARGET_NSIGFPE

This define is unused, and we have no similar define for
the other signal sub-codes.

Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220107213243.212806-8-richard.henderson@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: 0edf34c93ed0cd35be3bb6c67f3044b10dcd29f3
      
https://github.com/qemu/qemu/commit/0edf34c93ed0cd35be3bb6c67f3044b10dcd29f3
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2022-01-11 (Tue, 11 Jan 2022)

  Changed paths:
    M linux-user/hppa/cpu_loop.c
    M linux-user/syscall_defs.h

  Log Message:
  -----------
  linux-user/hppa: Set FPE_CONDTRAP for COND

This si_code was changed in 75abf64287cab, for linux 4.17.

Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220107213243.212806-9-richard.henderson@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: 1ade5b2fed4966a05cfde6261e4a67c27e715fac
      
https://github.com/qemu/qemu/commit/1ade5b2fed4966a05cfde6261e4a67c27e715fac
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2022-01-11 (Tue, 11 Jan 2022)

  Changed paths:
    M linux-user/i386/cpu_loop.c

  Log Message:
  -----------
  linux-user/i386: Split out maybe_handle_vm86_trap

Reduce the number of ifdefs within cpu_loop().

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220107213243.212806-10-richard.henderson@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: d08d6d66f6a999ce84c805ed1fb5380ff157a6e8
      
https://github.com/qemu/qemu/commit/d08d6d66f6a999ce84c805ed1fb5380ff157a6e8
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2022-01-11 (Tue, 11 Jan 2022)

  Changed paths:
    M linux-user/i386/cpu_loop.c

  Log Message:
  -----------
  linux-user/i386: Use force_sig, force_sig_fault

Replace the local gen_signal with the generic functions that match
how the kernel raises signals. Fill in the missing PC for SIGTRAP.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220107213243.212806-11-richard.henderson@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: 71dc6f7488d5dd18b92bbe54cbb165132332a17c
      
https://github.com/qemu/qemu/commit/71dc6f7488d5dd18b92bbe54cbb165132332a17c
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2022-01-11 (Tue, 11 Jan 2022)

  Changed paths:
    M linux-user/m68k/cpu_loop.c

  Log Message:
  -----------
  linux-user/m68k: Use force_sig_fault

Use the new function instead of setting up a target_siginfo_t
and calling queue_signal. Fill in the missing PC for SIGTRAP.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220107213243.212806-12-richard.henderson@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: 23ae825ab7af5e0a30c2d051e388e4e6aa618878
      
https://github.com/qemu/qemu/commit/23ae825ab7af5e0a30c2d051e388e4e6aa618878
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2022-01-11 (Tue, 11 Jan 2022)

  Changed paths:
    M linux-user/microblaze/cpu_loop.c

  Log Message:
  -----------
  linux-user/microblaze: Use force_sig_fault

Use the new function instead of setting up a target_siginfo_t
and calling queue_signal. Fill in the missing PC for SIGTRAP.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220107213243.212806-13-richard.henderson@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: 0b25c4a1f6345994d103ad08b2f4e1b366131dd9
      
https://github.com/qemu/qemu/commit/0b25c4a1f6345994d103ad08b2f4e1b366131dd9
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2022-01-11 (Tue, 11 Jan 2022)

  Changed paths:
    M linux-user/microblaze/cpu_loop.c

  Log Message:
  -----------
  linux-user/microblaze: Fix SIGFPE si_codes

Fix a typo for ESR_EC_DIVZERO, which is integral not floating-point.
Fix the if ladder for decoding floating-point exceptions.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220107213243.212806-14-richard.henderson@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: bf19bdb8f39a3aeb1353d412669b958c2b6cece8
      
https://github.com/qemu/qemu/commit/bf19bdb8f39a3aeb1353d412669b958c2b6cece8
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2022-01-11 (Tue, 11 Jan 2022)

  Changed paths:
    M linux-user/mips/cpu_loop.c

  Log Message:
  -----------
  linux-user/mips: Improve do_break

Rename to do_tr_or_bp, as per the kernel function.
Add a 'trap' argument, akin to the kernel's si_code, but clearer.
The return value is always 0, so change the return value to void.
Use force_sig and force_sig_fault.

Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220107213243.212806-15-richard.henderson@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: 73c0aa6a85253d1d5df6a7dfa14c7568e084cf96
      
https://github.com/qemu/qemu/commit/73c0aa6a85253d1d5df6a7dfa14c7568e084cf96
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2022-01-11 (Tue, 11 Jan 2022)

  Changed paths:
    M linux-user/mips/cpu_loop.c

  Log Message:
  -----------
  linux-user/mips: Use force_sig_fault

Use the new function instead of setting up a target_siginfo_t
and calling queue_signal. Fill in the missing PC for SIGTRAP
and SIGFPE; use force_sig (SI_KERNEL) for EXCP_DSPDIS.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220107213243.212806-16-richard.henderson@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: 6f3533dd1b6afbce8d215bb89027fa5b7caa4168
      
https://github.com/qemu/qemu/commit/6f3533dd1b6afbce8d215bb89027fa5b7caa4168
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2022-01-11 (Tue, 11 Jan 2022)

  Changed paths:
    M linux-user/mips/cpu_loop.c
    M target/mips/tcg/micromips_translate.c.inc
    M target/mips/tcg/mips16e_translate.c.inc
    M target/mips/tcg/translate.c
    M target/mips/tcg/translate.h

  Log Message:
  -----------
  target/mips: Extract break code into env->error_code

Simplify cpu_loop by doing all of the decode in translate.

This fixes a bug in that cpu_loop was not handling the
different layout of the R6 version of break16.  This fixes
a bug in that cpu_loop extracted the wrong bits for the
mips16e break16 instruction.

Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220107213243.212806-17-richard.henderson@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: 0a3336f6fd7b38d058044504758eef49aa9b03eb
      
https://github.com/qemu/qemu/commit/0a3336f6fd7b38d058044504758eef49aa9b03eb
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2022-01-11 (Tue, 11 Jan 2022)

  Changed paths:
    M linux-user/mips/cpu_loop.c
    M target/mips/tcg/micromips_translate.c.inc
    M target/mips/tcg/nanomips_translate.c.inc
    M target/mips/tcg/translate.c

  Log Message:
  -----------
  target/mips: Extract trap code into env->error_code

Simplify cpu_loop by doing all of the decode in translate.

Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220107213243.212806-18-richard.henderson@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: b60070566914d09f52d0225006e8eeab85a233cf
      
https://github.com/qemu/qemu/commit/b60070566914d09f52d0225006e8eeab85a233cf
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2022-01-11 (Tue, 11 Jan 2022)

  Changed paths:
    M linux-user/openrisc/cpu_loop.c

  Log Message:
  -----------
  linux-user/openrisc: Use force_sig_fault

Use the new function instead of setting up a target_siginfo_t
and calling queue_signal. Fill in the missing PC for SIGTRAP.

Reviewed-by: Stafford Horne <shorne@gmail.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220107213243.212806-19-richard.henderson@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: d30e60e7b4c38c3688e5690bc28f582c64a3c971
      
https://github.com/qemu/qemu/commit/d30e60e7b4c38c3688e5690bc28f582c64a3c971
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2022-01-11 (Tue, 11 Jan 2022)

  Changed paths:
    M linux-user/ppc/cpu_loop.c

  Log Message:
  -----------
  linux-user/ppc: Use force_sig_fault

Use the new function instead of setting up a target_siginfo_t
and calling queue_signal.  Fill in the missing PC for SIGTRAP.
The fault address for POWERPC_EXCP_ISI is nip exactly, not nip - 4.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220107213243.212806-20-richard.henderson@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: 8521cc21addac658997170fc8670d44625e44b24
      
https://github.com/qemu/qemu/commit/8521cc21addac658997170fc8670d44625e44b24
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2022-01-11 (Tue, 11 Jan 2022)

  Changed paths:
    M linux-user/riscv/cpu_loop.c

  Log Message:
  -----------
  linux-user/riscv: Use force_sig_fault

Use the new function instead of setting up a target_siginfo_t
and calling queue_signal.  Fix missing PC from EXCP_DEBUG by
merging the case with EXCP_BREAKPOINT.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220107213243.212806-21-richard.henderson@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: 8f0bebebd29b672a11a5de48b3330ca60524d286
      
https://github.com/qemu/qemu/commit/8f0bebebd29b672a11a5de48b3330ca60524d286
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2022-01-11 (Tue, 11 Jan 2022)

  Changed paths:
    M linux-user/s390x/cpu_loop.c

  Log Message:
  -----------
  linux-user/s390x: Use force_sig_fault

Use the new function instead of setting up a target_siginfo_t
and calling queue_signal.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220107213243.212806-22-richard.henderson@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: 588c7a171b01876963894bd48946fbcc5bdf21a8
      
https://github.com/qemu/qemu/commit/588c7a171b01876963894bd48946fbcc5bdf21a8
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2022-01-11 (Tue, 11 Jan 2022)

  Changed paths:
    M linux-user/sh4/cpu_loop.c

  Log Message:
  -----------
  linux-user/sh4: Use force_sig_fault

Use the new function instead of setting up a target_siginfo_t
and calling queue_signal. Fill in the missing PC for SIGTRAP.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220107213243.212806-23-richard.henderson@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: ac80d8b1512f91184eef1c9b73888302b7cfa8d5
      
https://github.com/qemu/qemu/commit/ac80d8b1512f91184eef1c9b73888302b7cfa8d5
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2022-01-11 (Tue, 11 Jan 2022)

  Changed paths:
    M linux-user/sparc/cpu_loop.c

  Log Message:
  -----------
  linux-user/sparc: Use force_sig_fault

Use the new function instead of setting up a target_siginfo_t
and calling queue_signal. Fill in the missing PC for SIGTRAP.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220107213243.212806-24-richard.henderson@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: 2dd4634963224834d79221718e95987c7d351290
      
https://github.com/qemu/qemu/commit/2dd4634963224834d79221718e95987c7d351290
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2022-01-11 (Tue, 11 Jan 2022)

  Changed paths:
    M linux-user/xtensa/cpu_loop.c

  Log Message:
  -----------
  linux-user/xtensa: Use force_sig_fault

Use the new function instead of setting up a target_siginfo_t
and calling queue_signal. Fill in the missing PC for SIGTRAP.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220107213243.212806-25-richard.henderson@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: ffe81d439812b2858065bb1410551027eafe938b
      
https://github.com/qemu/qemu/commit/ffe81d439812b2858065bb1410551027eafe938b
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2022-01-11 (Tue, 11 Jan 2022)

  Changed paths:
    M linux-user/arm/target_structs.h
    M linux-user/syscall.c

  Log Message:
  -----------
  linux-user/arm: Move target_oabi_flock64 out of target_structs.h

Place it next to copy_from/to_user_oabi_flock64, the only users,
inside the existing target-specific ifdef.  This leaves only
generic ipc structs in target_structs.h.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20220107042600.149852-2-richard.henderson@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: 72f692694fac92b49a2518fb7ea6149df1cbb214
      
https://github.com/qemu/qemu/commit/72f692694fac92b49a2518fb7ea6149df1cbb214
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2022-01-11 (Tue, 11 Jan 2022)

  Changed paths:
    M linux-user/aarch64/target_structs.h
    M linux-user/arm/target_structs.h
    M linux-user/cris/target_structs.h
    A linux-user/generic/target_structs.h
    M linux-user/hexagon/target_structs.h
    M linux-user/i386/target_structs.h
    M linux-user/m68k/target_structs.h
    M linux-user/microblaze/target_structs.h
    M linux-user/nios2/target_structs.h
    M linux-user/openrisc/target_structs.h
    M linux-user/riscv/target_structs.h
    M linux-user/sh4/target_structs.h
    M linux-user/x86_64/target_structs.h

  Log Message:
  -----------
  linux-user: Move target_struct.h generic definitions to generic/

Most targets share the same generic ipc structure definitions.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20220107042600.149852-3-richard.henderson@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: 08f5f973491b7e575231afbb1fa5c96f39c257b2
      
https://github.com/qemu/qemu/commit/08f5f973491b7e575231afbb1fa5c96f39c257b2
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2022-01-11 (Tue, 11 Jan 2022)

  Changed paths:
    M linux-user/syscall.c

  Log Message:
  -----------
  linux-user: Do not special-case NULL for PR_GET_PDEATHSIG

The kernel does not special-case arg2 != NULL, so
neither should we.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20220106225738.103012-2-richard.henderson@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: 1edebb36ea1809c7882a7be9654260adbbfdcb35
      
https://github.com/qemu/qemu/commit/1edebb36ea1809c7882a7be9654260adbbfdcb35
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2022-01-11 (Tue, 11 Jan 2022)

  Changed paths:
    M linux-user/syscall.c

  Log Message:
  -----------
  linux-user: Map signal number in PR_GET_PDEATHSIG

Convert the host signal number to guest signal number
before returning the value to the guest.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20220106225738.103012-3-richard.henderson@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: f746c65909ee6df4b560804bc152cdb3e9ad9bf8
      
https://github.com/qemu/qemu/commit/f746c65909ee6df4b560804bc152cdb3e9ad9bf8
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2022-01-11 (Tue, 11 Jan 2022)

  Changed paths:
    M linux-user/syscall.c

  Log Message:
  -----------
  linux-user: Implement PR_SET_PDEATHSIG

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20220106225738.103012-4-richard.henderson@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: 4f4e5567f856d9b841494b3b5216a37d2952ee54
      
https://github.com/qemu/qemu/commit/4f4e5567f856d9b841494b3b5216a37d2952ee54
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2022-01-11 (Tue, 11 Jan 2022)

  Changed paths:
    M linux-user/syscall.c

  Log Message:
  -----------
  linux-user: Implement capability prctls

This is PR_CAPBSET_READ, PR_CAPBSET_DROP and the "legacy"
PR_CAP_AMBIENT PR_GET_SECUREBITS, PR_SET_SECUREBITS.

All of these arguments are integer values only, and do not
require mapping of values between host and guest.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20220106225738.103012-5-richard.henderson@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: 91f5f7a5df1fda8c34677a7c49ee8a4bb5b56a36
      
https://github.com/qemu/qemu/commit/91f5f7a5df1fda8c34677a7c49ee8a4bb5b56a36
  Author: Peter Maydell <peter.maydell@linaro.org>
  Date:   2022-01-12 (Wed, 12 Jan 2022)

  Changed paths:
    M linux-user/aarch64/target_structs.h
    M linux-user/alpha/cpu_loop.c
    M linux-user/arm/target_structs.h
    M linux-user/cris/cpu_loop.c
    M linux-user/cris/target_structs.h
    A linux-user/generic/target_structs.h
    M linux-user/hexagon/target_structs.h
    M linux-user/hppa/cpu_loop.c
    M linux-user/i386/cpu_loop.c
    M linux-user/i386/target_structs.h
    M linux-user/m68k/cpu_loop.c
    M linux-user/m68k/target_structs.h
    M linux-user/microblaze/cpu_loop.c
    M linux-user/microblaze/target_structs.h
    M linux-user/mips/cpu_loop.c
    M linux-user/nios2/target_structs.h
    M linux-user/openrisc/cpu_loop.c
    M linux-user/openrisc/target_structs.h
    M linux-user/ppc/cpu_loop.c
    M linux-user/riscv/cpu_loop.c
    M linux-user/riscv/target_structs.h
    M linux-user/s390x/cpu_loop.c
    M linux-user/sh4/cpu_loop.c
    M linux-user/sh4/target_structs.h
    M linux-user/sparc/cpu_loop.c
    M linux-user/syscall.c
    M linux-user/syscall_defs.h
    M linux-user/x86_64/target_structs.h
    M linux-user/xtensa/cpu_loop.c
    M target/mips/tcg/micromips_translate.c.inc
    M target/mips/tcg/mips16e_translate.c.inc
    M target/mips/tcg/nanomips_translate.c.inc
    M target/mips/tcg/translate.c
    M target/mips/tcg/translate.h

  Log Message:
  -----------
  Merge remote-tracking branch 
'remotes/lvivier-gitlab/tags/linux-user-for-7.0-pull-request' into staging

linux-user pull request 20220111
siginfo_t cleanup
more prtctl() update
target_struct.h cleanup

# gpg: Signature made Tue 11 Jan 2022 19:52:20 GMT
# gpg:                using RSA key CD2F75DDC8E3A4DC2E4F5173F30C38BD3F2FBE3C
# gpg:                issuer "laurent@vivier.eu"
# gpg: Good signature from "Laurent Vivier <lvivier@redhat.com>" [full]
# gpg:                 aka "Laurent Vivier <laurent@vivier.eu>" [full]
# gpg:                 aka "Laurent Vivier (Red Hat) <lvivier@redhat.com>" 
[full]
# Primary key fingerprint: CD2F 75DD C8E3 A4DC 2E4F  5173 F30C 38BD 3F2F BE3C

* remotes/lvivier-gitlab/tags/linux-user-for-7.0-pull-request: (30 commits)
  linux-user: Implement capability prctls
  linux-user: Implement PR_SET_PDEATHSIG
  linux-user: Map signal number in PR_GET_PDEATHSIG
  linux-user: Do not special-case NULL for PR_GET_PDEATHSIG
  linux-user: Move target_struct.h generic definitions to generic/
  linux-user/arm: Move target_oabi_flock64 out of target_structs.h
  linux-user/xtensa: Use force_sig_fault
  linux-user/sparc: Use force_sig_fault
  linux-user/sh4: Use force_sig_fault
  linux-user/s390x: Use force_sig_fault
  linux-user/riscv: Use force_sig_fault
  linux-user/ppc: Use force_sig_fault
  linux-user/openrisc: Use force_sig_fault
  target/mips: Extract trap code into env->error_code
  target/mips: Extract break code into env->error_code
  linux-user/mips: Use force_sig_fault
  linux-user/mips: Improve do_break
  linux-user/microblaze: Fix SIGFPE si_codes
  linux-user/microblaze: Use force_sig_fault
  linux-user/m68k: Use force_sig_fault
  ...

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


Compare: https://github.com/qemu/qemu/compare/b37778b840f6...91f5f7a5df1f



reply via email to

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