All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH] Support for Xeon-Phi with newer MPSS
       [not found] <1450296167-9584-1-git-send-email-didier.nadeau@gmail.com>
@ 2015-12-16 20:21 ` Didier Nadeau
  2015-12-17 12:56 ` Mathieu Desnoyers
  1 sibling, 0 replies; 3+ messages in thread
From: Didier Nadeau @ 2015-12-16 20:21 UTC (permalink / raw)
  To: lttng-dev


[-- Attachment #1.1: Type: text/plain, Size: 1503 bytes --]

This patch concerns userspace-rcu, I should have specified it.

2015-12-16 15:02 GMT-05:00 Didier Nadeau <didier.nadeau@gmail.com>:

> The Xeon-Phi is now considered as a new architecture instead of a
> vendor in MPSS version 3.4.4. This change is backward compatible with
> previous MPSS versions.
>
> Signed-off-by: Didier Nadeau <didier.nadeau@gmail.com>
> ---
>  configure.ac | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/configure.ac b/configure.ac
> index e7e300b..39a7777 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -103,6 +103,7 @@ AC_CHECK_HEADERS([ \
>
>  # Find arch type
>  AS_CASE([$host_cpu],
> +       [k1om], [ARCHTYPE="x86"],
>         [i386], [ARCHTYPE="x86" && SUBARCHTYPE="x86compat"],
>         [i486], [ARCHTYPE="x86"],
>         [i586], [ARCHTYPE="x86"],
> @@ -189,7 +190,7 @@ AS_IF([test "x$ARCHTYPE" = "xx86"],[
>         #
>         #k1om is the name for the Intel MIC family (Xeon Phi). It is an
> x86_64
>         #variant but lacks fence instructions.
> -       AS_IF([test "x$host_cpu" != "xi386" -a "x$host_cpu" != "xi486" -a
> "x$host_cpu" != "xi586" -a "x$host_cpu" != "xi686" -a "x$host_vendor" !=
> "xk1om"],[
> +       AS_IF([test "x$host_cpu" != "xi386" -a "x$host_cpu" != "xi486" -a
> "x$host_cpu" != "xi586" -a "x$host_cpu" != "xi686" -a "x$host_vendor" !=
> "xk1om" -a "x$host_cpu" != "xk1om"],[
>                 AC_MSG_RESULT([yes])
>                 AC_DEFINE([CONFIG_RCU_HAVE_FENCE], [1])
>         ],[
> --
> 1.9.1
>
>

[-- Attachment #1.2: Type: text/html, Size: 2697 bytes --]

[-- Attachment #2: Type: text/plain, Size: 155 bytes --]

_______________________________________________
lttng-dev mailing list
lttng-dev@lists.lttng.org
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

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

* Re: [PATCH] Support for Xeon-Phi with newer MPSS
       [not found] <1450296167-9584-1-git-send-email-didier.nadeau@gmail.com>
  2015-12-16 20:21 ` [PATCH] Support for Xeon-Phi with newer MPSS Didier Nadeau
@ 2015-12-17 12:56 ` Mathieu Desnoyers
  1 sibling, 0 replies; 3+ messages in thread
From: Mathieu Desnoyers @ 2015-12-17 12:56 UTC (permalink / raw)
  To: Didier Nadeau; +Cc: lttng-dev

merged into urcu master and stable-0.9, thanks!

Mathieu

----- On Dec 16, 2015, at 3:02 PM, Didier Nadeau didier.nadeau@gmail.com wrote:

> The Xeon-Phi is now considered as a new architecture instead of a
> vendor in MPSS version 3.4.4. This change is backward compatible with
> previous MPSS versions.
> 
> Signed-off-by: Didier Nadeau <didier.nadeau@gmail.com>
> ---
> configure.ac | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/configure.ac b/configure.ac
> index e7e300b..39a7777 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -103,6 +103,7 @@ AC_CHECK_HEADERS([ \
> 
> # Find arch type
> AS_CASE([$host_cpu],
> +	[k1om], [ARCHTYPE="x86"],
> 	[i386], [ARCHTYPE="x86" && SUBARCHTYPE="x86compat"],
> 	[i486], [ARCHTYPE="x86"],
> 	[i586], [ARCHTYPE="x86"],
> @@ -189,7 +190,7 @@ AS_IF([test "x$ARCHTYPE" = "xx86"],[
> 	#
> 	#k1om is the name for the Intel MIC family (Xeon Phi). It is an x86_64
> 	#variant but lacks fence instructions.
> -	AS_IF([test "x$host_cpu" != "xi386" -a "x$host_cpu" != "xi486" -a "x$host_cpu"
> != "xi586" -a "x$host_cpu" != "xi686" -a "x$host_vendor" != "xk1om"],[
> +	AS_IF([test "x$host_cpu" != "xi386" -a "x$host_cpu" != "xi486" -a "x$host_cpu"
> != "xi586" -a "x$host_cpu" != "xi686" -a "x$host_vendor" != "xk1om" -a
> "x$host_cpu" != "xk1om"],[
> 		AC_MSG_RESULT([yes])
> 		AC_DEFINE([CONFIG_RCU_HAVE_FENCE], [1])
> 	],[
> --
> 1.9.1
> 
> 
> _______________________________________________
> lttng-dev mailing list
> lttng-dev@lists.lttng.org
> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

-- 
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com

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

* [PATCH] Support for Xeon-Phi with newer MPSS
@ 2015-12-16 20:02 Didier Nadeau
  0 siblings, 0 replies; 3+ messages in thread
From: Didier Nadeau @ 2015-12-16 20:02 UTC (permalink / raw)
  To: lttng-dev

The Xeon-Phi is now considered as a new architecture instead of a
vendor in MPSS version 3.4.4. This change is backward compatible with
previous MPSS versions.

Signed-off-by: Didier Nadeau <didier.nadeau@gmail.com>
---
 configure.ac | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index e7e300b..39a7777 100644
--- a/configure.ac
+++ b/configure.ac
@@ -103,6 +103,7 @@ AC_CHECK_HEADERS([ \
 
 # Find arch type
 AS_CASE([$host_cpu],
+	[k1om], [ARCHTYPE="x86"],
 	[i386], [ARCHTYPE="x86" && SUBARCHTYPE="x86compat"],
 	[i486], [ARCHTYPE="x86"],
 	[i586], [ARCHTYPE="x86"],
@@ -189,7 +190,7 @@ AS_IF([test "x$ARCHTYPE" = "xx86"],[
 	#
 	#k1om is the name for the Intel MIC family (Xeon Phi). It is an x86_64
 	#variant but lacks fence instructions.
-	AS_IF([test "x$host_cpu" != "xi386" -a "x$host_cpu" != "xi486" -a "x$host_cpu" != "xi586" -a "x$host_cpu" != "xi686" -a "x$host_vendor" != "xk1om"],[
+	AS_IF([test "x$host_cpu" != "xi386" -a "x$host_cpu" != "xi486" -a "x$host_cpu" != "xi586" -a "x$host_cpu" != "xi686" -a "x$host_vendor" != "xk1om" -a "x$host_cpu" != "xk1om"],[
 		AC_MSG_RESULT([yes])
 		AC_DEFINE([CONFIG_RCU_HAVE_FENCE], [1])
 	],[
-- 
1.9.1

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

end of thread, other threads:[~2015-12-17 12:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1450296167-9584-1-git-send-email-didier.nadeau@gmail.com>
2015-12-16 20:21 ` [PATCH] Support for Xeon-Phi with newer MPSS Didier Nadeau
2015-12-17 12:56 ` Mathieu Desnoyers
2015-12-16 20:02 Didier Nadeau

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.