On Wed, Jul 17, 2024, at 18:45, Masahiro Yamada wrote: >> On Wed, Jul 17, 2024, at 17:18, Masahiro Yamada wrote: >> >> Should we maybe revert ff96f5c6971c..3db80c999deb then >> and find a better way to do it in 6.12? > > I do not think so. > > I pretty much like 4fe53bf2ba0a45cd708dcd4c3e8e1950731b3d4d, > and I believe generating all syscall headers from a table > is the right thing to do. > So, it must happen. Right, I meant to leave that part here and just revert the Makefile changes until we have something that has seen enough testing. > Currently, the new syscall-y syntax can be used only for > architectures using the generic syscall table. > I wonder what we should do for the other legacy architectures. I have patches for all architectures at https://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic.git/log/?h=syscall-tbl-6.11&id=92499ba526eac435 but I stopped after the ones using the generic syscall table since I had spent more time making sure the actual table contents are unchanged. > For the rebuild problem, I think this should work: > https://lore.kernel.org/all/20240717162421.1402773-1-masahiroy@xxxxxxxxxx/T/#u > > (I only compile-tested arch64 and riscv, but the other architectires > should be the same pattern.) Right, I completely missed the "existing-targets" bit, and without that I couldn't figure out the rest correctly. I have checked this on the other architectures now and tried out the bit with the changed command line I got wrong. Sorry for causing these problems and thanks a lot for the fix! Arnd