On Fri, Sep 16, 2022, at 7:32 AM, Rohan McLure wrote:
32-bit ABIs support passing 64-bit integers by registers via argument
translation. Commit 59c10c52f573 ("riscv: compat: syscall: Add
compat_sys_call_table implementation") implements the compat_arg_u64
macro for efficiently defining little endian compatibility syscalls.
Architectures supporting big endianness may benefit from reciprocal
argument translation, but are welcome also to implement their own.
Signed-off-by: Rohan McLure <redacted>
---
Reviewed-by: Arnd Bergmann <arnd@arndb.de>