From patchwork Tue Sep 4 11:00:14 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: 145913 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp3518682ljw; Tue, 4 Sep 2018 04:02:48 -0700 (PDT) X-Google-Smtp-Source: ANB0VdaH92zNqBhgHyeXeuqeFI9Nu4fZ8hsG9Q0WRECQrUFYrbICyorHsW8F6QCmQ6xaxaf8znET X-Received: by 2002:ac8:2759:: with SMTP id h25-v6mr29451961qth.274.1536058968380; Tue, 04 Sep 2018 04:02:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536058968; cv=none; d=google.com; s=arc-20160816; b=zsEr1EfxkXXrXRIyfZOzBBk3NtzCHoGD9LsIG19ZkyoHczUxdvvq0Kw1aV05t1YCXz zxTFS10b7MkjYS7j+Fg+aG7VsBItiQrsTo7qZBWgAWSCRAe2AZf51ylJ6u+joDt1F9Xz Ma7vagQJUI2uz+N60TkoYj7MjfluhAMfqpGGd1PQQkPKJMrgGLWgj8kuxkmiFAYdwLec jZUbgGa7nR37mS61D72nlLG61Sbv7oSAB/x8pWQXcwBAEMCNiOMMarbIwrZfXQAvbRC+ Wgm4vrDI9vKz58576oxQl0GtbR8beXOzV2YeOjo3fuB/br/bSfKHCAHb2uribr2p6VWo Ry6Q== 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=B5V02sJXPQPFnQEXzc9A41Qb2app4bR0bACMnz6/98A=; b=QnqPM9kIaSYI9tnRWQ6BEXKz8pPnON0Co45Lh9W/mkfvh6Z5TPP3xS5jPrUMNWL6bx 47W6E4MUZwMHt/PB8cTofn9fyLIBkzv0bccdikPkW0UTqKQm0WTEtffLw2BBq3lSMwTo soO2in2xscFyEoWAfpSLeDIgpRtyTs1nhKadhYGfpmP58/+CTneXEK6rIsj7g4oSqfn0 r3wCUK0f9WtzvoQTvWNbY0I/473AFjFVe1D6Zva0/xtu2beG+SSqwiSfAmKRKQ1I6SzM +G1weFmPJyb9MF0DHkUacE02uhTbi4+7bFm4wfwXKoN35JZHXyaFCy/9tVaBZ25WlOpl Vcrg== 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 a185-v6si203551qkd.198.2018.09.04.04.02.48; Tue, 04 Sep 2018 04:02: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 E4151685BD; Tue, 4 Sep 2018 11:02: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=-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 9180864EC2; Tue, 4 Sep 2018 11:00:42 +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 9EA26685BF; Tue, 4 Sep 2018 11:00:27 +0000 (UTC) Received: from forward102o.mail.yandex.net (forward102o.mail.yandex.net [37.140.190.182]) by lists.linaro.org (Postfix) with ESMTPS id 957016180C for ; Tue, 4 Sep 2018 11:00:20 +0000 (UTC) Received: from mxback12j.mail.yandex.net (mxback12j.mail.yandex.net [IPv6:2a02:6b8:0:1619::87]) by forward102o.mail.yandex.net (Yandex) with ESMTP id E18B25A0528A for ; Tue, 4 Sep 2018 14:00:18 +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 w9UIsCgXRt-0Ii0uXcv; Tue, 04 Sep 2018 14:00:18 +0300 Received: by smtp1j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id PV82BiGNZe-0IqG0gRE; Tue, 04 Sep 2018 14:00:18 +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:14 +0000 Message-Id: <1536058816-6995-2-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 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: f8a74b1a2c166d0c4225802cfcce30538c375d69 **/ 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