powerpc/64: remove support for kernel-mode syscalls
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 <npiggin@gmail.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20190827033010.28090-3-npiggin@gmail.com
This commit is contained in:

committed by
Michael Ellerman

parent
facd04a904
commit
555e28179d
@@ -1522,8 +1522,6 @@ EXC_COMMON(trap_0b_common, 0xb00, unknown_exception)
|
||||
* system call / hypercall (0xc00, 0x4c00)
|
||||
*
|
||||
* The system call exception is invoked with "sc 0" and does not alter HV bit.
|
||||
* There is support for kernel code to invoke system calls but there are no
|
||||
* in-tree users.
|
||||
*
|
||||
* The hypercall is invoked with "sc 1" and sets HV=1.
|
||||
*
|
||||
|
Reference in New Issue
Block a user