public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] perf tools: add CRIS support
@ 2015-02-19 19:35 Rabin Vincent
  2015-02-25 21:26 ` Arnaldo Carvalho de Melo
  0 siblings, 1 reply; 3+ messages in thread
From: Rabin Vincent @ 2015-02-19 19:35 UTC (permalink / raw)
  To: Arnaldo Carvalho de Melo, Ingo Molnar, Paul Mackerras
  Cc: linux-kernel, linux-cris-kernel, Rabin Vincent

Define the required macros to allow perf to be built for CRIS.

Signed-off-by: Rabin Vincent <rabin@rab.in>
---
 tools/perf/perf-sys.h | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/tools/perf/perf-sys.h b/tools/perf/perf-sys.h
index 6ef6816..bc19550 100644
--- a/tools/perf/perf-sys.h
+++ b/tools/perf/perf-sys.h
@@ -122,6 +122,13 @@
 #define cpu_relax()	asm volatile("yield" ::: "memory")
 #endif
 
+#ifdef __cris__
+#define mb()		asm volatile("" ::: "memory")
+#define wmb()		asm volatile("" ::: "memory")
+#define rmb()		asm volatile("" ::: "memory")
+#define CPUINFO_PROC	{"cpu model"}
+#endif
+
 #ifdef __mips__
 #define mb()		asm volatile(					\
 				".set	mips2\n\t"			\
-- 
2.1.4


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] perf tools: add CRIS support
  2015-02-19 19:35 [PATCH] perf tools: add CRIS support Rabin Vincent
@ 2015-02-25 21:26 ` Arnaldo Carvalho de Melo
  2015-05-16 14:48   ` Rabin Vincent
  0 siblings, 1 reply; 3+ messages in thread
From: Arnaldo Carvalho de Melo @ 2015-02-25 21:26 UTC (permalink / raw)
  To: Rabin Vincent
  Cc: Ingo Molnar, Paul Mackerras, linux-kernel, linux-cris-kernel

Em Thu, Feb 19, 2015 at 08:35:26PM +0100, Rabin Vincent escreveu:
> Define the required macros to allow perf to be built for CRIS.

Thanks, applied to perf/core

- Arnaldo
 
> Signed-off-by: Rabin Vincent <rabin@rab.in>
> ---
>  tools/perf/perf-sys.h | 7 +++++++
>  1 file changed, 7 insertions(+)
> 
> diff --git a/tools/perf/perf-sys.h b/tools/perf/perf-sys.h
> index 6ef6816..bc19550 100644
> --- a/tools/perf/perf-sys.h
> +++ b/tools/perf/perf-sys.h
> @@ -122,6 +122,13 @@
>  #define cpu_relax()	asm volatile("yield" ::: "memory")
>  #endif
>  
> +#ifdef __cris__
> +#define mb()		asm volatile("" ::: "memory")
> +#define wmb()		asm volatile("" ::: "memory")
> +#define rmb()		asm volatile("" ::: "memory")
> +#define CPUINFO_PROC	{"cpu model"}
> +#endif
> +
>  #ifdef __mips__
>  #define mb()		asm volatile(					\
>  				".set	mips2\n\t"			\
> -- 
> 2.1.4

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] perf tools: add CRIS support
  2015-02-25 21:26 ` Arnaldo Carvalho de Melo
@ 2015-05-16 14:48   ` Rabin Vincent
  0 siblings, 0 replies; 3+ messages in thread
From: Rabin Vincent @ 2015-05-16 14:48 UTC (permalink / raw)
  To: Arnaldo Carvalho de Melo
  Cc: Ingo Molnar, Paul Mackerras, linux-kernel, linux-cris-kernel

On Wed, Feb 25, 2015 at 06:26:31PM -0300, Arnaldo Carvalho de Melo wrote:
> Em Thu, Feb 19, 2015 at 08:35:26PM +0100, Rabin Vincent escreveu:
> > Define the required macros to allow perf to be built for CRIS.
> 
> Thanks, applied to perf/core

Thanks, but unless I'm missing something, this patch seems to have
neither made it to mainline nor perf/core yet?

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-05-16 14:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-19 19:35 [PATCH] perf tools: add CRIS support Rabin Vincent
2015-02-25 21:26 ` Arnaldo Carvalho de Melo
2015-05-16 14:48   ` Rabin Vincent

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox