Re: [PATCH] powerpc/64s: Remove MSR_RI optimisation in system_call_exit()

2019-02-04 Thread Michael Ellerman
Nicholas Piggin writes: > Michael Ellerman's on January 17, 2019 9:35 pm: >> Currently in system_call_exit() we have an optimisation where we >> disable MSR_RI (recoverable interrupt) and MSR_EE (external interrupt >> enable) in a single mtmsrd instruction. >> >> Unfortunately this will no

Re: [PATCH] powerpc/64s: Remove MSR_RI optimisation in system_call_exit()

2019-01-23 Thread Nicholas Piggin
Michael Ellerman's on January 17, 2019 9:35 pm: > Currently in system_call_exit() we have an optimisation where we > disable MSR_RI (recoverable interrupt) and MSR_EE (external interrupt > enable) in a single mtmsrd instruction. > > Unfortunately this will no longer work with THREAD_INFO_IN_TASK,

[PATCH] powerpc/64s: Remove MSR_RI optimisation in system_call_exit()

2019-01-17 Thread Michael Ellerman
Currently in system_call_exit() we have an optimisation where we disable MSR_RI (recoverable interrupt) and MSR_EE (external interrupt enable) in a single mtmsrd instruction. Unfortunately this will no longer work with THREAD_INFO_IN_TASK, because then the load of TI_FLAGS might fault and