Received: by 10.213.65.68 with SMTP id h4csp640144imn; Fri, 23 Mar 2018 12:16:41 -0700 (PDT) X-Google-Smtp-Source: AG47ELtQX+lstLlboz/R3SyxdIAe9TZ4VlkGuIqnRmHn33GzD6/JDWT68O9vDIOeWDS8OGw3t1TY X-Received: by 10.98.228.13 with SMTP id r13mr9898444pfh.77.1521832601584; Fri, 23 Mar 2018 12:16:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521832601; cv=none; d=google.com; s=arc-20160816; b=Y2TW6zdnA61Vlq2+CfejobetM+lK157yuEN6H/SrJ31UaAnZiffEdV8Cd8MN4tJ1Pv 2fodeOsQBdIB3gez8ix7gKJB+0olSrpIfPTM3O/jqXmL84a58aEE4qNcbU4eX4naE7vm rS8aeAkyY/kvHKiwnxiXT9BOM8oSYma15B/Nk4tCIGzgoun9SbCN2As21gwt5ea//Crw Dos2VlUoLDfaeYX7DY6y3yPRhPwJ9qc57S72S5mK5Z+ftijkSePVU916UiWcFbO7wfSd GOUYbdcdYDhgu+gPsW8EMa5Ip8wvKdM0xfY3sFQZ8a2Jd9sgReH+0YYNfqYGHR+RBeE8 6sHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dmarc-filter :dkim-signature:dkim-signature:arc-authentication-results; bh=e/p2aqdwEKlBZnHcaeeYfxWfxDFBBMH53YjnkYddjw0=; b=U662Xa6yE0wFscXRn/eFjxRF+CrORs6YKE/ZVoJnJU0zutd/zK64vglAKLkFNTyMVj RnGAu+pa3vUVrxo//H4RXp6jIhui/iqIXzp78Q1hS67DUiIbK4/TRrY0BrZAg3mhkAWg IZSjTtbQ0K78xnW8nJ/hDuMingPFYpA+eTaotkjCa0qUFcbQrncePPRSTwHEBRkI/SiO w7V+8Xtnp7Luqi/3o2HiQ2/0ixOo2sNBEyAGcTz5gbhE8/vEcJX0tIvjEWAiLsHrOnkp GjwblWfVN6OKwDfn+6cK49Zf3PFouCg7fp0TsfsAA6Tuljg6/KD+LValB8RzwLNTLi2K UElw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=MGEasrMA; dkim=pass header.i=@codeaurora.org header.s=default header.b=MGEasrMA; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u25si2674244pfh.283.2018.03.23.12.16.26; Fri, 23 Mar 2018 12:16:41 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=MGEasrMA; dkim=pass header.i=@codeaurora.org header.s=default header.b=MGEasrMA; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752244AbeCWTPJ (ORCPT + 99 others); Fri, 23 Mar 2018 15:15:09 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:47428 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751894AbeCWTPH (ORCPT ); Fri, 23 Mar 2018 15:15:07 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 9EFCB607B9; Fri, 23 Mar 2018 19:15:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1521832506; bh=irjp6tkwL7sJmUNMJAMOg5h12tT19p6sGd/tM3NYGcA=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=MGEasrMA0jlulfx5JCAvZgEQOpcwkFfj0T9/R/aFxwFHfs8O357ebAUhB9Wl4fbTS zFoHUMBsEvp0whwWs19A+vuJEyQZ/1PDvmHMO8JBbiNCNjkSS9RWEyCHe+C8cwBI2p a8XG4LRrZ8YIFNk8qXLKmDsiHxvzXnkez+UjTf20= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,T_DKIM_INVALID autolearn=no autolearn_force=no version=3.4.0 Received: from [192.168.0.105] (cpe-174-109-247-98.nc.res.rr.com [174.109.247.98]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: okaya@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 4DED0607A2; Fri, 23 Mar 2018 19:15:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1521832506; bh=irjp6tkwL7sJmUNMJAMOg5h12tT19p6sGd/tM3NYGcA=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=MGEasrMA0jlulfx5JCAvZgEQOpcwkFfj0T9/R/aFxwFHfs8O357ebAUhB9Wl4fbTS zFoHUMBsEvp0whwWs19A+vuJEyQZ/1PDvmHMO8JBbiNCNjkSS9RWEyCHe+C8cwBI2p a8XG4LRrZ8YIFNk8qXLKmDsiHxvzXnkez+UjTf20= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 4DED0607A2 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=okaya@codeaurora.org Subject: Re: [PATCH v5 2/3] RDMA/i40iw: Eliminate duplicate barriers on weakly-ordered archs To: linux-rdma@vger.kernel.org, timur@codeaurora.org, sulrich@codeaurora.org Cc: linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Faisal Latif , Shiraz Saleem , Doug Ledford , Jason Gunthorpe , linux-kernel@vger.kernel.org References: <1521736009-23387-1-git-send-email-okaya@codeaurora.org> <1521736009-23387-3-git-send-email-okaya@codeaurora.org> From: Sinan Kaya Message-ID: <352b0adc-5489-c919-fa0a-2a3a3b2d37a0@codeaurora.org> Date: Fri, 23 Mar 2018 15:15:04 -0400 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <1521736009-23387-3-git-send-email-okaya@codeaurora.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 3/22/2018 12:26 PM, Sinan Kaya wrote: > +++ b/drivers/infiniband/hw/i40iw/i40iw_ctrl.c > @@ -706,9 +706,11 @@ static void i40iw_sc_ccq_arm(struct i40iw_sc_cq *ccq) > wmb(); /* make sure shadow area is updated before arming */ > > if (ccq->dev->is_pf) > - i40iw_wr32(ccq->dev->hw, I40E_PFPE_CQARM, ccq->cq_uk.cq_id); > + i40iw_wr32_relaxed(ccq->dev->hw, I40E_PFPE_CQARM, > + ccq->cq_uk.cq_id); > else > - i40iw_wr32(ccq->dev->hw, I40E_VFPE_CQARM1, ccq->cq_uk.cq_id); > + i40iw_wr32_relaxed(ccq->dev->hw, I40E_VFPE_CQARM1, > + ccq->cq_uk.cq_id); do we want an mmiowb() here? > } -- Sinan Kaya Qualcomm Datacenter Technologies, Inc. as an affiliate of Qualcomm Technologies, Inc. Qualcomm Technologies, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project.