Re: [PATCH v3 10/21] powerpc/mm: Define radix_enabled() in one place & use static inline

2016-07-29 Thread Balbir Singh
On Fri, 2016-07-29 at 21:42 +1000, Michael Ellerman wrote: > Nicholas Piggin writes: >  > >  > > On Thu, 28 Jul 2016 00:18:06 +1000 > > Michael Ellerman wrote: > > >  > > > diff --git a/arch/powerpc/include/asm/mmu.h > > > b/arch/powerpc/include/asm/mmu.h index eb942a446969..f413b3213a3b > > > 10

Re: [PATCH v3 10/21] powerpc/mm: Define radix_enabled() in one place & use static inline

2016-07-29 Thread Michael Ellerman
Nicholas Piggin writes: > On Thu, 28 Jul 2016 00:18:06 +1000 > Michael Ellerman wrote: >> diff --git a/arch/powerpc/include/asm/mmu.h >> b/arch/powerpc/include/asm/mmu.h index eb942a446969..f413b3213a3b >> 100644 --- a/arch/powerpc/include/asm/mmu.h >> +++ b/arch/powerpc/include/asm/mmu.h >> @@

Re: [PATCH] cxl: replace loop with for_each_child_of_node(), remove unneeded of_node_put()

2016-07-29 Thread Michael Ellerman
Andrew Donnellan writes: > Rewrite the cxl_guest_init_afu() loop in cxl_of_probe() to use > for_each_child_of_node() rather than a hand-coded for loop. > > Remove the useless of_node_put(afu_np) call after the loop, where it's > guaranteed that afu_np == NULL. > > Reported-by: SF Markus Elfring

[PATCH] selftests/powerpc: Specify we expect to build with std=gnu99

2016-07-29 Thread Michael Ellerman
We have some tests that assume we're using std=gnu99, which is fine on most compilers, but some old compilers use a different default. So make it explicit that we want to use std=gnu99. Signed-off-by: Michael Ellerman --- tools/testing/selftests/powerpc/Makefile | 2 +- 1 file changed, 1 insert

[PATCH] ppc64: allow ptrace to set TM bits

2016-07-29 Thread Laurent Dufour
This patch allows the MSR bits relative to the Transactional memory state to be manipulated through the ptrace API. However, in the case the TM available bit is not set in the manipulated MSR, the changes are ignored. When dealing with the checkpointed MSR, we must be sure that the TM state bits

Re: [PATCH] cxl: replace loop with for_each_child_of_node(), remove unneeded of_node_put()

2016-07-29 Thread Julia Lawall
On Fri, 29 Jul 2016, walter harms wrote: > > > Am 29.07.2016 05:55, schrieb Andrew Donnellan: > > Rewrite the cxl_guest_init_afu() loop in cxl_of_probe() to use > > for_each_child_of_node() rather than a hand-coded for loop. > > > > Remove the useless of_node_put(afu_np) call after the loop, whe

Re: [PATCH] cxl: replace loop with for_each_child_of_node(), remove unneeded of_node_put()

2016-07-29 Thread walter harms
Am 29.07.2016 05:55, schrieb Andrew Donnellan: > Rewrite the cxl_guest_init_afu() loop in cxl_of_probe() to use > for_each_child_of_node() rather than a hand-coded for loop. > > Remove the useless of_node_put(afu_np) call after the loop, where it's > guaranteed that afu_np == NULL. > > Reported

Re: [PATCH] cxl: replace loop with for_each_child_of_node(), remove unneeded of_node_put()

2016-07-29 Thread Frederic Barrat
Le 29/07/2016 à 05:55, Andrew Donnellan a écrit : Rewrite the cxl_guest_init_afu() loop in cxl_of_probe() to use for_each_child_of_node() rather than a hand-coded for loop. Remove the useless of_node_put(afu_np) call after the loop, where it's guaranteed that afu_np == NULL. Reported-by: SF Ma