mbox series

[v2,00/15] linux-user/sparc: Handle missing traps

Message ID 20230216054516.1267305-1-richard.henderson@linaro.org
Headers show
Series linux-user/sparc: Handle missing traps | expand

Message

Richard Henderson Feb. 16, 2023, 5:45 a.m. UTC
Lots of missing trap codes for cpu_loop().

Changes for v2:
  - Fix v8plus syscall trap.
  - New patch to unify syscall error return via C flag.


r~


Richard Henderson (15):
  linux-user/sparc: Raise SIGILL for all unhandled software traps
  linux-user/sparc: Tidy syscall trap
  linux-user/sparc: Tidy syscall error return
  linux-user/sparc: Use TT_TRAP for flush windows
  linux-user/sparc: Tidy window spill/fill traps
  linux-user/sparc: Fix sparc64_{get,set}_context traps
  linux-user/sparc: Handle software breakpoint trap
  linux-user/sparc: Handle division by zero traps
  linux-user/sparc: Handle getcc, setcc, getpsr traps
  linux-user/sparc: Handle priviledged opcode trap
  linux-user/sparc: Handle privilidged action trap
  linux-user/sparc: Handle coprocessor disabled trap
  linux-user/sparc: Handle unimplemented flush trap
  linux-user/sparc: Handle floating-point exceptions
  linux-user/sparc: Handle tag overflow traps

 linux-user/sparc/target_signal.h |   2 +-
 linux-user/syscall_defs.h        |   5 +
 target/sparc/cpu.h               |   3 +-
 linux-user/sparc/cpu_loop.c      | 190 ++++++++++++++++++++++++-------
 linux-user/sparc/signal.c        |  36 +++---
 5 files changed, 175 insertions(+), 61 deletions(-)

Comments

Laurent Vivier March 7, 2023, 3:56 p.m. UTC | #1
Hi Richard,

I don't have the time to review your series, do you want I queue it in the linux-user branch and I 
keep it if it passes my test suite?

Thanks,
Laurent

Le 16/02/2023 à 06:45, Richard Henderson a écrit :
> Lots of missing trap codes for cpu_loop().
> 
> Changes for v2:
>    - Fix v8plus syscall trap.
>    - New patch to unify syscall error return via C flag.
> 
> 
> r~
> 
> 
> Richard Henderson (15):
>    linux-user/sparc: Raise SIGILL for all unhandled software traps
>    linux-user/sparc: Tidy syscall trap
>    linux-user/sparc: Tidy syscall error return
>    linux-user/sparc: Use TT_TRAP for flush windows
>    linux-user/sparc: Tidy window spill/fill traps
>    linux-user/sparc: Fix sparc64_{get,set}_context traps
>    linux-user/sparc: Handle software breakpoint trap
>    linux-user/sparc: Handle division by zero traps
>    linux-user/sparc: Handle getcc, setcc, getpsr traps
>    linux-user/sparc: Handle priviledged opcode trap
>    linux-user/sparc: Handle privilidged action trap
>    linux-user/sparc: Handle coprocessor disabled trap
>    linux-user/sparc: Handle unimplemented flush trap
>    linux-user/sparc: Handle floating-point exceptions
>    linux-user/sparc: Handle tag overflow traps
> 
>   linux-user/sparc/target_signal.h |   2 +-
>   linux-user/syscall_defs.h        |   5 +
>   target/sparc/cpu.h               |   3 +-
>   linux-user/sparc/cpu_loop.c      | 190 ++++++++++++++++++++++++-------
>   linux-user/sparc/signal.c        |  36 +++---
>   5 files changed, 175 insertions(+), 61 deletions(-)
>
Richard Henderson March 7, 2023, 5:07 p.m. UTC | #2
On 3/7/23 07:56, Laurent Vivier wrote:
> Hi Richard,
> 
> I don't have the time to review your series, do you want I queue it in the linux-user 
> branch and I keep it if it passes my test suite?

Yes please.


r~
Laurent Vivier March 7, 2023, 6:23 p.m. UTC | #3
Le 07/03/2023 à 18:07, Richard Henderson a écrit :
> On 3/7/23 07:56, Laurent Vivier wrote:
>> Hi Richard,
>>
>> I don't have the time to review your series, do you want I queue it in the linux-user branch and I 
>> keep it if it passes my test suite?
> 
> Yes please.
>

Done, except PATCH 1 that is already merged.

Thanks,
Laurent