Re: [PATCH] selftests/powerpc: New TM signal self test

2019-01-08 Thread Michael Ellerman
Breno Leitao writes: > On 12/20/18 10:51 AM, Michael Ellerman wrote: >> Breno Leitao writes: >> >>> A new self test that forces MSR[TS] to be set without calling any TM >>> instruction. This test also tries to cause a page fault at a signal >>> handler, exactly between MSR[TS] set and

Re: [PATCH] selftests/powerpc: New TM signal self test

2019-01-03 Thread Breno Leitao
Hi Michael, On 12/20/18 10:51 AM, Michael Ellerman wrote: > Breno Leitao writes: > >> A new self test that forces MSR[TS] to be set without calling any TM >> instruction. This test also tries to cause a page fault at a signal >> handler, exactly between MSR[TS] set and tm_recheckpoint(),

Re: [PATCH] selftests/powerpc: New TM signal self test

2018-12-20 Thread Michael Ellerman
Breno Leitao writes: > A new self test that forces MSR[TS] to be set without calling any TM > instruction. This test also tries to cause a page fault at a signal > handler, exactly between MSR[TS] set and tm_recheckpoint(), forcing > thread->texasr to be rewritten with TEXASR[FS] = 0, which will

Re: [PATCH] selftests/powerpc: New TM signal self test

2018-12-04 Thread Breno Leitao
Hi Mikey, On 11/29/18 12:11 AM, Michael Neuling wrote: > On Wed, 2018-11-28 at 11:23 -0200, Breno Leitao wrote: >> A new self test that forces MSR[TS] to be set without calling any TM >> instruction. This test also tries to cause a page fault at a signal >> handler, exactly between MSR[TS] set

Re: [PATCH] selftests/powerpc: New TM signal self test

2018-11-28 Thread Michael Neuling
On Wed, 2018-11-28 at 11:23 -0200, Breno Leitao wrote: > A new self test that forces MSR[TS] to be set without calling any TM > instruction. This test also tries to cause a page fault at a signal > handler, exactly between MSR[TS] set and tm_recheckpoint(), forcing > thread->texasr to be rewritten

[PATCH] selftests/powerpc: New TM signal self test

2018-11-28 Thread Breno Leitao
A new self test that forces MSR[TS] to be set without calling any TM instruction. This test also tries to cause a page fault at a signal handler, exactly between MSR[TS] set and tm_recheckpoint(), forcing thread->texasr to be rewritten with TEXASR[FS] = 0, which will cause a BUG when