Re: [PATCH 2/2] selftests/powerpc: Calculate spin time in tm-unavailable

2017-12-10 Thread Cyril Bur
On Mon, 2017-12-11 at 13:02 +1100, Michael Ellerman wrote: > Cyril Bur writes: > > > On Tue, 2017-11-21 at 11:31 -0200, Gustavo Romero wrote: > > > Hi Cyril, > > > > > > On 21-11-2017 05:17, Cyril Bur wrote: > > > > Currently the tm-unavailable test spins for a fixed amount of time in > >

Re: [PATCH 2/2] selftests/powerpc: Calculate spin time in tm-unavailable

2017-12-10 Thread Michael Ellerman
Cyril Bur writes: > On Tue, 2017-11-21 at 11:31 -0200, Gustavo Romero wrote: >> Hi Cyril, >> >> On 21-11-2017 05:17, Cyril Bur wrote: >> > Currently the tm-unavailable test spins for a fixed amount of time in >> > an attempt to ensure the FPU/VMX/VSX facilities are off. This value was >> > exper

Re: [PATCH 2/2] selftests/powerpc: Calculate spin time in tm-unavailable

2017-11-21 Thread Cyril Bur
On Tue, 2017-11-21 at 11:31 -0200, Gustavo Romero wrote: > Hi Cyril, > > On 21-11-2017 05:17, Cyril Bur wrote: > > Currently the tm-unavailable test spins for a fixed amount of time in > > an attempt to ensure the FPU/VMX/VSX facilities are off. This value was > > experimentally tested to be long

Re: [PATCH 2/2] selftests/powerpc: Calculate spin time in tm-unavailable

2017-11-21 Thread Gustavo Romero
Hi Cyril, On 21-11-2017 05:17, Cyril Bur wrote: > Currently the tm-unavailable test spins for a fixed amount of time in > an attempt to ensure the FPU/VMX/VSX facilities are off. This value was > experimentally tested to be long enough. > > Problems may arise if kernel heuristics were to change.

[PATCH 2/2] selftests/powerpc: Calculate spin time in tm-unavailable

2017-11-20 Thread Cyril Bur
Currently the tm-unavailable test spins for a fixed amount of time in an attempt to ensure the FPU/VMX/VSX facilities are off. This value was experimentally tested to be long enough. Problems may arise if kernel heuristics were to change. This patch should future proof this test. Signed-off-by: C