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

2019-08-27 Thread Nicholas Piggin
Nicholas Piggin's on August 27, 2019 8:20 pm: > Christophe Leroy's on August 27, 2019 4:13 pm: >> >> >> Le 27/08/2019 à 05:30, Nicholas Piggin a écrit : >>> 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 th

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

2019-08-27 Thread Nicholas Piggin
Christophe Leroy's on August 27, 2019 4:13 pm: > > > Le 27/08/2019 à 05:30, Nicholas Piggin a écrit : >> 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 quest

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

2019-08-26 Thread Christophe Leroy
Le 27/08/2019 à 05:30, Nicholas Piggin a écrit : 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. I like it. I dropp

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

2019-08-26 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