All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v7 0/4]  linux-user: generate syscall_nr.sh for RISC-V
@ 2020-03-12 22:13 ` Alistair Francis
  0 siblings, 0 replies; 26+ messages in thread
From: Alistair Francis @ 2020-03-12 22:13 UTC (permalink / raw)
  To: qemu-devel, qemu-riscv, laurent, aleksandar.m.mail
  Cc: alistair.francis, palmer, alistair23

This series updates the RISC-V syscall_nr.sh based on the 5.5 kernel.

There are two parts to this. One is just adding the new syscalls, the
other part is updating the RV32 syscalls to match the fact that RV32 is
a 64-bit time_t architectures (y2038) safe.

We need to make some changes to syscall.c to avoid warnings/errors
during compliling with the new syscall.

I did some RV32 user space testing after applying these patches. I ran the
glibc testsuite in userspace and I don't see any regressions.

v7:
 - Update futuex_time64 support to work correctly
v6:
 - Split out futex patch and make it more robust
v5:
 - Addres comments raised on v4
   - Don't require 64-bit host for * _time64 functions

Alistair Francis (4):
  linux-user: Protect more syscalls
  linux-user/syscall: Add support for clock_gettime64/clock_settime64
  linux-user: Support futex_time64
  linux-user/riscv: Update the syscall_nr's to the 5.5 kernel

 linux-user/riscv/syscall32_nr.h | 295 +++++++++++++++++++++++++++++++
 linux-user/riscv/syscall64_nr.h | 301 ++++++++++++++++++++++++++++++++
 linux-user/riscv/syscall_nr.h   | 294 +------------------------------
 linux-user/strace.c             |   2 +
 linux-user/syscall.c            | 247 ++++++++++++++++++++++++--
 5 files changed, 834 insertions(+), 305 deletions(-)
 create mode 100644 linux-user/riscv/syscall32_nr.h
 create mode 100644 linux-user/riscv/syscall64_nr.h

-- 
2.25.1



^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2020-03-13 22:18 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-12 22:13 [PATCH v7 0/4] linux-user: generate syscall_nr.sh for RISC-V Alistair Francis
2020-03-12 22:13 ` Alistair Francis
2020-03-12 22:13 ` [PATCH v7 1/4] linux-user: Protect more syscalls Alistair Francis
2020-03-12 22:13   ` Alistair Francis
2020-03-13 21:46   ` Laurent Vivier
2020-03-13 21:46     ` Laurent Vivier
2020-03-12 22:13 ` [PATCH v7 2/4] linux-user/syscall: Add support for clock_gettime64/clock_settime64 Alistair Francis
2020-03-12 22:13   ` Alistair Francis
2020-03-13 21:48   ` Laurent Vivier
2020-03-13 21:48     ` Laurent Vivier
2020-03-12 22:13 ` [PATCH v7 3/4] linux-user: Support futex_time64 Alistair Francis
2020-03-12 22:13   ` Alistair Francis
2020-03-13  8:14   ` Laurent Vivier
2020-03-13  8:14     ` Laurent Vivier
2020-03-13 22:12     ` Alistair Francis
2020-03-13 22:12       ` Alistair Francis
2020-03-13 22:13       ` Alistair Francis
2020-03-13 22:13         ` Alistair Francis
2020-03-13 22:17         ` Laurent Vivier
2020-03-13 22:17           ` Laurent Vivier
2020-03-12 22:14 ` [PATCH v7 4/4] linux-user/riscv: Update the syscall_nr's to the 5.5 kernel Alistair Francis
2020-03-12 22:14   ` Alistair Francis
2020-03-13 21:49   ` Laurent Vivier
2020-03-13 21:49     ` Laurent Vivier
2020-03-13  1:47 ` [PATCH v7 0/4] linux-user: generate syscall_nr.sh for RISC-V no-reply
2020-03-13  1:47   ` no-reply

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.