Re: [PATCH v2 1/4] powerpc/tm: Remove msr_tm_active()

2018-08-20 Thread Michael Ellerman
Breno Leitao writes: > On 08/16/2018 09:49 PM, Michael Ellerman wrote: >> Michael Neuling writes: >> >>> On Mon, 2018-06-18 at 19:59 -0300, Breno Leitao wrote: Currently msr_tm_active() is a wrapper around MSR_TM_ACTIVE() if CONFIG_PPC_TRANSACTIONAL_MEM is set, or it is just a function

Re: [PATCH v2 1/4] powerpc/tm: Remove msr_tm_active()

2018-08-17 Thread Breno Leitao
Hi Michael, On 08/16/2018 09:49 PM, Michael Ellerman wrote: > Michael Neuling writes: > >> On Mon, 2018-06-18 at 19:59 -0300, Breno Leitao wrote: >>> Currently msr_tm_active() is a wrapper around MSR_TM_ACTIVE() if >>> CONFIG_PPC_TRANSACTIONAL_MEM is set, or it is just a function that >>> return

Re: [PATCH v2 1/4] powerpc/tm: Remove msr_tm_active()

2018-08-16 Thread Michael Ellerman
Michael Neuling writes: > On Mon, 2018-06-18 at 19:59 -0300, Breno Leitao wrote: >> Currently msr_tm_active() is a wrapper around MSR_TM_ACTIVE() if >> CONFIG_PPC_TRANSACTIONAL_MEM is set, or it is just a function that >> returns false if CONFIG_PPC_TRANSACTIONAL_MEM is not set. >> >> This funct

Re: [PATCH v2 1/4] powerpc/tm: Remove msr_tm_active()

2018-08-16 Thread Michael Neuling
On Mon, 2018-06-18 at 19:59 -0300, Breno Leitao wrote: > Currently msr_tm_active() is a wrapper around MSR_TM_ACTIVE() if > CONFIG_PPC_TRANSACTIONAL_MEM is set, or it is just a function that > returns false if CONFIG_PPC_TRANSACTIONAL_MEM is not set. > > This function is not necessary, since MSR_T

[PATCH v2 1/4] powerpc/tm: Remove msr_tm_active()

2018-06-18 Thread Breno Leitao
Currently msr_tm_active() is a wrapper around MSR_TM_ACTIVE() if CONFIG_PPC_TRANSACTIONAL_MEM is set, or it is just a function that returns false if CONFIG_PPC_TRANSACTIONAL_MEM is not set. This function is not necessary, since MSR_TM_ACTIVE() just do the same, checking for the TS bits and does no