Re: [PATCH 2/2] powerpc/tm: Avoid SPR flush if TM is disabled

2021-06-11 Thread Christophe Leroy
Le 01/10/2018 à 21:47, Breno Leitao a écrit : There is a bug in the flush_tmregs_to_thread() function, where it forces TM SPRs to be saved to the thread even if the TM facility is disabled. This bug could be reproduced using a simple test case: mtspr(SPRN_TEXASR, XX); sleep until load_

Re: [PATCH 2/2] powerpc/tm: Avoid SPR flush if TM is disabled

2018-10-01 Thread Michael Neuling
On Mon, 2018-10-01 at 16:47 -0300, Breno Leitao wrote: > There is a bug in the flush_tmregs_to_thread() function, where it forces > TM SPRs to be saved to the thread even if the TM facility is disabled. > > This bug could be reproduced using a simple test case: > > mtspr(SPRN_TEXASR, XX); > s