Re: [PATCH 1/2] powerpc/64s: remove support for kernel-mode syscalls

2019-08-19 Thread Nicholas Piggin
Nicholas Piggin's on August 20, 2019 3:11 pm: > There is support for the kernel to execute the 'sc 0' instruction and > make a system call to itself. This is a relic that is unused in the > tree, therefore untested. It's also highly questionable for modules to > be doing this. Oh I'm sorry this is

[PATCH 1/2] powerpc/64s: remove support for kernel-mode syscalls

2019-08-19 Thread Nicholas Piggin
There is support for the kernel to execute the 'sc 0' instruction and make a system call to itself. This is a relic that is unused in the tree, therefore untested. It's also highly questionable for modules to be doing this. Signed-off-by: Nicholas Piggin --- arch/powerpc/kernel/entry_64.S