linux/arch/csky
Arnd Bergmann 6906335529 csky, hexagon: fix broken sys_sync_file_range
commit 3339b99ef6 upstream.

Both of these architectures require u64 function arguments to be
passed in even/odd pairs of registers or stack slots, which in case of
sync_file_range would result in a seven-argument system call that is
not currently possible. The system call is therefore incompatible with
all existing binaries.

While it would be possible to implement support for seven arguments
like on mips, it seems better to use a six-argument version, either
with the normal argument order but misaligned as on most architectures
or with the reordered sync_file_range2() calling conventions as on
arm and powerpc.

Cc: stable@vger.kernel.org
Acked-by: Guo Ren <guoren@kernel.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-07-05 09:12:54 +02:00
..
abiv1 csky: Fix function name in csky_alignment() and die() 2023-02-01 08:23:20 +01:00
abiv2 csky: Fixup kprobes handler couldn't change pc 2020-07-31 01:51:57 +00:00
boot treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
configs csky: Minimize defconfig to support buildroot config.fragment 2020-02-21 15:43:25 +08:00
include csky, hexagon: fix broken sys_sync_file_range 2024-07-05 09:12:54 +02:00
kernel csky: Fix function name in csky_alignment() and die() 2023-02-01 08:23:20 +01:00
lib csky: Add support for function error injection 2020-07-31 01:52:07 +00:00
mm csky: syscache: Fixup duplicate cache flush 2021-07-14 16:56:52 +02:00
Kconfig csky: change a Kconfig symbol name to fix e1000 build error 2021-04-28 13:40:02 +02:00
Kconfig.debug treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Kconfig.platforms csky/Kconfig: Add Kconfig.platforms to support some drivers 2020-02-21 15:43:24 +08:00
Makefile csky: Fixup calltrace panic 2020-05-13 17:55:06 +08:00