Re: powerpc/tm: Fix HFSCR bit for no suspend case

2018-09-19 Thread Michael Ellerman
On Tue, 2018-09-11 at 03:07:56 UTC, Michael Neuling wrote: > Currently on P9N DD2.1 we end up taking infinite TM facility > unavailable exceptions on the first TM usage by userspace. > > In the special case of TM no suspend (P9N DD2.1), Linux is told TM is > off via CPU dt-ftrs but told to (partia

Re: [PATCH] powerpc/tm: Fix HFSCR bit for no suspend case

2018-09-16 Thread Breno Leitao
On 09/11/2018 12:07 AM, Michael Neuling wrote: > Currently on P9N DD2.1 we end up taking infinite TM facility > unavailable exceptions on the first TM usage by userspace. > > In the special case of TM no suspend (P9N DD2.1), Linux is told TM is > off via CPU dt-ftrs but told to (partially) use it

[PATCH] powerpc/tm: Fix HFSCR bit for no suspend case

2018-09-10 Thread Michael Neuling
Currently on P9N DD2.1 we end up taking infinite TM facility unavailable exceptions on the first TM usage by userspace. In the special case of TM no suspend (P9N DD2.1), Linux is told TM is off via CPU dt-ftrs but told to (partially) use it via OPAL_REINIT_CPUS_TM_SUSPEND_DISABLED. So HFSCR[TM] wi