Re: [PATCH 2/3] linux-user/s390x: Clean up signal.c

2021-04-28 Thread David Hildenbrand
On 28.04.21 05:32, Richard Henderson wrote: The "save" routines from the kernel, which are currently commented out, are unnecessary in qemu. We can copy from env where the kernel needs special instructions. Drop the return value from restore_sigregs, as it cannot fail. Use __get_user return as

[PATCH 2/3] linux-user/s390x: Clean up signal.c

2021-04-27 Thread Richard Henderson
The "save" routines from the kernel, which are currently commented out, are unnecessary in qemu. We can copy from env where the kernel needs special instructions. Drop the return value from restore_sigregs, as it cannot fail. Use __get_user return as input to trace, so that we properly bswap the