The following changes since commit 22a40d14b572deb80c0648557f4bd502d7e83826: Linux 6.10-rc6 (2024-06-30 14:40:44 -0700) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic.git tags/asm-generic-6.11 for you to fetch changes up to 1a7b7326d587c9a5e8ff067e70d6aaf0333f4bb3: vmlinux.lds.h: catch .bss..L* sections into BSS") (2024-07-12 08:52:45 +0200) ---------------------------------------------------------------- asm-generic updates for 6.11 Most of this is part of my ongoing work to clean up the system call tables. In this bit, all of the newer architectures are converted to use the machine readable syscall.tbl format instead in place of complex macros in include/uapi/asm-generic/unistd.h. This follows an earlier series that fixed various API mismatches and in turn is used as the base for planned simplifications. The other two patches are dead code removal and a warning fix. ---------------------------------------------------------------- Arnd Bergmann (17): syscalls: add generic scripts/syscall.tbl csky: drop asm/gpio.h wrapper um: don't generate asm/bpf_perf_event.h loongarch: avoid generating extra header files kbuild: verify asm-generic header list kbuild: add syscall table generation to scripts/Makefile.asm-headers clone3: drop __ARCH_WANT_SYS_CLONE3 macro arc: convert to generic syscall table arm64: convert unistd_32.h to syscall.tbl format arm64: generate 64-bit syscall.tbl arm64: rework compat syscall macros csky: convert to generic syscall table hexagon: use new system call table loongarch: convert to generic syscall table nios2: convert to generic syscall table openrisc: convert to generic syscall table riscv: convert to generic syscall table Christophe Leroy (1): vmlinux.lds.h: catch .bss..L* sections into BSS") Steven Price (1): fixmap: Remove unused set_fixmap_offset_io() Makefile | 2 +- arch/arc/include/asm/Kbuild | 2 + arch/arc/include/asm/unistd.h | 14 + arch/arc/include/uapi/asm/Kbuild | 2 + arch/arc/include/uapi/asm/unistd.h | 44 +- arch/arc/kernel/Makefile.syscalls | 3 + arch/arc/kernel/sys.c | 5 +- arch/arm/include/asm/unistd.h | 1 - arch/arm64/include/asm/Kbuild | 8 + arch/arm64/include/asm/seccomp.h | 13 +- arch/arm64/include/asm/unistd.h | 22 +- arch/arm64/include/asm/unistd32.h | 939 +--------------------- arch/arm64/include/asm/vdso/compat_gettimeofday.h | 12 +- arch/arm64/include/uapi/asm/Kbuild | 1 + arch/arm64/include/uapi/asm/unistd.h | 25 +- arch/arm64/kernel/Makefile.syscalls | 6 + arch/arm64/kernel/signal32.c | 4 +- arch/arm64/kernel/sigreturn32.S | 18 +- arch/arm64/kernel/sys.c | 6 +- arch/arm64/kernel/sys32.c | 17 +- arch/arm64/kernel/syscall.c | 3 +- arch/arm64/tools/Makefile | 6 +- arch/arm64/tools/syscall_32.tbl | 476 +++++++++++ arch/arm64/tools/syscall_64.tbl | 1 + arch/csky/include/asm/Kbuild | 3 +- arch/csky/include/asm/unistd.h | 3 + arch/csky/include/uapi/asm/Kbuild | 2 + arch/csky/include/uapi/asm/unistd.h | 15 +- arch/csky/kernel/Makefile.syscalls | 4 + arch/csky/kernel/syscall_table.c | 4 +- arch/hexagon/include/asm/Kbuild | 2 + arch/hexagon/include/asm/unistd.h | 10 + arch/hexagon/include/uapi/asm/Kbuild | 2 + arch/hexagon/include/uapi/asm/unistd.h | 14 +- arch/hexagon/kernel/Makefile.syscalls | 3 + arch/hexagon/kernel/syscalltab.c | 8 +- arch/loongarch/include/asm/Kbuild | 17 +- arch/loongarch/include/asm/unistd.h | 2 + arch/loongarch/include/uapi/asm/Kbuild | 2 + arch/loongarch/include/uapi/asm/unistd.h | 4 +- arch/loongarch/kernel/Makefile.syscalls | 4 + arch/loongarch/kernel/syscall.c | 3 +- arch/m68k/include/asm/unistd.h | 1 - arch/mips/include/asm/unistd.h | 1 - arch/nios2/include/asm/Kbuild | 2 + arch/nios2/include/asm/unistd.h | 12 + arch/nios2/include/uapi/asm/Kbuild | 2 + arch/nios2/include/uapi/asm/unistd.h | 14 +- arch/nios2/kernel/Makefile.syscalls | 3 + arch/nios2/kernel/syscall_table.c | 6 +- arch/openrisc/include/asm/Kbuild | 2 + arch/openrisc/include/asm/syscalls.h | 4 - arch/openrisc/include/asm/unistd.h | 8 + arch/openrisc/include/uapi/asm/Kbuild | 2 + arch/openrisc/include/uapi/asm/unistd.h | 15 +- arch/openrisc/kernel/Makefile.syscalls | 3 + arch/openrisc/kernel/sys_call_table.c | 9 +- arch/parisc/include/asm/unistd.h | 1 - arch/powerpc/include/asm/unistd.h | 1 - arch/riscv/include/asm/Kbuild | 3 + arch/riscv/include/asm/syscall_table.h | 7 + arch/riscv/include/asm/unistd.h | 13 +- arch/riscv/include/uapi/asm/Kbuild | 2 + arch/riscv/include/uapi/asm/unistd.h | 41 +- arch/riscv/kernel/Makefile.syscalls | 4 + arch/riscv/kernel/compat_syscall_table.c | 6 +- arch/riscv/kernel/syscall_table.c | 6 +- arch/s390/include/asm/unistd.h | 1 - arch/sh/include/asm/unistd.h | 2 + arch/sparc/include/asm/unistd.h | 2 + arch/um/include/asm/Kbuild | 1 - arch/um/include/asm/bpf_perf_event.h | 9 + arch/x86/include/asm/unistd.h | 1 - arch/xtensa/include/asm/unistd.h | 1 - include/asm-generic/Kbuild | 1 - include/asm-generic/fixmap.h | 3 - include/asm-generic/vmlinux.lds.h | 2 +- include/uapi/asm-generic/unistd.h | 4 - kernel/fork.c | 8 +- kernel/sys_ni.c | 2 - scripts/Makefile.asm-generic | 58 -- scripts/Makefile.asm-headers | 98 +++ scripts/syscall.tbl | 404 ++++++++++ tools/arch/arm64/include/uapi/asm/unistd.h | 1 - tools/arch/loongarch/include/uapi/asm/unistd.h | 1 - tools/include/uapi/asm-generic/unistd.h | 4 - 86 files changed, 1228 insertions(+), 1275 deletions(-) create mode 100644 arch/arc/include/asm/unistd.h create mode 100644 arch/arc/kernel/Makefile.syscalls create mode 100644 arch/arm64/kernel/Makefile.syscalls create mode 100644 arch/arm64/tools/syscall_32.tbl create mode 120000 arch/arm64/tools/syscall_64.tbl create mode 100644 arch/csky/kernel/Makefile.syscalls create mode 100644 arch/hexagon/include/asm/unistd.h create mode 100644 arch/hexagon/kernel/Makefile.syscalls create mode 100644 arch/loongarch/kernel/Makefile.syscalls create mode 100644 arch/nios2/include/asm/unistd.h create mode 100644 arch/nios2/kernel/Makefile.syscalls create mode 100644 arch/openrisc/include/asm/unistd.h create mode 100644 arch/openrisc/kernel/Makefile.syscalls create mode 100644 arch/riscv/include/asm/syscall_table.h create mode 100644 arch/riscv/kernel/Makefile.syscalls create mode 100644 arch/um/include/asm/bpf_perf_event.h delete mode 100644 scripts/Makefile.asm-generic create mode 100644 scripts/Makefile.asm-headers create mode 100644 scripts/syscall.tbl