Skip to contentSkip to conversation

Support for Xeon-Phi with newer MPSS

PATCH Applied Didier Nadeau 2 participants 2 messages Dec 16, 2015 – Dec 17, 2015 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

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

2015-12-16 15:02 GMT-05:00 Didier Nadeau <[email protected]>:

Quoted 32 lines

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.

---
 configure.ac | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
configure.ac +1 -0
index e7e300b..39a7777 100644
@@ -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"],[

Quoted 7 lines
                AC_MSG_RESULT([yes])
                AC_DEFINE([CONFIG_RCU_HAVE_FENCE], [1])
        ],[

--
1.9.1

_______________________________________________
lttng-dev mailing list
[email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

#2 lore raw
In reply to a message not in the archive

merged into urcu master and stable-0.9, thanks!

Mathieu

Quoted 41 lines · ----- On Dec 16, 2015, at 3:02 PM, Didier Nadeau [email protected] 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.

---
configure.ac | 3 ++-

1 file changed, 2 insertions(+), 1 deletion(-)
configure.ac +1 -1
index e7e300b..39a7777 100644
@@ -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"],[

configure.ac +1 -0
+	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
[email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

Signature · 3 lines
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com