From patchwork Thu Mar 23 02:12:24 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jarod Wilson X-Patchwork-Id: 9640369 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 095E56020B for ; Thu, 23 Mar 2017 02:12:31 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EEAEA28452 for ; Thu, 23 Mar 2017 02:12:30 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E359F2847F; Thu, 23 Mar 2017 02:12:30 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4D7A928452 for ; Thu, 23 Mar 2017 02:12:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754003AbdCWCM3 (ORCPT ); Wed, 22 Mar 2017 22:12:29 -0400 Received: from mx1.redhat.com ([209.132.183.28]:46982 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751333AbdCWCM3 (ORCPT ); Wed, 22 Mar 2017 22:12:29 -0400 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 52AD7C04BD3A; Thu, 23 Mar 2017 02:12:29 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 52AD7C04BD3A Authentication-Results: ext-mx07.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx07.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=jarod@redhat.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 52AD7C04BD3A Received: from hp-dl360pgen8-07.khw.lab.eng.bos.redhat.com (hp-dl360pgen8-07.khw.lab.eng.bos.redhat.com [10.16.184.47]) by smtp.corp.redhat.com (Postfix) with ESMTP id 1B60518A56; Thu, 23 Mar 2017 02:12:27 +0000 (UTC) From: Jarod Wilson To: linux-rdma@vger.kernel.org Cc: Jarod Wilson , Jason Gunthorpe Subject: [PATCH rdma-core] fix udma_to_device_barrier on aarch64 Date: Wed, 22 Mar 2017 22:12:24 -0400 Message-Id: <20170323021224.35722-1-jarod@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.31]); Thu, 23 Mar 2017 02:12:29 +0000 (UTC) Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The definition for udma_to_device_barrier on aarch64 is missing. Looks like an oversight in the commit that removed the old barrier macros and added this one. Fixes: 85a5529dead5 ("Remove the old barrier macros") CC: Jason Gunthorpe Signed-off-by: Jarod Wilson --- util/udma_barrier.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/udma_barrier.h b/util/udma_barrier.h index 86578af5..9932a687 100644 --- a/util/udma_barrier.h +++ b/util/udma_barrier.h @@ -93,7 +93,7 @@ #elif defined(__sparc_v9__) #define udma_to_device_barrier() asm volatile("membar #StoreStore" ::: "memory") #elif defined(__aarch64__) -#define wmb() asm volatile("dsb st" ::: "memory"); +#define udma_to_device_barrier() asm volatile("dsb st" ::: "memory"); #elif defined(__sparc__) || defined(__s390x__) #define udma_to_device_barrier() asm volatile("" ::: "memory") #else