Re: [PATCH] powerpc/syscall: Calling kuap_save_and_lock() is wrong

2021-05-15 Thread Michael Ellerman
On Thu, 6 May 2021 11:56:31 + (UTC), Christophe Leroy wrote: > kuap_save_and_lock() is only for interrupts inside kernel. > > system call are only from user, calling kuap_save_and_lock() > is wrong. Applied to powerpc/fixes. [1/1] powerpc/syscall: Calling kuap_save_and_lock() is wrong

[PATCH] powerpc/syscall: Calling kuap_save_and_lock() is wrong

2021-05-06 Thread Christophe Leroy
kuap_save_and_lock() is only for interrupts inside kernel. system call are only from user, calling kuap_save_and_lock() is wrong. Fixes: c16728835eec ("powerpc/32: Manage KUAP in C") Signed-off-by: Christophe Leroy --- arch/powerpc/kernel/interrupt.c | 3 --- 1 file changed, 3 deletions(-) dif