From patchwork Tue Sep 4 09:00:06 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: 145884 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp3417751ljw; Tue, 4 Sep 2018 02:01:48 -0700 (PDT) X-Google-Smtp-Source: ANB0VdY4q287t/H9ytv2nIA+cyguXjGagNl8E9QwSMh+bHhCkbuT8Q0oTBjWnY0QPQJAD+P0vO3n X-Received: by 2002:a0c:f94e:: with SMTP id i14-v6mr28498837qvo.50.1536051708562; Tue, 04 Sep 2018 02:01:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536051708; cv=none; d=google.com; s=arc-20160816; b=xEOKqC35hSb6w6kDOeM4VyeYPv5go/ekI8BguT0rh3cgRfZKPSaCVgZccevahHtkID B/npf3IWmK1x4PXWPLIisZyg6jzKNEeyDj7hxNfseRwRggiVEbyfb7FQke5w7Lqd4IF/ +u9ixhWT3z6mqUl1YKnNoXxaXvQkB6H73MLbU0qzqY35AuUkMpnES1naIrV9i2BIE9UO Kcbwy9CU7MZioh+SIzz/hsQHaXgmXhnOW85X4exX1as8SGDstTTJpElLzhdLBYBjFRSe CG7L0PY6XXmbGZ3Wz2Bugg8ASUCbTpDMG6XokentHj5gnsh6xDD2DQivJxLhdTJmqF0E o4wA== 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=IWXezuvJr9j8/WfxCyDwpsvh5jG4IRxEZLaQMPUgjYc=; b=teY2SJQCrAgXjZpW3FMjZisyS1YJViPsiKLL4oacehoE+E/JZrK1aTkaSGQMcVk9Nx OuMR/YqvrC3le4chNMV+cKjXjlE8AZwKIzpeoQ+slJRLB+pTbAyMpHzy8QsZSsx9CLLW 5i+5EAzRkAuyzizzivL5W0Zvn1yOqsXecF5B+og7J+rqMnbjh0jhOMXmjKENODry2MnH UHIkYqMFBoHdthp52RY21FcrFUl0CCvlt6aSgjoFF6yzF6CE2Sh+OuzOrKWhE8Vad+0x rhXnyedAXFlAVkpSKeHhqRvkfXepOEUhsshmQXRqgl9mK0xMCe37xnrLJ0olEb76lmTj xhXQ== 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 b188-v6si11281928qkf.353.2018.09.04.02.01.48; Tue, 04 Sep 2018 02:01:48 -0700 (PDT) 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 3A25E685BF; Tue, 4 Sep 2018 09:01:48 +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=-3.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, MAILING_LIST_MULTI, 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 DD351618B2; Tue, 4 Sep 2018 09:00: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 065116180C; Tue, 4 Sep 2018 09:00:17 +0000 (UTC) Received: from forward103o.mail.yandex.net (forward103o.mail.yandex.net [37.140.190.177]) by lists.linaro.org (Postfix) with ESMTPS id CBD5E60CFC for ; Tue, 4 Sep 2018 09:00:14 +0000 (UTC) Received: from mxback12j.mail.yandex.net (mxback12j.mail.yandex.net [IPv6:2a02:6b8:0:1619::87]) by forward103o.mail.yandex.net (Yandex) with ESMTP id DCCE858876BD for ; Tue, 4 Sep 2018 12:00:11 +0300 (MSK) Received: from smtp1j.mail.yandex.net (smtp1j.mail.yandex.net [2a02:6b8:0:801::ab]) by mxback12j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id 5SJwGs48Rw-0Bt4H5Cm; Tue, 04 Sep 2018 12:00:11 +0300 Received: by smtp1j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id mSqQr6ZUVJ-0AqSvtnK; Tue, 04 Sep 2018 12:00:10 +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: Tue, 4 Sep 2018 09:00:06 +0000 Message-Id: <1536051608-6640-2-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1536051608-6640-1-git-send-email-odpbot@yandex.ru> References: <1536051608-6640-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 692 Subject: [lng-odp] [PATCH v1 1/3] include: abi: set ODP_CACHE_LINE_SIZE to 128 on ppc64le 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 POWER8 has 128-byte cache lines Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 692 (lumag:ppc64le-cache) ** https://github.com/Linaro/odp/pull/692 ** Patch: https://github.com/Linaro/odp/pull/692.patch ** Base sha: 0a5d67beda902557056d5b5146d8cbe86e5001b0 ** Merge commit sha: f4a8c89ac59d5420cd107b44c742c4e51d3d086a **/ include/odp/arch/power64-linux/odp/api/abi/cpu.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/odp/arch/power64-linux/odp/api/abi/cpu.h b/include/odp/arch/power64-linux/odp/api/abi/cpu.h index 90bb87875..9e3338d60 100644 --- a/include/odp/arch/power64-linux/odp/api/abi/cpu.h +++ b/include/odp/arch/power64-linux/odp/api/abi/cpu.h @@ -5,4 +5,5 @@ */ #define _ODP_NEED_GENERIC_CPU_PAUSE +#define ODP_CACHE_LINE_SIZE 128 #include From patchwork Tue Sep 4 09:00:07 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: 145883 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp3416943ljw; Tue, 4 Sep 2018 02:01:05 -0700 (PDT) X-Google-Smtp-Source: ANB0Vda+gXrW5KTclh7peHkubKH91hIPsLtU+YiixsTZbb0Twf0+OxI3g2buxv8r1Llu3olGY5Ed X-Received: by 2002:a37:e118:: with SMTP id c24-v6mr22823385qkm.68.1536051665578; Tue, 04 Sep 2018 02:01:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536051665; cv=none; d=google.com; s=arc-20160816; b=0WWEL0yTWvOQG6k/crN3D/wp76J7SvQaFURBx9Ngqj3nnWogNEDaehPvMaimxviZPk 39LwrnfsrkCpMbVzHN7eJAednm+uRxKDnXT7XNqNu9rGy4fHTIYLgpBeo8wOrsbKV7Y5 WijdoX8q7kkQy5ZntEqih6zUJoLwLrqMChjluaEZV30O8Agomrj6fOYYmwDFMWWIEwHi SyA9HqPRfELZpwtYYyURGYeu7l2cOTUmpRaspcHpgY/bW2d+ESf8TcAdrLxfjzOCp2JW YI1EbDbMFMI7FuSeiJoKH7ZFRBG0OSVsrhW5XwJgZkRNsHIuRCQkxUTjJOdbldpbrvCZ geaA== 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=hqbHr7Crm8CD6g1d0LlK4rzdNNv9cKjG+GSYFcq2L44=; b=nBkcN9nVqlvMxGxtqHZ2ndb9TsraAH9PlS3ag/DjHcCSjGx+2DgENEyDbCRBM6QjhD 1HkmYArk5Bh+mFjjvJojetqCqHULZeYXGSFyIE6f74ANzTlzCxgOtKx48D/wrV8McFmy a06RhBqqbH/Xk5Z3gCt2kjhzAfWLpvAEtodV/3j9pWePr793Jb+J23tMG7eMDqQ1MRqI yvvTR1JID+/gEnNQZVWUBsd0I674kOXLTbQqPSib/rj243YpsqsJvWZznMOdIfnhGud/ ADGKscioxv7BgiKauP5z1AiIvaNdrXPdj685WcUWZXO/C4UBSQBPnF9XBUY1AUAmDJdJ VMSA== 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 36-v6si1720460qvf.139.2018.09.04.02.01.05; Tue, 04 Sep 2018 02:01:05 -0700 (PDT) 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 4A8D1685BF; Tue, 4 Sep 2018 09:01:05 +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=-3.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, MAILING_LIST_MULTI, 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 834AF6180C; Tue, 4 Sep 2018 09:00:20 +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 A04E7618B2; Tue, 4 Sep 2018 09:00:15 +0000 (UTC) Received: from forward100o.mail.yandex.net (forward100o.mail.yandex.net [37.140.190.180]) by lists.linaro.org (Postfix) with ESMTPS id 5196260E8C for ; Tue, 4 Sep 2018 09:00:14 +0000 (UTC) Received: from mxback18j.mail.yandex.net (mxback18j.mail.yandex.net [IPv6:2a02:6b8:0:1619::94]) by forward100o.mail.yandex.net (Yandex) with ESMTP id DB38D2A2256A for ; Tue, 4 Sep 2018 12:00:12 +0300 (MSK) Received: from smtp1j.mail.yandex.net (smtp1j.mail.yandex.net [2a02:6b8:0:801::ab]) by mxback18j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id lWIzlFHDQt-0Cx4JNTn; Tue, 04 Sep 2018 12:00:12 +0300 Received: by smtp1j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id mSqQr6ZUVJ-0BqGDrw2; Tue, 04 Sep 2018 12:00:12 +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: Tue, 4 Sep 2018 09:00:07 +0000 Message-Id: <1536051608-6640-3-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1536051608-6640-1-git-send-email-odpbot@yandex.ru> References: <1536051608-6640-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 692 Subject: [lng-odp] [PATCH v1 2/3] linux-gen: abi: set ODP_CACHE_LINE_SIZE to 128 on ppc64le 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 POWER8 has 128-byte cache lines Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 692 (lumag:ppc64le-cache) ** https://github.com/Linaro/odp/pull/692 ** Patch: https://github.com/Linaro/odp/pull/692.patch ** Base sha: 0a5d67beda902557056d5b5146d8cbe86e5001b0 ** Merge commit sha: f4a8c89ac59d5420cd107b44c742c4e51d3d086a **/ platform/linux-generic/arch/powerpc/odp/api/abi/cpu.h | 1 + 1 file changed, 1 insertion(+) diff --git a/platform/linux-generic/arch/powerpc/odp/api/abi/cpu.h b/platform/linux-generic/arch/powerpc/odp/api/abi/cpu.h index 90bb87875..9e3338d60 100644 --- a/platform/linux-generic/arch/powerpc/odp/api/abi/cpu.h +++ b/platform/linux-generic/arch/powerpc/odp/api/abi/cpu.h @@ -5,4 +5,5 @@ */ #define _ODP_NEED_GENERIC_CPU_PAUSE +#define ODP_CACHE_LINE_SIZE 128 #include