From patchwork Fri Aug 8 07:45:30 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ankit Jindal X-Patchwork-Id: 35102 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-yk0-f198.google.com (mail-yk0-f198.google.com [209.85.160.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 0D5A02118A for ; Fri, 8 Aug 2014 07:46:23 +0000 (UTC) Received: by mail-yk0-f198.google.com with SMTP id q200sf15586352ykb.5 for ; Fri, 08 Aug 2014 00:46:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id:cc:subject :precedence:list-id:list-unsubscribe:list-archive:list-post :list-help:list-subscribe:mime-version:errors-to:sender :x-original-sender:x-original-authentication-results:mailing-list :content-type:content-transfer-encoding; bh=K5N4+GpByuovCuXg9kvR6U10DOWgeWVynxBMGfxle4g=; b=jBwE+mARWjdUaUe0LpkmRyNMkAk3evjcLm5WbVUL6J5NFNBPevuKEsL2H38dvtelxB e754hGQ3SS+GOCQARPlPi+HMz/nflcFK9IBK02XVWCgVFs4CXPsm4fzngXwL2Y3v61o3 RSZ3iptG0LhY94BxA2W0obr8PhGaTiCN9rQYGZxfvI+qF66sZaEEXrz/+RHZpCeQgaKV 9I55ztsy1faMH7iBIBMlEV0Tk3fupAGvO3SteZWexDzgxOE5C9BPOgoSkVXhmr6G0XOJ KMs+B/7uCoWkc1mU2bwm7KJFGjcs23N8+D+7GGp5zCdnHRbTsFzRQB7dFMQdQ+wOAfN8 rHsA== X-Gm-Message-State: ALoCoQnle7a08HZxfnVLVvmDL8QlyALTW+npvwLEhovNp216dBpTRBilZbmchcno/JCK3FFAzWRz X-Received: by 10.224.127.6 with SMTP id e6mr11792253qas.3.1407483982848; Fri, 08 Aug 2014 00:46:22 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.92.102 with SMTP id a93ls432726qge.15.gmail; Fri, 08 Aug 2014 00:46:22 -0700 (PDT) X-Received: by 10.52.128.8 with SMTP id nk8mr382349vdb.48.1407483982759; Fri, 08 Aug 2014 00:46:22 -0700 (PDT) Received: from mail-vc0-f171.google.com (mail-vc0-f171.google.com [209.85.220.171]) by mx.google.com with ESMTPS id ls1si2627297vcb.99.2014.08.08.00.46.22 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 08 Aug 2014 00:46:22 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.171 as permitted sender) client-ip=209.85.220.171; Received: by mail-vc0-f171.google.com with SMTP id hq11so7799853vcb.2 for ; Fri, 08 Aug 2014 00:46:22 -0700 (PDT) X-Received: by 10.53.7.204 with SMTP id de12mr5587521vdd.41.1407483982669; Fri, 08 Aug 2014 00:46:22 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.221.37.5 with SMTP id tc5csp101386vcb; Fri, 8 Aug 2014 00:46:22 -0700 (PDT) X-Received: by 10.224.123.8 with SMTP id n8mr35277914qar.40.1407483981853; Fri, 08 Aug 2014 00:46:21 -0700 (PDT) Received: from ip-10-141-164-156.ec2.internal (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTPS id k7si9270675qge.13.2014.08.08.00.46.21 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 08 Aug 2014 00:46:21 -0700 (PDT) Received-SPF: none (google.com: lng-odp-bounces@lists.linaro.org does not designate permitted sender hosts) client-ip=54.225.227.206; Received: from localhost ([127.0.0.1] helo=ip-10-141-164-156.ec2.internal) by ip-10-141-164-156.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1XFesX-00069R-5N; Fri, 08 Aug 2014 07:46:21 +0000 Received: from mail-pd0-f177.google.com ([209.85.192.177]) by ip-10-141-164-156.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1XFesR-00069J-0e for lng-odp@lists.linaro.org; Fri, 08 Aug 2014 07:46:15 +0000 Received: by mail-pd0-f177.google.com with SMTP id p10so6575063pdj.22 for ; Fri, 08 Aug 2014 00:46:09 -0700 (PDT) X-Received: by 10.70.140.13 with SMTP id rc13mr22671767pdb.127.1407483969410; Fri, 08 Aug 2014 00:46:09 -0700 (PDT) Received: from pnqlab023.amcc.com ([182.73.239.130]) by mx.google.com with ESMTPSA id f12sm22779091pat.19.2014.08.08.00.46.06 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 08 Aug 2014 00:46:08 -0700 (PDT) From: Ankit Jindal To: lng-odp@lists.linaro.org Date: Fri, 8 Aug 2014 13:15:30 +0530 Message-Id: <1407483930-17040-1-git-send-email-ankit.jindal@linaro.org> X-Mailer: git-send-email 1.7.9.5 X-Topics: Architecture patch Cc: patches@apm.com, Tushar Jagad Subject: [lng-odp] [PATCH] Add write memory barrier for aarch64 X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Errors-To: lng-odp-bounces@lists.linaro.org Sender: lng-odp-bounces@lists.linaro.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: ankit.jindal@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.171 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 This patch updates odp_sync_stores routine to add write memory barrier for aarch64. Signed-off-by: Ankit Jindal Signed-off-by: Tushar Jagad --- include/odp_sync.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/odp_sync.h b/include/odp_sync.h index c106c75..ba73ac0 100644 --- a/include/odp_sync.h +++ b/include/odp_sync.h @@ -31,7 +31,7 @@ static inline void odp_sync_stores(void) __asm__ __volatile__ ("sfence\n" : : : "memory"); -#elif defined __arm__ +#elif defined __arm_ || defined __aarch64__ __asm__ __volatile__ ("dmb st" : : : "memory");