Re: [PATCH 0/2] powerpc: kretprobe updates

2017-02-18 Thread Masami Hiramatsu
On Fri, 17 Feb 2017 17:42:54 -0300 Arnaldo Carvalho de Melo wrote: > Em Fri, Feb 17, 2017 at 07:44:33PM +0900, Masami Hiramatsu escreveu: > > On Thu, 16 Feb 2017 13:47:37 +0530 > > "Naveen N. Rao" wrote: > > > > > I am posting the powerpc bits in the same thread so as to keep these > > > change

[PATCH] tools/testing/selftests/powerpc: remove redundant CFLAGS in Makefile: "-Wall -O2 -Wall" -> "-O2 -Wall"

2017-02-18 Thread Chijun Sima
There are repeated compiler flags "-Wall" in the Makefile. The redundant compiler flag appears to have been there from the introduction of the Makefile. Signed-off-by: Chijun Sima --- tools/testing/selftests/powerpc/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t

[PATCH] powerpc/perf: Add PROBENOP macro for debug

2017-02-18 Thread Madhavan Srinivasan
>From PowerISA v2.07, architecture provides a special NOP instruction called "Probe-Nop" defined as "and 0,0,0". This form of "and" is reserved for use exclusively by the Performance Monitor. Usage example: Add PROBENOP() macro to __tlbie() in hash_native_64.c to verify the number of TLBIE. Power

Re: [RFC PATCH] powerpc: Fix dubious r0 usage

2017-02-18 Thread Michael Ellerman
Alan Modra writes: > On Fri, Feb 17, 2017 at 11:08:53PM +1100, Michael Ellerman wrote: >> Bleeding edge binutils no longer accepts r0 in places where the CPU >> interprets the value as a literal 0. > > Wow! That was quite some cleanup. I think I'd better turn the error > into a warning.. That

Re: Pull request: scottwood/linux.git next

2017-02-18 Thread Michael Ellerman
Scott Wood writes: > On Fri, 2017-01-27 at 17:53 -0600, Scott Wood wrote: >> Highlights include 8xx breakpoints and perf, t1042rdb display support, >> and board updates. >> >> The following changes since commit 7ce7d89f48834cefece7804d38fc5d85382edf77: >> >>   Linux 4.10-rc1 (2016-12-25 16:13:0