Re: [PATCH 1/3] powerpc/tm: Clear the current thread's MSR[TS] after treclaim

2020-01-21 Thread kbuild test robot
Hi Gustavo, Thank you for the patch! Yet something to improve: [auto build test ERROR on powerpc/next] [also build test ERROR on scottwood/next v5.5-rc7 next-20200120] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system. BTW, we also suggest to use

Re: [PATCH 1/3] powerpc/tm: Clear the current thread's MSR[TS] after treclaim

2020-01-17 Thread Gustavo Romero
Hi Gustavo, Thanks for fixing that TM issue. On 01/16/2020 07:05 PM, Gustavo Luiz Duarte wrote: Fixes: 2b0a576d15e0 ("powerpc: Add new transactional memory state to the signal context") Cc: sta...@vger.kernel.org # v3.9 Signed-off-by: Gustavo Luiz Duarte --- arch/powerpc/kernel/signal.c

[PATCH 1/3] powerpc/tm: Clear the current thread's MSR[TS] after treclaim

2020-01-16 Thread Gustavo Luiz Duarte
After a treclaim, we expect to be in non-transactional state. If we don't immediately clear the current thread's MSR[TS] and we get preempted, then tm_recheckpoint_new_task() will recheckpoint and we get rescheduled in suspended transaction state. When handling a signal caught in transactional