mbox series

[v5,00/24] linux-user: Clean up siginfo_t handling

Message ID 20220107213243.212806-1-richard.henderson@linaro.org
Headers show
Series linux-user: Clean up siginfo_t handling | expand

Message

Richard Henderson Jan. 7, 2022, 9:32 p.m. UTC
Changes from v4:
  * Rebase on master.

All patches are reviewed.


r~


Richard Henderson (24):
  linux-user/alpha: Set TRAP_UNK for bugchk and unknown gentrap
  linux-user/alpha: Set FPE_FLTUNK for gentrap ROPRAND
  linux-user/alpha: Use force_sig_fault
  linux-user/cris: Use force_sig_fault
  linux-user/hppa: Use force_sig_fault
  linux-user/hppa: Use the proper si_code for PRIV_OPR, PRIV_REG,
    OVERFLOW
  linux-user: Remove TARGET_NSIGFPE
  linux-user/hppa: Set FPE_CONDTRAP for COND
  linux-user/i386: Split out maybe_handle_vm86_trap
  linux-user/i386: Use force_sig, force_sig_fault
  linux-user/m68k: Use force_sig_fault
  linux-user/microblaze: Use force_sig_fault
  linux-user/microblaze: Fix SIGFPE si_codes
  linux-user/mips: Improve do_break
  linux-user/mips: Use force_sig_fault
  target/mips: Extract break code into env->error_code
  target/mips: Extract trap code into env->error_code
  linux-user/openrisc: Use force_sig_fault
  linux-user/ppc: Use force_sig_fault
  linux-user/riscv: Use force_sig_fault
  linux-user/s390x: Use force_sig_fault
  linux-user/sh4: Use force_sig_fault
  linux-user/sparc: Use force_sig_fault
  linux-user/xtensa: Use force_sig_fault

 linux-user/syscall_defs.h                 |   3 +-
 target/mips/tcg/translate.h               |   1 +
 linux-user/alpha/cpu_loop.c               |  61 +++-----
 linux-user/cris/cpu_loop.c                |  12 +-
 linux-user/hppa/cpu_loop.c                |  26 ++--
 linux-user/i386/cpu_loop.c                |  78 +++++-----
 linux-user/m68k/cpu_loop.c                |  24 +---
 linux-user/microblaze/cpu_loop.c          |  71 +++++----
 linux-user/mips/cpu_loop.c                | 166 +++++-----------------
 linux-user/openrisc/cpu_loop.c            |  18 +--
 linux-user/ppc/cpu_loop.c                 | 136 ++++--------------
 linux-user/riscv/cpu_loop.c               |  31 +---
 linux-user/s390x/cpu_loop.c               |   7 +-
 linux-user/sh4/cpu_loop.c                 |   6 +-
 linux-user/sparc/cpu_loop.c               |  14 +-
 linux-user/xtensa/cpu_loop.c              |  26 ++--
 target/mips/tcg/translate.c               |  36 ++++-
 target/mips/tcg/micromips_translate.c.inc |  10 +-
 target/mips/tcg/mips16e_translate.c.inc   |   2 +-
 target/mips/tcg/nanomips_translate.c.inc  |   4 +-
 20 files changed, 230 insertions(+), 502 deletions(-)

Comments

Laurent Vivier Jan. 8, 2022, 5:25 p.m. UTC | #1
Le 07/01/2022 à 22:32, Richard Henderson a écrit :
> Changes from v4:
>    * Rebase on master.
> 
> All patches are reviewed.

Series applied to my linux-user-for-7.0 branch.

Thanks,
Laurent

> 
> r~
> 
> 
> Richard Henderson (24):
>    linux-user/alpha: Set TRAP_UNK for bugchk and unknown gentrap
>    linux-user/alpha: Set FPE_FLTUNK for gentrap ROPRAND
>    linux-user/alpha: Use force_sig_fault
>    linux-user/cris: Use force_sig_fault
>    linux-user/hppa: Use force_sig_fault
>    linux-user/hppa: Use the proper si_code for PRIV_OPR, PRIV_REG,
>      OVERFLOW
>    linux-user: Remove TARGET_NSIGFPE
>    linux-user/hppa: Set FPE_CONDTRAP for COND
>    linux-user/i386: Split out maybe_handle_vm86_trap
>    linux-user/i386: Use force_sig, force_sig_fault
>    linux-user/m68k: Use force_sig_fault
>    linux-user/microblaze: Use force_sig_fault
>    linux-user/microblaze: Fix SIGFPE si_codes
>    linux-user/mips: Improve do_break
>    linux-user/mips: Use force_sig_fault
>    target/mips: Extract break code into env->error_code
>    target/mips: Extract trap code into env->error_code
>    linux-user/openrisc: Use force_sig_fault
>    linux-user/ppc: Use force_sig_fault
>    linux-user/riscv: Use force_sig_fault
>    linux-user/s390x: Use force_sig_fault
>    linux-user/sh4: Use force_sig_fault
>    linux-user/sparc: Use force_sig_fault
>    linux-user/xtensa: Use force_sig_fault
> 
>   linux-user/syscall_defs.h                 |   3 +-
>   target/mips/tcg/translate.h               |   1 +
>   linux-user/alpha/cpu_loop.c               |  61 +++-----
>   linux-user/cris/cpu_loop.c                |  12 +-
>   linux-user/hppa/cpu_loop.c                |  26 ++--
>   linux-user/i386/cpu_loop.c                |  78 +++++-----
>   linux-user/m68k/cpu_loop.c                |  24 +---
>   linux-user/microblaze/cpu_loop.c          |  71 +++++----
>   linux-user/mips/cpu_loop.c                | 166 +++++-----------------
>   linux-user/openrisc/cpu_loop.c            |  18 +--
>   linux-user/ppc/cpu_loop.c                 | 136 ++++--------------
>   linux-user/riscv/cpu_loop.c               |  31 +---
>   linux-user/s390x/cpu_loop.c               |   7 +-
>   linux-user/sh4/cpu_loop.c                 |   6 +-
>   linux-user/sparc/cpu_loop.c               |  14 +-
>   linux-user/xtensa/cpu_loop.c              |  26 ++--
>   target/mips/tcg/translate.c               |  36 ++++-
>   target/mips/tcg/micromips_translate.c.inc |  10 +-
>   target/mips/tcg/mips16e_translate.c.inc   |   2 +-
>   target/mips/tcg/nanomips_translate.c.inc  |   4 +-
>   20 files changed, 230 insertions(+), 502 deletions(-)
>