From patchwork Wed Feb 14 08:00:15 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Github ODP bot X-Patchwork-Id: 128316 Delivered-To: patch@linaro.org Received: by 10.46.124.24 with SMTP id x24csp342325ljc; Wed, 14 Feb 2018 00:02:27 -0800 (PST) X-Google-Smtp-Source: AH8x224NilDdmYMsV/0gdz+y3A2fOMg8hRhe3PhthI9NifjFytlAJv32A3zsuwwwOMIQn34ZrYrH X-Received: by 10.55.6.1 with SMTP id 1mr6211970qkg.38.1518595347368; Wed, 14 Feb 2018 00:02:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518595347; cv=none; d=google.com; s=arc-20160816; b=CLzAMkO5kYC3ICfGm8LUF+HDETXtvxo29baJI7EyU1q7OKpAk0wgUzIF+O0+GLyD7V pqtOOG/C/obeItBi8oIw8t7TctTioB6u5+rDTcqsVmomu6sq57ZgsQvBdMAp6ap9C4sh T0CzXcTShpQHV1ZivdOC7WADMTqprcMv9hzhERvfP/GVXfBGLs3YTMU4uCYooizaVcBv nm7pWH1c/4FanlBhRSEzgl98im1UoGsAqTLLAKvYctk05wnFV7bS2z+TCedvXO5rPqdN xhtoZPrHLRrMz3R1SVP20oJ6Pczw/l2IG0ALoYedJj4NguIWDTZ84Bt8bx82FwGfbkaB Mxmg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:github-pr-num :references:in-reply-to:message-id:date:to:from:delivered-to :arc-authentication-results; bh=WOJDUD8LqU6+oGu0PuhkPbmBSNl60bbsq4iQXXNc0eE=; b=QAzSVkENR44IxMP4a1YDzSwGSOPrt6rx01sYR61KoNh7mfI/JKgrGJLsWQwsUWoOjF OC+rxeFW+08vZL/8mNtSEtk/7zHyf4i60H9Q3+Zkm/nNQCdGDHmii/qGuDibk7HgeKSk IKFADaGPUZXmVsjC3a0wNqzINVDdfbAEHOCi0JGIvha9itBoVmxgnch3vUC82AuTZi+1 kZBm+2RfzXqs6cLgU1jWqVOdB4darVOwxvgoiwXVNA/b7elKhL5sj3KaEXCDOx5foAUb JRSvfquSOaCAO/X/7CU3Btei5p/jqylRDGOIO9WakuJRC1a5KwI/Yj1FeUOB+wEH1FAt Pnaw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Return-Path: Received: from lists.linaro.org (ec2-54-197-127-237.compute-1.amazonaws.com. [54.197.127.237]) by mx.google.com with ESMTP id v1si4199193qtv.406.2018.02.14.00.02.26; Wed, 14 Feb 2018 00:02:27 -0800 (PST) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) client-ip=54.197.127.237; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Received: by lists.linaro.org (Postfix, from userid 109) id D2B87617D7; Wed, 14 Feb 2018 08:02:26 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id BBE49616DF; Wed, 14 Feb 2018 08:00:49 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id E8BE1614E1; Wed, 14 Feb 2018 08:00:40 +0000 (UTC) Received: from forward103j.mail.yandex.net (forward103j.mail.yandex.net [5.45.198.246]) by lists.linaro.org (Postfix) with ESMTPS id D1D92614E1 for ; Wed, 14 Feb 2018 08:00:24 +0000 (UTC) Received: from mxback4o.mail.yandex.net (mxback4o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::1e]) by forward103j.mail.yandex.net (Yandex) with ESMTP id A176F34C2F3C for ; Wed, 14 Feb 2018 11:00:22 +0300 (MSK) Received: from smtp1p.mail.yandex.net (smtp1p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:6]) by mxback4o.mail.yandex.net (nwsmtp/Yandex) with ESMTP id yZxdhIJpmQ-0ML0stXW; Wed, 14 Feb 2018 11:00:22 +0300 Received: by smtp1p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id Y4JUh4BhDF-0LZmnDRv; Wed, 14 Feb 2018 11:00:21 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Wed, 14 Feb 2018 11:00:15 +0300 Message-Id: <1518595221-854-2-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1518595221-854-1-git-send-email-odpbot@yandex.ru> References: <1518595221-854-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 462 Subject: [lng-odp] [PATCH v1 1/7] build: support building for generic arch X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" From: Dmitry Eremin-Solenikov Support building ODP for generic architecture, using default ARCH code. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 462 (lumag:default-abi) ** https://github.com/Linaro/odp/pull/462 ** Patch: https://github.com/Linaro/odp/pull/462.patch ** Base sha: 41b3fa2cd994a7ef68290a07dcde5564e4640847 ** Merge commit sha: 92a3ed64c30441cbca76e6f8ab5c086fe0c83a18 **/ configure.ac | 8 ++++---- platform/linux-generic/Makefile.am | 10 +++++++++ .../linux-generic/arch/default/odp/api/abi/cpu.h | 24 ++++++++++++++++++++++ 3 files changed, 38 insertions(+), 4 deletions(-) create mode 100644 platform/linux-generic/arch/default/odp/api/abi/cpu.h diff --git a/configure.ac b/configure.ac index a44a2ec6f..97f0af400 100644 --- a/configure.ac +++ b/configure.ac @@ -159,17 +159,16 @@ AS_CASE([$host], [powerpc*], [ARCH_DIR=powerpc], [aarch64*], [ARCH_DIR=aarch64], [arm*], [ARCH_DIR=arm], - [ARCH_DIR=undefined] + [ARCH_DIR=default] ) AC_SUBST([ARCH_DIR]) ########################################################################## # Warn on the defaults if arch is undefined ########################################################################## -if test "${ARCH_DIR}" = "undefined"; +if test "${ARCH_DIR}" = "default"; then - echo "ARCH_DIR is undefined, please add your ARCH_DIR based on host=${host}" - exit 1 + AC_MSG_WARN([ARCH_DIR is undefined, please add your ARCH_DIR based on host=${host}]) fi ########################################################################## @@ -280,6 +279,7 @@ AM_CONDITIONAL([HAVE_MSCGEN], [test "x${MSCGEN}" = "xmscgen"]) AM_CONDITIONAL([helper_linux], [test x$helper_linux = xyes ]) AM_CONDITIONAL([ARCH_IS_ARM], [test "x${ARCH_DIR}" = "xarm"]) AM_CONDITIONAL([ARCH_IS_AARCH64], [test "x${ARCH_DIR}" = "xaarch64"]) +AM_CONDITIONAL([ARCH_IS_DEFAULT], [test "x${ARCH_DIR}" = "xdefault"]) AM_CONDITIONAL([ARCH_IS_MIPS64], [test "x${ARCH_DIR}" = "xmips64"]) AM_CONDITIONAL([ARCH_IS_POWERPC], [test "x${ARCH_DIR}" = "xpowerpc"]) AM_CONDITIONAL([ARCH_IS_X86], [test "x${ARCH_DIR}" = "xx86"]) diff --git a/platform/linux-generic/Makefile.am b/platform/linux-generic/Makefile.am index 9e82f2622..bb5bc8134 100644 --- a/platform/linux-generic/Makefile.am +++ b/platform/linux-generic/Makefile.am @@ -241,6 +241,16 @@ noinst_HEADERS += arch/aarch64/odp_atomic.h \ arch/default/odp_cpu_idling.h \ arch/aarch64/odp_llsc.h endif +if ARCH_IS_DEFAULT +__LIB__libodp_linux_la_SOURCES += arch/default/odp_cpu_cycles.c \ + arch/default/odp_global_time.c \ + arch/default/odp_sysinfo_parse.c +if !ODP_ABI_COMPAT +odpapiabiarchinclude_HEADERS += arch/default/odp/api/abi/cpu.h +endif +noinst_HEADERS += arch/default/odp_cpu.h \ + arch/default/odp_cpu_idling.h +endif if ARCH_IS_MIPS64 __LIB__libodp_linux_la_SOURCES += arch/mips64/odp_cpu_cycles.c \ arch/default/odp_global_time.c \ diff --git a/platform/linux-generic/arch/default/odp/api/abi/cpu.h b/platform/linux-generic/arch/default/odp/api/abi/cpu.h new file mode 100644 index 000000000..0765339b4 --- /dev/null +++ b/platform/linux-generic/arch/default/odp/api/abi/cpu.h @@ -0,0 +1,24 @@ +/* Copyright (c) 2018, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#ifndef ODP_API_ABI_CPU_H_ +#define ODP_API_ABI_CPU_H_ + +#ifdef __cplusplus +extern "C" { +#endif + +#define ODP_CACHE_LINE_SIZE 64 + +static inline void odp_cpu_pause(void) +{ +} + +#ifdef __cplusplus +} +#endif + +#endif From patchwork Wed Feb 14 08:00:16 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Github ODP bot X-Patchwork-Id: 128319 Delivered-To: patch@linaro.org Received: by 10.46.124.24 with SMTP id x24csp344839ljc; Wed, 14 Feb 2018 00:05:34 -0800 (PST) X-Google-Smtp-Source: AH8x225HbBjJO1WeXX8nD8StfP/idWU1vDJBsPtyWY1M3HQ75JRmpICw4P/szlieatIPnZPq92Jv X-Received: by 10.55.118.4 with SMTP id r4mr6375467qkc.276.1518595534244; Wed, 14 Feb 2018 00:05:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518595534; cv=none; d=google.com; s=arc-20160816; b=zScTIWu7hwme44DCTV2DmeK0piQTUSo1NbY516cuVub8FKw2riOmVTd9Q1QqHa+uVu 1KaXiXU8ajSXgo6kPfwKebJJDrMcigZLP2YBtfbLZRf7ewlqW//Z0PeJ6exY69fEMAQG RgDxyT5tTVTvI3ZuqzUHozQiICF+eUACT7x1mixH5jxjdMN9D00ggoq11PjyuUA/8xoG e8aIoyUKwVD3kaJWjWDsjxepeTEkDImJTekHrZLqfphUgXODFrdspuZeiDRUAjYeCwjA ZyD7nIUTyNbhkXM7Iet2kfuEQh4yBevXCwO/MrOHnwYvt3Zj1eQIzQOghv/OPmRXG2J2 BeNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:github-pr-num :references:in-reply-to:message-id:date:to:from:delivered-to :arc-authentication-results; bh=jYOPule3SbqIFHJML3yWxzc9cNgDAkXAm4Bmiyx9swY=; b=p7Bg4cbRfMbAZD0Mr0jUotlj9/RIPp1E/KCNwbyJitrBk2rRkvQOOLs664bPg49KAo dK5TQuao0i0y1LiDXnp7pNO8hotL3AK/I7wA+KI4AZgZOdMzuv4xoGbNxYWYstaWpN01 OA7KInUxoAP+J962jNTSJNbZ5+Id5ti6JnxNWwt4NDdkigDQ6onJxVYbegRCg3oZwWPs q23NvEey2ohLPgFK5/kRWv7G1n2jF0BAT7Qz1ZUdeP1THRlgBNQAmROqmrvc2f3eGBHw BLsSD+a3cqNjLg7s3o8+QOieOf/0FaVVQG83q4iSvJGPFSFfKw1ACcXgmtXuUkL3ST50 /bWQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Return-Path: Received: from lists.linaro.org (ec2-54-197-127-237.compute-1.amazonaws.com. [54.197.127.237]) by mx.google.com with ESMTP id s25si2178971qts.177.2018.02.14.00.05.33; Wed, 14 Feb 2018 00:05:34 -0800 (PST) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) client-ip=54.197.127.237; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Received: by lists.linaro.org (Postfix, from userid 109) id B97F360D3D; Wed, 14 Feb 2018 08:05:33 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2 autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 136C9617B2; Wed, 14 Feb 2018 08:01:19 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id A52D661724; Wed, 14 Feb 2018 08:00:48 +0000 (UTC) Received: from forward104j.mail.yandex.net (forward104j.mail.yandex.net [5.45.198.247]) by lists.linaro.org (Postfix) with ESMTPS id DA5A0616F7 for ; Wed, 14 Feb 2018 08:00:27 +0000 (UTC) Received: from mxback2g.mail.yandex.net (mxback2g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:163]) by forward104j.mail.yandex.net (Yandex) with ESMTP id 9E33A42E6A for ; Wed, 14 Feb 2018 11:00:23 +0300 (MSK) Received: from smtp1p.mail.yandex.net (smtp1p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:6]) by mxback2g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id mDwnu6gr5p-0Ndid5ga; Wed, 14 Feb 2018 11:00:23 +0300 Received: by smtp1p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id Y4JUh4BhDF-0MZae7Ew; Wed, 14 Feb 2018 11:00:22 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Wed, 14 Feb 2018 11:00:16 +0300 Message-Id: <1518595221-854-3-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1518595221-854-1-git-send-email-odpbot@yandex.ru> References: <1518595221-854-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 462 Subject: [lng-odp] [PATCH v1 2/7] build: add default-linux ABI dir, supporting generic arch X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 462 (lumag:default-abi) ** https://github.com/Linaro/odp/pull/462 ** Patch: https://github.com/Linaro/odp/pull/462.patch ** Base sha: 41b3fa2cd994a7ef68290a07dcde5564e4640847 ** Merge commit sha: 92a3ed64c30441cbca76e6f8ab5c086fe0c83a18 **/ configure.ac | 7 ++-- include/Makefile.am | 38 ++++++++++++++++++++++ include/odp/arch/default-linux/odp/api/abi/align.h | 7 ++++ .../odp/arch/default-linux/odp/api/abi/atomic.h | 7 ++++ .../odp/arch/default-linux/odp/api/abi/barrier.h | 7 ++++ .../odp/arch/default-linux/odp/api/abi/buffer.h | 7 ++++ .../odp/arch/default-linux/odp/api/abi/byteorder.h | 7 ++++ .../default-linux/odp/api/abi/classification.h | 7 ++++ include/odp/arch/default-linux/odp/api/abi/cpu.h | 24 ++++++++++++++ .../odp/arch/default-linux/odp/api/abi/cpumask.h | 7 ++++ .../odp/arch/default-linux/odp/api/abi/crypto.h | 7 ++++ include/odp/arch/default-linux/odp/api/abi/debug.h | 7 ++++ include/odp/arch/default-linux/odp/api/abi/event.h | 7 ++++ include/odp/arch/default-linux/odp/api/abi/init.h | 7 ++++ include/odp/arch/default-linux/odp/api/abi/ipsec.h | 7 ++++ .../odp/arch/default-linux/odp/api/abi/packet.h | 7 ++++ .../arch/default-linux/odp/api/abi/packet_flags.h | 7 ++++ .../odp/arch/default-linux/odp/api/abi/packet_io.h | 7 ++++ include/odp/arch/default-linux/odp/api/abi/pool.h | 7 ++++ include/odp/arch/default-linux/odp/api/abi/queue.h | 7 ++++ .../odp/arch/default-linux/odp/api/abi/rwlock.h | 7 ++++ .../default-linux/odp/api/abi/rwlock_recursive.h | 7 ++++ .../odp/arch/default-linux/odp/api/abi/schedule.h | 7 ++++ .../default-linux/odp/api/abi/schedule_types.h | 7 ++++ .../arch/default-linux/odp/api/abi/shared_memory.h | 7 ++++ .../odp/arch/default-linux/odp/api/abi/spinlock.h | 7 ++++ .../default-linux/odp/api/abi/spinlock_recursive.h | 7 ++++ .../odp/arch/default-linux/odp/api/abi/std_clib.h | 7 ++++ .../odp/arch/default-linux/odp/api/abi/std_types.h | 7 ++++ include/odp/arch/default-linux/odp/api/abi/sync.h | 7 ++++ .../odp/arch/default-linux/odp/api/abi/thread.h | 7 ++++ .../odp/arch/default-linux/odp/api/abi/thrmask.h | 7 ++++ .../arch/default-linux/odp/api/abi/ticketlock.h | 7 ++++ include/odp/arch/default-linux/odp/api/abi/time.h | 7 ++++ include/odp/arch/default-linux/odp/api/abi/timer.h | 7 ++++ .../arch/default-linux/odp/api/abi/traffic_mngr.h | 7 ++++ .../odp/arch/default-linux/odp/api/abi/version.h | 7 ++++ 37 files changed, 303 insertions(+), 4 deletions(-) create mode 100644 include/odp/arch/default-linux/odp/api/abi/align.h create mode 100644 include/odp/arch/default-linux/odp/api/abi/atomic.h create mode 100644 include/odp/arch/default-linux/odp/api/abi/barrier.h create mode 100644 include/odp/arch/default-linux/odp/api/abi/buffer.h create mode 100644 include/odp/arch/default-linux/odp/api/abi/byteorder.h create mode 100644 include/odp/arch/default-linux/odp/api/abi/classification.h create mode 100644 include/odp/arch/default-linux/odp/api/abi/cpu.h create mode 100644 include/odp/arch/default-linux/odp/api/abi/cpumask.h create mode 100644 include/odp/arch/default-linux/odp/api/abi/crypto.h create mode 100644 include/odp/arch/default-linux/odp/api/abi/debug.h create mode 100644 include/odp/arch/default-linux/odp/api/abi/event.h create mode 100644 include/odp/arch/default-linux/odp/api/abi/init.h create mode 100644 include/odp/arch/default-linux/odp/api/abi/ipsec.h create mode 100644 include/odp/arch/default-linux/odp/api/abi/packet.h create mode 100644 include/odp/arch/default-linux/odp/api/abi/packet_flags.h create mode 100644 include/odp/arch/default-linux/odp/api/abi/packet_io.h create mode 100644 include/odp/arch/default-linux/odp/api/abi/pool.h create mode 100644 include/odp/arch/default-linux/odp/api/abi/queue.h create mode 100644 include/odp/arch/default-linux/odp/api/abi/rwlock.h create mode 100644 include/odp/arch/default-linux/odp/api/abi/rwlock_recursive.h create mode 100644 include/odp/arch/default-linux/odp/api/abi/schedule.h create mode 100644 include/odp/arch/default-linux/odp/api/abi/schedule_types.h create mode 100644 include/odp/arch/default-linux/odp/api/abi/shared_memory.h create mode 100644 include/odp/arch/default-linux/odp/api/abi/spinlock.h create mode 100644 include/odp/arch/default-linux/odp/api/abi/spinlock_recursive.h create mode 100644 include/odp/arch/default-linux/odp/api/abi/std_clib.h create mode 100644 include/odp/arch/default-linux/odp/api/abi/std_types.h create mode 100644 include/odp/arch/default-linux/odp/api/abi/sync.h create mode 100644 include/odp/arch/default-linux/odp/api/abi/thread.h create mode 100644 include/odp/arch/default-linux/odp/api/abi/thrmask.h create mode 100644 include/odp/arch/default-linux/odp/api/abi/ticketlock.h create mode 100644 include/odp/arch/default-linux/odp/api/abi/time.h create mode 100644 include/odp/arch/default-linux/odp/api/abi/timer.h create mode 100644 include/odp/arch/default-linux/odp/api/abi/traffic_mngr.h create mode 100644 include/odp/arch/default-linux/odp/api/abi/version.h diff --git a/configure.ac b/configure.ac index 97f0af400..dd82b66ec 100644 --- a/configure.ac +++ b/configure.ac @@ -181,14 +181,13 @@ AS_CASE([$host], [powerpc*], [ARCH_ABI=power64-linux], [aarch64*], [ARCH_ABI=arm64-linux], [arm*], [ARCH_ABI=arm32-linux], - [ARCH_ABI=undefined] + [ARCH_ABI=default-linux] ) AC_SUBST([ARCH_ABI]) -if test "${ARCH_ABI}" = "undefined"; +if test "${ARCH_ABI}" = "default-linux"; then - echo "ARCH_ABI is undefined, please add your ARCH_ABI based on host=${host}" - exit 1 + AC_MSG_WARN([ARCH_ABI is undefined, please add your ARCH_ABI based on host=${host}]) fi ########################################################################## diff --git a/include/Makefile.am b/include/Makefile.am index aa330b8d4..512002f87 100644 --- a/include/Makefile.am +++ b/include/Makefile.am @@ -226,6 +226,44 @@ odpapiabiarchinclude_HEADERS = \ odp/arch/arm64-linux/odp/api/abi/traffic_mngr.h \ odp/arch/arm64-linux/odp/api/abi/version.h endif +if ARCH_IS_DEFAULT +odpapiabiarchinclude_HEADERS = \ + odp/arch/default-linux/odp/api/abi/align.h \ + odp/arch/default-linux/odp/api/abi/atomic.h \ + odp/arch/default-linux/odp/api/abi/barrier.h \ + odp/arch/default-linux/odp/api/abi/buffer.h \ + odp/arch/default-linux/odp/api/abi/byteorder.h \ + odp/arch/default-linux/odp/api/abi/classification.h \ + odp/arch/default-linux/odp/api/abi/cpu.h \ + odp/arch/default-linux/odp/api/abi/cpumask.h \ + odp/arch/default-linux/odp/api/abi/crypto.h \ + odp/arch/default-linux/odp/api/abi/debug.h \ + odp/arch/default-linux/odp/api/abi/event.h \ + odp/arch/default-linux/odp/api/abi/init.h \ + odp/arch/default-linux/odp/api/abi/ipsec.h \ + odp/arch/default-linux/odp/api/abi/packet.h \ + odp/arch/default-linux/odp/api/abi/packet_flags.h \ + odp/arch/default-linux/odp/api/abi/packet_io.h \ + odp/arch/default-linux/odp/api/abi/pool.h \ + odp/arch/default-linux/odp/api/abi/queue.h \ + odp/arch/default-linux/odp/api/abi/rwlock.h \ + odp/arch/default-linux/odp/api/abi/rwlock_recursive.h \ + odp/arch/default-linux/odp/api/abi/schedule.h \ + odp/arch/default-linux/odp/api/abi/schedule_types.h \ + odp/arch/default-linux/odp/api/abi/shared_memory.h \ + odp/arch/default-linux/odp/api/abi/spinlock.h \ + odp/arch/default-linux/odp/api/abi/spinlock_recursive.h \ + odp/arch/default-linux/odp/api/abi/std_clib.h \ + odp/arch/default-linux/odp/api/abi/std_types.h \ + odp/arch/default-linux/odp/api/abi/sync.h \ + odp/arch/default-linux/odp/api/abi/thread.h \ + odp/arch/default-linux/odp/api/abi/thrmask.h \ + odp/arch/default-linux/odp/api/abi/ticketlock.h \ + odp/arch/default-linux/odp/api/abi/time.h \ + odp/arch/default-linux/odp/api/abi/timer.h \ + odp/arch/default-linux/odp/api/abi/traffic_mngr.h \ + odp/arch/default-linux/odp/api/abi/version.h +endif if ARCH_IS_MIPS64 odpapiabiarchinclude_HEADERS = \ odp/arch/mips64-linux/odp/api/abi/align.h \ diff --git a/include/odp/arch/default-linux/odp/api/abi/align.h b/include/odp/arch/default-linux/odp/api/abi/align.h new file mode 100644 index 000000000..a4692f5db --- /dev/null +++ b/include/odp/arch/default-linux/odp/api/abi/align.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2018, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/default-linux/odp/api/abi/atomic.h b/include/odp/arch/default-linux/odp/api/abi/atomic.h new file mode 100644 index 000000000..df1c2cd94 --- /dev/null +++ b/include/odp/arch/default-linux/odp/api/abi/atomic.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2018, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/default-linux/odp/api/abi/barrier.h b/include/odp/arch/default-linux/odp/api/abi/barrier.h new file mode 100644 index 000000000..5ccdf0179 --- /dev/null +++ b/include/odp/arch/default-linux/odp/api/abi/barrier.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2018, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/default-linux/odp/api/abi/buffer.h b/include/odp/arch/default-linux/odp/api/abi/buffer.h new file mode 100644 index 000000000..e030559aa --- /dev/null +++ b/include/odp/arch/default-linux/odp/api/abi/buffer.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2018, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/default-linux/odp/api/abi/byteorder.h b/include/odp/arch/default-linux/odp/api/abi/byteorder.h new file mode 100644 index 000000000..27219f946 --- /dev/null +++ b/include/odp/arch/default-linux/odp/api/abi/byteorder.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2018, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/default-linux/odp/api/abi/classification.h b/include/odp/arch/default-linux/odp/api/abi/classification.h new file mode 100644 index 000000000..4c3ba3271 --- /dev/null +++ b/include/odp/arch/default-linux/odp/api/abi/classification.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2018, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/default-linux/odp/api/abi/cpu.h b/include/odp/arch/default-linux/odp/api/abi/cpu.h new file mode 100644 index 000000000..0765339b4 --- /dev/null +++ b/include/odp/arch/default-linux/odp/api/abi/cpu.h @@ -0,0 +1,24 @@ +/* Copyright (c) 2018, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#ifndef ODP_API_ABI_CPU_H_ +#define ODP_API_ABI_CPU_H_ + +#ifdef __cplusplus +extern "C" { +#endif + +#define ODP_CACHE_LINE_SIZE 64 + +static inline void odp_cpu_pause(void) +{ +} + +#ifdef __cplusplus +} +#endif + +#endif diff --git a/include/odp/arch/default-linux/odp/api/abi/cpumask.h b/include/odp/arch/default-linux/odp/api/abi/cpumask.h new file mode 100644 index 000000000..b4e7a5df0 --- /dev/null +++ b/include/odp/arch/default-linux/odp/api/abi/cpumask.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2018, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/default-linux/odp/api/abi/crypto.h b/include/odp/arch/default-linux/odp/api/abi/crypto.h new file mode 100644 index 000000000..4f4b4368b --- /dev/null +++ b/include/odp/arch/default-linux/odp/api/abi/crypto.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2018, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/default-linux/odp/api/abi/debug.h b/include/odp/arch/default-linux/odp/api/abi/debug.h new file mode 100644 index 000000000..1bc031090 --- /dev/null +++ b/include/odp/arch/default-linux/odp/api/abi/debug.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2018, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/default-linux/odp/api/abi/event.h b/include/odp/arch/default-linux/odp/api/abi/event.h new file mode 100644 index 000000000..f87d61951 --- /dev/null +++ b/include/odp/arch/default-linux/odp/api/abi/event.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2018, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/default-linux/odp/api/abi/init.h b/include/odp/arch/default-linux/odp/api/abi/init.h new file mode 100644 index 000000000..bd64cf14d --- /dev/null +++ b/include/odp/arch/default-linux/odp/api/abi/init.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2018, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/default-linux/odp/api/abi/ipsec.h b/include/odp/arch/default-linux/odp/api/abi/ipsec.h new file mode 100644 index 000000000..5073680b7 --- /dev/null +++ b/include/odp/arch/default-linux/odp/api/abi/ipsec.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2018, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/default-linux/odp/api/abi/packet.h b/include/odp/arch/default-linux/odp/api/abi/packet.h new file mode 100644 index 000000000..a1e9b1a83 --- /dev/null +++ b/include/odp/arch/default-linux/odp/api/abi/packet.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2018, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/default-linux/odp/api/abi/packet_flags.h b/include/odp/arch/default-linux/odp/api/abi/packet_flags.h new file mode 100644 index 000000000..fd3e10d0e --- /dev/null +++ b/include/odp/arch/default-linux/odp/api/abi/packet_flags.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2018, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/default-linux/odp/api/abi/packet_io.h b/include/odp/arch/default-linux/odp/api/abi/packet_io.h new file mode 100644 index 000000000..e4220c63c --- /dev/null +++ b/include/odp/arch/default-linux/odp/api/abi/packet_io.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2018, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/default-linux/odp/api/abi/pool.h b/include/odp/arch/default-linux/odp/api/abi/pool.h new file mode 100644 index 000000000..720556359 --- /dev/null +++ b/include/odp/arch/default-linux/odp/api/abi/pool.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2018, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/default-linux/odp/api/abi/queue.h b/include/odp/arch/default-linux/odp/api/abi/queue.h new file mode 100644 index 000000000..04f0c6eb8 --- /dev/null +++ b/include/odp/arch/default-linux/odp/api/abi/queue.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2018, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/default-linux/odp/api/abi/rwlock.h b/include/odp/arch/default-linux/odp/api/abi/rwlock.h new file mode 100644 index 000000000..a6aa377db --- /dev/null +++ b/include/odp/arch/default-linux/odp/api/abi/rwlock.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2018, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/default-linux/odp/api/abi/rwlock_recursive.h b/include/odp/arch/default-linux/odp/api/abi/rwlock_recursive.h new file mode 100644 index 000000000..a78a2181f --- /dev/null +++ b/include/odp/arch/default-linux/odp/api/abi/rwlock_recursive.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2018, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/default-linux/odp/api/abi/schedule.h b/include/odp/arch/default-linux/odp/api/abi/schedule.h new file mode 100644 index 000000000..027265c1b --- /dev/null +++ b/include/odp/arch/default-linux/odp/api/abi/schedule.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2018, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/default-linux/odp/api/abi/schedule_types.h b/include/odp/arch/default-linux/odp/api/abi/schedule_types.h new file mode 100644 index 000000000..f9aa2005d --- /dev/null +++ b/include/odp/arch/default-linux/odp/api/abi/schedule_types.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2018, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/default-linux/odp/api/abi/shared_memory.h b/include/odp/arch/default-linux/odp/api/abi/shared_memory.h new file mode 100644 index 000000000..51e35e902 --- /dev/null +++ b/include/odp/arch/default-linux/odp/api/abi/shared_memory.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2018, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/default-linux/odp/api/abi/spinlock.h b/include/odp/arch/default-linux/odp/api/abi/spinlock.h new file mode 100644 index 000000000..46da3024e --- /dev/null +++ b/include/odp/arch/default-linux/odp/api/abi/spinlock.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2018, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/default-linux/odp/api/abi/spinlock_recursive.h b/include/odp/arch/default-linux/odp/api/abi/spinlock_recursive.h new file mode 100644 index 000000000..e75e753e8 --- /dev/null +++ b/include/odp/arch/default-linux/odp/api/abi/spinlock_recursive.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2018, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/default-linux/odp/api/abi/std_clib.h b/include/odp/arch/default-linux/odp/api/abi/std_clib.h new file mode 100644 index 000000000..048c9fc23 --- /dev/null +++ b/include/odp/arch/default-linux/odp/api/abi/std_clib.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2018, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/default-linux/odp/api/abi/std_types.h b/include/odp/arch/default-linux/odp/api/abi/std_types.h new file mode 100644 index 000000000..fa360e010 --- /dev/null +++ b/include/odp/arch/default-linux/odp/api/abi/std_types.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2018, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/default-linux/odp/api/abi/sync.h b/include/odp/arch/default-linux/odp/api/abi/sync.h new file mode 100644 index 000000000..cdab3a945 --- /dev/null +++ b/include/odp/arch/default-linux/odp/api/abi/sync.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2018, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/default-linux/odp/api/abi/thread.h b/include/odp/arch/default-linux/odp/api/abi/thread.h new file mode 100644 index 000000000..e34b7c7be --- /dev/null +++ b/include/odp/arch/default-linux/odp/api/abi/thread.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2018, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/default-linux/odp/api/abi/thrmask.h b/include/odp/arch/default-linux/odp/api/abi/thrmask.h new file mode 100644 index 000000000..14ff77702 --- /dev/null +++ b/include/odp/arch/default-linux/odp/api/abi/thrmask.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2018, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/default-linux/odp/api/abi/ticketlock.h b/include/odp/arch/default-linux/odp/api/abi/ticketlock.h new file mode 100644 index 000000000..268b80948 --- /dev/null +++ b/include/odp/arch/default-linux/odp/api/abi/ticketlock.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2018, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/default-linux/odp/api/abi/time.h b/include/odp/arch/default-linux/odp/api/abi/time.h new file mode 100644 index 000000000..85c7dd03f --- /dev/null +++ b/include/odp/arch/default-linux/odp/api/abi/time.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2018, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/default-linux/odp/api/abi/timer.h b/include/odp/arch/default-linux/odp/api/abi/timer.h new file mode 100644 index 000000000..b16649597 --- /dev/null +++ b/include/odp/arch/default-linux/odp/api/abi/timer.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2018, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/default-linux/odp/api/abi/traffic_mngr.h b/include/odp/arch/default-linux/odp/api/abi/traffic_mngr.h new file mode 100644 index 000000000..fcd838011 --- /dev/null +++ b/include/odp/arch/default-linux/odp/api/abi/traffic_mngr.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2018, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include diff --git a/include/odp/arch/default-linux/odp/api/abi/version.h b/include/odp/arch/default-linux/odp/api/abi/version.h new file mode 100644 index 000000000..36559ec84 --- /dev/null +++ b/include/odp/arch/default-linux/odp/api/abi/version.h @@ -0,0 +1,7 @@ +/* Copyright (c) 2018, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include From patchwork Wed Feb 14 08:00:17 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Github ODP bot X-Patchwork-Id: 128315 Delivered-To: patch@linaro.org Received: by 10.46.124.24 with SMTP id x24csp341854ljc; Wed, 14 Feb 2018 00:01:47 -0800 (PST) X-Google-Smtp-Source: AH8x225j1GTFk5qgSwLp79VvCxIEXfT0AOgNIllXae0T7y7wMSOgtEjDaPs9JculdsM7cqOMRSZZ X-Received: by 10.55.71.202 with SMTP id u193mr6405058qka.240.1518595307781; Wed, 14 Feb 2018 00:01:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518595307; cv=none; d=google.com; s=arc-20160816; b=UlB1y5Z9D+fwJYaN3DbfJ35liIYJtw0BMN2oNxWW/PFS66jVLY9gksfxfj3sA+zEDB lt9mkzEOLDfVpXrNeLVZXkuq5t2V9FsNw1aONejNHJvfMDNSgiNJ5g+9KVV0ugbdgGz/ k4Wntp3Jz2lrEiI85e3TyN+UJpYFEOyoX4v+0yOaLnFcnjExFNfg+sTAUM4ReUfNGNJg mHzaeIhok9HFWbT9SKBe5oPTvu+3Zvr7F1vlv72drJnCYDyr8zHUspfSfmGLX4n757qA yBm8BkujFQQ8JIvcZICCMRfbAdXrCb1BW5+e1+pl2do0it1/IM6ohWdQcaOdtmBNbeDI 209A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:github-pr-num :references:in-reply-to:message-id:date:to:from:delivered-to :arc-authentication-results; bh=aDvai6mMHPbfqL4PMnEIvMJ0qevALGcV8/vw8ZOBZ7I=; b=gpWhfWr+H/1S0HXbtwSNv1KMIHpbPhZuLPHwqmDB70aEC4nylwtmvZwapU5kYtSz6r iq6BDOjoN6vA8QlQsICd2KyphXFZIWV2Bopq8StRRaP9GC6Ujf65ehfrX2lj/CQOhYK2 DiyhuznDEhnKtgVLefxArIZkB9J+RNKQg3g4HRdh4k9fbt/4IWZYWduGTLEndNFpmfpd Ub++KoeCIc+Y7bV/4FxonGbHOF0tuowqiBU3hl1mpLD7Rx+n93X1UO102jkeaQAA0+ie PqqxKJth5C2+U2IHn7vs+zcPi3+hSlI7JsmBcOS3sukWzYrcnbNB8H0zkX8JnUT+MsjL 7pjQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Return-Path: Received: from lists.linaro.org (ec2-54-197-127-237.compute-1.amazonaws.com. [54.197.127.237]) by mx.google.com with ESMTP id i93si3342739qtd.240.2018.02.14.00.01.47; Wed, 14 Feb 2018 00:01:47 -0800 (PST) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) client-ip=54.197.127.237; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Received: by lists.linaro.org (Postfix, from userid 109) id 68396617D5; Wed, 14 Feb 2018 08:01:47 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2 autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 4004D607C4; Wed, 14 Feb 2018 08:00:45 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id BB0C6607C4; Wed, 14 Feb 2018 08:00:40 +0000 (UTC) Received: from forward105j.mail.yandex.net (forward105j.mail.yandex.net [5.45.198.248]) by lists.linaro.org (Postfix) with ESMTPS id 89021614E3 for ; Wed, 14 Feb 2018 08:00:25 +0000 (UTC) Received: from mxback6o.mail.yandex.net (mxback6o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::20]) by forward105j.mail.yandex.net (Yandex) with ESMTP id 22434184389 for ; Wed, 14 Feb 2018 11:00:24 +0300 (MSK) Received: from smtp1p.mail.yandex.net (smtp1p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:6]) by mxback6o.mail.yandex.net (nwsmtp/Yandex) with ESMTP id V58vBD6Zal-0N60sFOT; Wed, 14 Feb 2018 11:00:24 +0300 Received: by smtp1p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id Y4JUh4BhDF-0NZKDSHq; Wed, 14 Feb 2018 11:00:23 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Wed, 14 Feb 2018 11:00:17 +0300 Message-Id: <1518595221-854-4-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1518595221-854-1-git-send-email-odpbot@yandex.ru> References: <1518595221-854-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 462 Subject: [lng-odp] [PATCH v1 3/7] linux-gen: set DPDK's -msse4.2 flag during configure X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" From: Dmitry Eremin-Solenikov Use ${host} during configure time to detect if we should enable -msse4.2 flag when building with DPDK. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 462 (lumag:default-abi) ** https://github.com/Linaro/odp/pull/462 ** Patch: https://github.com/Linaro/odp/pull/462.patch ** Base sha: 41b3fa2cd994a7ef68290a07dcde5564e4640847 ** Merge commit sha: 92a3ed64c30441cbca76e6f8ab5c086fe0c83a18 **/ platform/linux-generic/Makefile.am | 6 ------ platform/linux-generic/m4/odp_dpdk.m4 | 6 ++++++ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/platform/linux-generic/Makefile.am b/platform/linux-generic/Makefile.am index bb5bc8134..7f212fe5e 100644 --- a/platform/linux-generic/Makefile.am +++ b/platform/linux-generic/Makefile.am @@ -13,12 +13,6 @@ AM_CPPFLAGS += $(OPENSSL_CPPFLAGS) AM_CPPFLAGS += $(DPDK_CPPFLAGS) AM_CPPFLAGS += $(NETMAP_CPPFLAGS) -if PKTIO_DPDK -if ARCH_IS_X86 -AM_CFLAGS += -msse4.2 -endif -endif - if !ODP_ABI_COMPAT odpapiplatincludedir= $(includedir)/odp/api/plat odpapiplatinclude_HEADERS = \ diff --git a/platform/linux-generic/m4/odp_dpdk.m4 b/platform/linux-generic/m4/odp_dpdk.m4 index b2193a168..cb2ed60df 100644 --- a/platform/linux-generic/m4/odp_dpdk.m4 +++ b/platform/linux-generic/m4/odp_dpdk.m4 @@ -34,6 +34,12 @@ then ODP_DPDK([$DPDK_PATH], [], [AC_MSG_FAILURE([can't find DPDK])]) + case "${host}" in + i?86* | x86*) + DPDK_CPPFLAGS="${DPDK_CPPFLAGS} -msse4.2" + ;; + esac + AC_DEFINE([ODP_PKTIO_DPDK], [1], [Define to 1 to enable DPDK packet I/O support]) AC_DEFINE_UNQUOTED([ODP_DPDK_ZERO_COPY], [$zero_copy], From patchwork Wed Feb 14 08:00:18 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Github ODP bot X-Patchwork-Id: 128318 Delivered-To: patch@linaro.org Received: by 10.46.124.24 with SMTP id x24csp343973ljc; Wed, 14 Feb 2018 00:04:29 -0800 (PST) X-Google-Smtp-Source: AH8x227v0EEuk38HTFgsE6R0nsx1wyzsm2CNwIMpH5/eOqOc4pME707Hhsn+P86A0T+4LqGLRIDo X-Received: by 10.200.10.4 with SMTP id b4mr987341qti.236.1518595469436; Wed, 14 Feb 2018 00:04:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518595469; cv=none; d=google.com; s=arc-20160816; b=BOUXIMajpRpoXStXl4PRXkSIotn4eStI4jekxE7LeBLc0PHMvqP44LINWD2ddxl/5l BaixB4N0JDcbZ1Fd6k3ssBoZ7ia+ssW9nl1fAwbiGizNfGpcqrC5Xok5j9LisC0Z4G3q PepoCBlSbN5LuFX4+dBFi4idUl1L24Ad1knEvfk09P1dgJaYzGBhLPBOCafyKOsHLFgI 0uIv5V9s46Fek1Sf0ZIx0KdW3UNgCtsYDLykUZ1rMbEEXZIhF7DZabErhQTQ7lTSt1uB OCsEknHfBDmb0qCpcTpqSjw3lqNqxvvR9cr6oMfSUUnonRYZ3JJuzE6OhX5JcBpKyyCU sTBg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:github-pr-num :references:in-reply-to:message-id:date:to:from:delivered-to :arc-authentication-results; bh=OKqJGritXR5Jm3GW1IIvFj16/4lEQfQwDPMjbRH75Uk=; b=rxKEapH10jk/+nxmzixAWf/HdXqdACgASx1SM7oOjHu3d1z8ilRT8TRRXPq5H+8nX6 zd5XtY4+rKQnVXvcWBU3uVs8oanfIIBb9LywPwU9LSXqm1Pw4dlgj4iVy/anonISYom6 v4RV/IJuS2FpoFqsOSYSantEJ58ihZWHWiDhvsa+AkIrhRF6TRKpTdaEUFdGjcqsr5pd 5KRQJxIUvx7MhY1ZqPPTrvslC1uRpCjYZS0iK0c7RmO1H+PkGN2gvn7x8Joq9Ou/Y9mZ N7IdIW3wUNLZ8xSwqczZu7magr4fXq4WYj5KVTA/FNZpG/rCoMmPZjqlJ0y2yCo5ErgV 2sqg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Return-Path: Received: from lists.linaro.org (ec2-54-197-127-237.compute-1.amazonaws.com. [54.197.127.237]) by mx.google.com with ESMTP id a12si1292264qkb.279.2018.02.14.00.04.29; Wed, 14 Feb 2018 00:04:29 -0800 (PST) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) client-ip=54.197.127.237; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Received: by lists.linaro.org (Postfix, from userid 109) id F04E66178D; Wed, 14 Feb 2018 08:04:28 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 7CE7C61795; Wed, 14 Feb 2018 08:01:07 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 693E0607C4; Wed, 14 Feb 2018 08:00:43 +0000 (UTC) Received: from forward100p.mail.yandex.net (forward100p.mail.yandex.net [77.88.28.100]) by lists.linaro.org (Postfix) with ESMTPS id 0FB9761527 for ; Wed, 14 Feb 2018 08:00:26 +0000 (UTC) Received: from mxback1j.mail.yandex.net (mxback1j.mail.yandex.net [IPv6:2a02:6b8:0:1619::10a]) by forward100p.mail.yandex.net (Yandex) with ESMTP id 9E40551043CE for ; Wed, 14 Feb 2018 11:00:24 +0300 (MSK) Received: from smtp1p.mail.yandex.net (smtp1p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:6]) by mxback1j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id Em3Gz4b3bx-0OcqBwbd; Wed, 14 Feb 2018 11:00:24 +0300 Received: by smtp1p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id Y4JUh4BhDF-0OZKUoXi; Wed, 14 Feb 2018 11:00:24 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Wed, 14 Feb 2018 11:00:18 +0300 Message-Id: <1518595221-854-5-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1518595221-854-1-git-send-email-odpbot@yandex.ru> References: <1518595221-854-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 462 Subject: [lng-odp] [PATCH v1 4/7] configure: add flag to build for host=default X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 462 (lumag:default-abi) ** https://github.com/Linaro/odp/pull/462 ** Patch: https://github.com/Linaro/odp/pull/462.patch ** Base sha: 41b3fa2cd994a7ef68290a07dcde5564e4640847 ** Merge commit sha: 92a3ed64c30441cbca76e6f8ab5c086fe0c83a18 **/ configure.ac | 25 +++++++++++++++++-------- 1 file changed, 17 insertions(+), 8 deletions(-) diff --git a/configure.ac b/configure.ac index dd82b66ec..799d0b7b7 100644 --- a/configure.ac +++ b/configure.ac @@ -163,14 +163,6 @@ AS_CASE([$host], ) AC_SUBST([ARCH_DIR]) -########################################################################## -# Warn on the defaults if arch is undefined -########################################################################## -if test "${ARCH_DIR}" = "default"; -then - AC_MSG_WARN([ARCH_DIR is undefined, please add your ARCH_DIR based on host=${host}]) -fi - ########################################################################## # Architecture for ABI support ########################################################################## @@ -185,6 +177,23 @@ AS_CASE([$host], ) AC_SUBST([ARCH_ABI]) +AC_ARG_ENABLE([host-optimization], + [AS_HELP_STRING([--disable-host-optimization], + [disables using host-specific ARCH and ABI files])], + [], [enable_host_optimization=yes]) +if test "x$enable_host_optimization" = "xno" ; then + ARCH_DIR=default + ARCH_ABI=default-linux +fi + +########################################################################## +# Warn on the defaults if arch is undefined +########################################################################## +if test "${ARCH_DIR}" = "default"; +then + AC_MSG_WARN([ARCH_DIR is undefined, please add your ARCH_DIR based on host=${host}]) +fi + if test "${ARCH_ABI}" = "default-linux"; then AC_MSG_WARN([ARCH_ABI is undefined, please add your ARCH_ABI based on host=${host}]) From patchwork Wed Feb 14 08:00:19 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Github ODP bot X-Patchwork-Id: 128317 Delivered-To: patch@linaro.org Received: by 10.46.124.24 with SMTP id x24csp343455ljc; Wed, 14 Feb 2018 00:03:52 -0800 (PST) X-Google-Smtp-Source: AH8x225jVSeesGH8wEl3EcmZne9npg3JiS9sR+p1FqKfJ921LCfvFLEM8Q7JCNUmLIH61XcbLNT+ X-Received: by 10.237.45.129 with SMTP id i1mr6438426qtd.126.1518595431949; Wed, 14 Feb 2018 00:03:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518595431; cv=none; d=google.com; s=arc-20160816; b=ito0wLtXNVatv0uq0PBPiFtDGlFsBNZYNB+xWlIXrBpyCHT6lu2E/iaGRg9TuXothJ NpMgreCH5PWPW6Eyp4oMhdPQEeIhE/Zc/foeaTwdr/LmCXMiGSx3CJbu9eUfoQp0P9RL nUpmEmCSWPTCM8nREbxWoBGTbWmXouBKqPEiehSwUg1TvtyTjyaFvBZ7Ajzx5Zwqbytv x28ge+sWPpE4Z+1skhZdQ9oPByoec2rJQWh/SDMeFmk5gwPyJ7TgWsI82MrfYR3+juqI X5t+qdiOh0IMj61D0WUGbMdcGcWlsKA9+vv/oCqaJ9uca+XNAL9c9NNswEXlrSjjO1EQ hZ0A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:github-pr-num :references:in-reply-to:message-id:date:to:from:delivered-to :arc-authentication-results; bh=hJUdX0xUz/keNI+N1OkhnRjULRd/Vp66I61e2Y8aCzw=; b=LNnHcGLyHgulVpwmVKz4eUXsy/99rzgdW1dZKaKW6cWr76NmeAZbhgh9/K3skeSsev 6ZhJdaKkzO3XFG5Dr/5eeSAHobjfdBAa//Z/mTuLZfvIcHJkIaVBKzsX/3pHEzD+JRLV Ci2zVdQ8Gl1XfmOoCKS4BmFcv8ObFJxZFI7uNiln6qREkYQgZlcMUJc/erugUoNOnwOD FF4iPadcuDd/rm00hHPAL9pJG/tdzUAEMsisKKOoK+nIHcuXG1juEmu0ySdRFEoY9vr+ s+LSK6eExTBKFMfSEGJGhw9ZOluxlzSR50J46gkcWeV7Wk6qReuM1dNPsOhGc6LLKdsr KHXQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Return-Path: Received: from lists.linaro.org (ec2-54-197-127-237.compute-1.amazonaws.com. [54.197.127.237]) by mx.google.com with ESMTP id y3si4999356qtj.345.2018.02.14.00.03.51; Wed, 14 Feb 2018 00:03:51 -0800 (PST) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) client-ip=54.197.127.237; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Received: by lists.linaro.org (Postfix, from userid 109) id 9DF116178D; Wed, 14 Feb 2018 08:03:51 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 41C8E61784; Wed, 14 Feb 2018 08:00:58 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id B3F58607C4; Wed, 14 Feb 2018 08:00:42 +0000 (UTC) Received: from forward106p.mail.yandex.net (forward106p.mail.yandex.net [77.88.28.109]) by lists.linaro.org (Postfix) with ESMTPS id 3A0F7616DF for ; Wed, 14 Feb 2018 08:00:27 +0000 (UTC) Received: from mxback2g.mail.yandex.net (mxback2g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:163]) by forward106p.mail.yandex.net (Yandex) with ESMTP id 0A14A2D830CC for ; Wed, 14 Feb 2018 11:00:25 +0300 (MSK) Received: from smtp1p.mail.yandex.net (smtp1p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:6]) by mxback2g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id 3DcUhvilo8-0Od8uUl9; Wed, 14 Feb 2018 11:00:24 +0300 Received: by smtp1p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id Y4JUh4BhDF-0OZKlhBk; Wed, 14 Feb 2018 11:00:24 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Wed, 14 Feb 2018 11:00:19 +0300 Message-Id: <1518595221-854-6-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1518595221-854-1-git-send-email-odpbot@yandex.ru> References: <1518595221-854-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 462 Subject: [lng-odp] [PATCH v1 5/7] travis: enable tests for default host configuration X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 462 (lumag:default-abi) ** https://github.com/Linaro/odp/pull/462 ** Patch: https://github.com/Linaro/odp/pull/462.patch ** Base sha: 41b3fa2cd994a7ef68290a07dcde5564e4640847 ** Merge commit sha: 92a3ed64c30441cbca76e6f8ab5c086fe0c83a18 **/ .travis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index e36c7bcb2..5d9bdfca7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -58,6 +58,8 @@ env: - CONF="--enable-schedule-scalable" - CONF="--enable-dpdk-zero-copy" - CONF="--disable-static-applications" + - CONF="--disable-host-optimization" + - CONF="--disable-host-optimization --disable-abi-compat" - DPDK_SHARED="y" CONF="--disable-static-applications" compiler: From patchwork Wed Feb 14 08:00:20 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Github ODP bot X-Patchwork-Id: 128321 Delivered-To: patch@linaro.org Received: by 10.46.124.24 with SMTP id x24csp346630ljc; Wed, 14 Feb 2018 00:07:53 -0800 (PST) X-Google-Smtp-Source: AH8x224x8yqQ3oG8St26GJAtAsKWZEYBzK134gk4wX2anfDMyL6FzoNHl5ClRXvdzmusKwmgrr8o X-Received: by 10.55.160.2 with SMTP id j2mr6328603qke.200.1518595673536; Wed, 14 Feb 2018 00:07:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518595673; cv=none; d=google.com; s=arc-20160816; b=FPjjdQKv9HXeUhzYUjXl3TlfwV3RfJ+d3w8Jp1wLLWZFm62VmbAwjz9RemOIT7Q2tY UXmDWbJJlJziD8Z+paPHKp+AMNhdBX3tEyp9d+3zTUfhHXJj716NLkESnkeg/U/h+5/K JsMy8mCOswImWL09fpfNHLFjjijK/MCVwLyxHVTAPrttlTwOIVVLc6oL63rXc7P4a86M aOGbxYqC0s/awc60B5CUV+Ay6U9Ekx7I3tAFlZHF108SbcLu4tsIh/+xYSw0tsmbA2bm Fvw/JoNLp4ysESFTz/6+Kbkl30s23xMa+Dm3pnmcB9S1Z0dQwmHUnqWmzxjhMG67M/Pg wygg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:github-pr-num :references:in-reply-to:message-id:date:to:from:delivered-to :arc-authentication-results; bh=5HkYfn9xJ2KQq4PENMAAm5s2Y1yz9U+zFpXb7axLgE0=; b=a7RhNEwONuq/Vx6bR7UeFrpSJiIIPr76qxNg//feADVJXrplRtfGvPl6SWSOV8DCEi xHMSnWogLrIfxYmNfH/YvSDd0Q8nQJJ1AGifIisGZ2sLE07lXk3Jie/BlDDrvAVeUsnz du1x9c9dbOk8njDbGotIweJ2D4kMsOYj2bwAZddJBFhTYPvwXlZpYlmaG+niaPfQoxsO fLtj79CZyoBoYQafpRJacLFv1nx32WB2raNqR6xLxYg5Wu9Yj2pthbfdBZfm3Rl+/jga OIVa3bwbMRoLl3hnILT+oJ2l5KZ6b3RDXbqmxQ+26rNPSpQN9MsUYt4VT170aq5W3UF9 UJ3A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Return-Path: Received: from lists.linaro.org (ec2-54-197-127-237.compute-1.amazonaws.com. [54.197.127.237]) by mx.google.com with ESMTP id n1si1165302qkd.18.2018.02.14.00.07.53; Wed, 14 Feb 2018 00:07:53 -0800 (PST) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) client-ip=54.197.127.237; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Received: by lists.linaro.org (Postfix, from userid 109) id 3BE556179E; Wed, 14 Feb 2018 08:07:53 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2 autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id B19A16174B; Wed, 14 Feb 2018 08:01:39 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id A07FB617B9; Wed, 14 Feb 2018 08:01:34 +0000 (UTC) Received: from forward101o.mail.yandex.net (forward101o.mail.yandex.net [37.140.190.181]) by lists.linaro.org (Postfix) with ESMTPS id D732660608 for ; Wed, 14 Feb 2018 08:00:39 +0000 (UTC) Received: from mxback10g.mail.yandex.net (mxback10g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:171]) by forward101o.mail.yandex.net (Yandex) with ESMTP id 6CEB61342003 for ; Wed, 14 Feb 2018 11:00:25 +0300 (MSK) Received: from smtp1p.mail.yandex.net (smtp1p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:6]) by mxback10g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id jmnySGHC1h-0Ppm4wZd; Wed, 14 Feb 2018 11:00:25 +0300 Received: by smtp1p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id Y4JUh4BhDF-0PZiIJYr; Wed, 14 Feb 2018 11:00:25 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Wed, 14 Feb 2018 11:00:20 +0300 Message-Id: <1518595221-854-7-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1518595221-854-1-git-send-email-odpbot@yandex.ru> References: <1518595221-854-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 462 Subject: [lng-odp] [PATCH v1 6/7] configure: use AS_HELP_STRING for abi-compat option X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 462 (lumag:default-abi) ** https://github.com/Linaro/odp/pull/462 ** Patch: https://github.com/Linaro/odp/pull/462.patch ** Base sha: 41b3fa2cd994a7ef68290a07dcde5564e4640847 ** Merge commit sha: 92a3ed64c30441cbca76e6f8ab5c086fe0c83a18 **/ configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 799d0b7b7..24a788230 100644 --- a/configure.ac +++ b/configure.ac @@ -211,7 +211,8 @@ AC_SUBST(PKGCONFIG_VERSION) ODP_ABI_COMPAT=1 abi_compat=yes AC_ARG_ENABLE([abi-compat], - [ --disable-abi-compat disables ABI compatible mode, enables inline code in header files], + [AS_HELP_STRING([--disable-abi-compat], + [disables ABI compatible mode, enables inline code in header files])], [if test "x$enableval" = "xno"; then ODP_ABI_COMPAT=0 abi_compat=no From patchwork Wed Feb 14 08:00:21 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Github ODP bot X-Patchwork-Id: 128320 Delivered-To: patch@linaro.org Received: by 10.46.124.24 with SMTP id x24csp346586ljc; Wed, 14 Feb 2018 00:07:50 -0800 (PST) X-Google-Smtp-Source: AH8x224MgV5m75uDYfVG+2+Slqdf6c3DMTOB3PcZvlBpuzY7MePkPE93vNV3mZRX7oMI+dwua2Rn X-Received: by 10.200.40.208 with SMTP id j16mr6332824qtj.331.1518595670775; Wed, 14 Feb 2018 00:07:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518595670; cv=none; d=google.com; s=arc-20160816; b=tZheUdIs1W0jDYUkn1hJAcI0LRx9WaNCSfzCiGYrYWLyxCKaPIphVtn2dVJ94FoNhI 2Hv+ZvSJpmy0jzcBBnDvVPIv123d3AO5Jx7yjjpSqo6awoE3jQDdgcZyfYisWOGX2FgY CqSK9mh+696pzsPkiUNRzzqE0nX69rgnkRYlEUstf4JPoDq0iPLTdTFouRy7+FIM+4sv oA++kydrhAfp+NULMzaBlMS0yFtQbmlS7NnbatA+16OkUlpvikC/ItEWSoZ12GxzbxQ2 eVHRJjJ9CbGh+en+ejXPwUZIeaCU/uxXxPebW4AvVeCx7NfpnduaxhVtYnrWS2FujUdS yXDA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:github-pr-num :references:in-reply-to:message-id:date:to:from:delivered-to :arc-authentication-results; bh=NgmKnAP4HK+ZJU3JReo1Gulivdxk1c2B5zFyTFlMwN0=; b=TzGhgGx1osUX1Zwt3AGsLEjbOQ7uvRFOJ3lFVzaLcYuDi4LCPZ07E/xxmbH/ORTj8C Af3sgGYtR0EsawBZ2DF8Tvi6BEWOER3ukAB8mrVpzQB+v8R230OomMYb3dTxoinC61yz DdXRWaw0OqtDtrmNI723JxrDOAW3ONXD63QO/KOvLj0KYtUHVvkN7V2XSC3PYCTkQ+4r Zb7kX1Mvr9EEFHffc1vF3WkwX8pFUp1g2nCu4vfk9i9DN3MA5KKUksjZU6WeLTqC/0EB uHOFS1lOJzapZa7oGfTZwc7XzdH36OJwByn/QU4Df10sCslM4XXt+PguZXVmM1O/G+qk dcxw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Return-Path: Received: from lists.linaro.org (ec2-54-197-127-237.compute-1.amazonaws.com. [54.197.127.237]) by mx.google.com with ESMTP id t30si3250317qtt.203.2018.02.14.00.07.50; Wed, 14 Feb 2018 00:07:50 -0800 (PST) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) client-ip=54.197.127.237; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Received: by lists.linaro.org (Postfix, from userid 109) id 7147A61795; Wed, 14 Feb 2018 08:07:50 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2 autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 4F9C4617BF; Wed, 14 Feb 2018 08:01:22 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 7FF496170D; Wed, 14 Feb 2018 08:00:50 +0000 (UTC) Received: from forward104j.mail.yandex.net (forward104j.mail.yandex.net [5.45.198.247]) by lists.linaro.org (Postfix) with ESMTPS id A71AD6170D for ; Wed, 14 Feb 2018 08:00:29 +0000 (UTC) Received: from mxback13j.mail.yandex.net (mxback13j.mail.yandex.net [IPv6:2a02:6b8:0:1619::88]) by forward104j.mail.yandex.net (Yandex) with ESMTP id D24A342814 for ; Wed, 14 Feb 2018 11:00:25 +0300 (MSK) Received: from smtp1p.mail.yandex.net (smtp1p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:6]) by mxback13j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id USr51Ui5Is-0PFqCupZ; Wed, 14 Feb 2018 11:00:25 +0300 Received: by smtp1p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id Y4JUh4BhDF-0PZ0SsQD; Wed, 14 Feb 2018 11:00:25 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Wed, 14 Feb 2018 11:00:21 +0300 Message-Id: <1518595221-854-8-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1518595221-854-1-git-send-email-odpbot@yandex.ru> References: <1518595221-854-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 462 Subject: [lng-odp] [PATCH v1 7/7] configure: fix enabling -mcx16 flag for i?86 platforms X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" From: Dmitry Eremin-Solenikov Use correct pattern in case-host construction. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 462 (lumag:default-abi) ** https://github.com/Linaro/odp/pull/462 ** Patch: https://github.com/Linaro/odp/pull/462.patch ** Base sha: 41b3fa2cd994a7ef68290a07dcde5564e4640847 ** Merge commit sha: 92a3ed64c30441cbca76e6f8ab5c086fe0c83a18 **/ configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 24a788230..21718f07b 100644 --- a/configure.ac +++ b/configure.ac @@ -124,7 +124,7 @@ ODP_CFLAGS="$ODP_CFLAGS $ODP_CFLAGS_EXTRA" # Check if compiler supports cmpxchng16 on x86-based architectures ########################################################################## case "${host}" in - i?86? | x86*) + i?86* | x86*) if test "${CC}" != "gcc" -o ${CC_VERSION_MAJOR} -ge 5; then ODP_CHECK_CFLAG([-mcx16]) fi