From patchwork Tue Sep 4 11: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: 145912 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp3517920ljw; Tue, 4 Sep 2018 04:02:17 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbH/ivez09hermHRFb4ML8ZHKKUfbBmRQn3rxKCMA7QthM8p0IfO6qdm7sGtr0c5QxwVKHa X-Received: by 2002:ac8:392e:: with SMTP id s43-v6mr29235351qtb.68.1536058937212; Tue, 04 Sep 2018 04:02:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536058937; cv=none; d=google.com; s=arc-20160816; b=fcJILUAN9XKPx6G3mPgctzLAl9YB7D5uJIVyREIPowSQDmQUsw8bQxSzKDilHE+glA grXbBj19ckBuwQm83J3G5J8P4MvNZD8MvmWjqImcxHbChXMHtIqFzx9PrijPymf44J/g J++VYvjtyJqOat/w8pmQnVOKYKXG/jMkoz0GpRcvbswIBq3Dsrg0VQTt40RxBWCePAHv zXt2B2IuY/ZRElpGy9m2M9GEUY8Nsz9ILJi4Ls5wuRwONVIQ8Z5OmYPadp6N+sUgygg1 f/h2pQiKJkavWpMCY//Y/9dBN6NtlpMtWq1oIxAgmK1A/mFciqCXs6J9RZ2xq37vhtyF sBEg== 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=L5yFLrMT03Mk+q9OMR1afEbk2kuRiZ+wx4f/funH6HI=; b=uK3N82b1TGuLLL1neL+bH/+7BmvB3jz94DbdTqKMnWxX9ZuLvy4gWuOq2FtgSwPtw8 bKIkOL5M2MR/iRCTkttE8P4/GjghpVKiaHThmGkMvESjif3YFqMPqbYm/40/k/8FRuZK Du1Rrzuq0bZmAFJyR7r4Rd2qX+avFmVPt2zofJEHtME2bhVB3VahVxhmWdppLeVNDHmH YAvvsB9Ft7Wi2ZmNALbZJOx2E24qzVi98QJHxlz2dmKb/qM6X/3BGZuq6qnCIoiCoT7G 22QVgd2fiH1lFlI5+Ojl76XTm3X6hPmQ/lLriQwlGsBsvPws6Ly8vHACi4Fdq9OmbhHU 9krQ== 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 w33-v6si5216819qtb.24.2018.09.04.04.02.16; Tue, 04 Sep 2018 04:02:16 -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 90CEF68615; Tue, 4 Sep 2018 11:02:16 +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 503EC607C8; Tue, 4 Sep 2018 11:00:37 +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 F22CE60F5B; Tue, 4 Sep 2018 11:00:23 +0000 (UTC) Received: from forward101p.mail.yandex.net (forward101p.mail.yandex.net [77.88.28.101]) by lists.linaro.org (Postfix) with ESMTPS id AE95B618B2 for ; Tue, 4 Sep 2018 11:00:20 +0000 (UTC) Received: from mxback7g.mail.yandex.net (mxback7g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:168]) by forward101p.mail.yandex.net (Yandex) with ESMTP id 8FB1E4E85B21 for ; Tue, 4 Sep 2018 14:00:19 +0300 (MSK) Received: from smtp1j.mail.yandex.net (smtp1j.mail.yandex.net [2a02:6b8:0:801::ab]) by mxback7g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id ZhMSbEHsf9-0JhWgitm; Tue, 04 Sep 2018 14:00:19 +0300 Received: by smtp1j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id PV82BiGNZe-0IqqorAp; Tue, 04 Sep 2018 14:00:19 +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 11:00:15 +0000 Message-Id: <1536058816-6995-3-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1536058816-6995-1-git-send-email-odpbot@yandex.ru> References: <1536058816-6995-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 692 Subject: [lng-odp] [PATCH v2 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: f8a74b1a2c166d0c4225802cfcce30538c375d69 **/ 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