Received: by 10.213.65.68 with SMTP id h4csp607546imn; Fri, 23 Mar 2018 11:28:50 -0700 (PDT) X-Google-Smtp-Source: AG47ELv6WL/nxZa8sMWGXliJrrWOgIZ7fBu0HtEl7ybPS+9uPd2Tv0rQeWhM5fD/2ZwimYwSlt/6 X-Received: by 2002:a17:902:60cf:: with SMTP id k15-v6mr26355448pln.44.1521829730440; Fri, 23 Mar 2018 11:28:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521829730; cv=none; d=google.com; s=arc-20160816; b=StSEHtftjN93R3QCpclem1iXBjMDOVgGuBBGFjrQumgthqWRWtfjseIPqm3Zx919xf iVY2q1K3st3AT1gkIxVLuaLiZjviIfFF0w/fChTCCAzJBz3v1Qat4On5vdMmlFQ/Cl9H Vq411PBB2QhrnooXdoVKbsiZpHBxiMD7OVoxynUWeC1EyuZRm5kknEwFxs0OBhnJ3JFv ZTrCN21xrbgVM9lfZA2YpwRXD0O1fGxubkRTECf/GLlmMixFMIk+v6YLoyscekVSmdAY v33PomdivsExbMcSS2oODOdeIRmjunrdwiqPN8bs8U5P7MbN1keJsTskObzpOUdAMOFK zLzw== 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=bGx5Ht8j7njqCEseZdYDVhfTuctls1ChxDczo1qQHW0=; b=OCX+1IOJPiQtt1TdLEHidRKd+tfF2o+E/aIe+gbj6Ag9iPI0pm/kyENr3wWfE72eYX 8mlXDLIyUGFCqzQfCyqes9BjBmXueTGAV2eibjsztZHXdfD6dZPV97BU8h7ASPNAZHNr KhvOvPqs7SDyeF8QsAvGJr2KqxjNKxdj6YyNME7Tc5ba4WrroG4JY6Me2Ojxazk5M3pp QQXlt39XE+eegLOopf3jxTKmoOWaEWVTy8RD058DN/q9C53A5x5vg+3f33vO9CcszExr ZMqwx1RxZKUX/7O2DukGpIBKVP3pLbCxvEeNC0mHdC4H+BCO3c+BduxzzY+elISEAO2t MERA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=oMQ8aoR6; dkim=pass header.i=@codeaurora.org header.s=default header.b=kGHDS0gn; 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 w64si6410958pgd.176.2018.03.23.11.28.36; Fri, 23 Mar 2018 11:28:50 -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=oMQ8aoR6; dkim=pass header.i=@codeaurora.org header.s=default header.b=kGHDS0gn; 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 S1752497AbeCWS1f (ORCPT + 99 others); Fri, 23 Mar 2018 14:27:35 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:54602 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752015AbeCWS1d (ORCPT ); Fri, 23 Mar 2018 14:27:33 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id DD28E60588; Fri, 23 Mar 2018 18:27:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1521829653; bh=JxYjupbwstypit0MIzPfTPO/SiYj/gXfGqNH4NrMDbQ=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=oMQ8aoR68AImEeDoUVUSvjfzscAkoGxid+Ci8oCU+yXszi3p7QanO/UWq6EfcQbyi Gh51dizr/0VMu+PKKPXt6WzHa1ptYKso6b+qYLN8P7FiZy89Jjwg7/r2X7FMUtdIrx WynJWhjDdi4cH/Isi4Xk3rn9oYJsYD6mjdMPPCb0= 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 F305D6030F; Fri, 23 Mar 2018 18:27:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1521829651; bh=JxYjupbwstypit0MIzPfTPO/SiYj/gXfGqNH4NrMDbQ=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=kGHDS0gn9sPcAEY707dWNvtWNiIbzD2qKC06JFESycG9IbGMIVDAmHz7EV9nVhtX+ +IBzhcY3lb9i2pfGykaj6zrSEExcJ1hW2LMpP+q69CiHuKyn9QvwsM69ZAgtWuvTTY f6x/LmO5s7cEe0m0FPFyg8xxxrwbpWr/2R62zW78= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org F305D6030F 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: [Intel-wired-lan] [PATCH v6 7/7] ixgbevf: eliminate duplicate barriers on weakly-ordered archs To: Alexander Duyck Cc: Jeff Kirsher , sulrich@codeaurora.org, Netdev , Timur Tabi , LKML , intel-wired-lan , linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org References: <1521829277-9398-1-git-send-email-okaya@codeaurora.org> <1521829277-9398-8-git-send-email-okaya@codeaurora.org> From: Sinan Kaya Message-ID: Date: Fri, 23 Mar 2018 14:27:28 -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: 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/23/2018 2:25 PM, Alexander Duyck wrote: >> + /* We need this if more than one processor can write to our tail >> + * at a time, it synchronizes IO on IA64/Altix systems >> + */ >> + mmiowb(); >> } > The mmiowb shouldn't be needed for Rx. Only one CPU will be running > NAPI for the queue and we will synchronize this with a full writel > anyway when we re-enable the interrupts. > OK. I can fix this on the next version. I did a blanket search and replace for my writel_relaxed() changes as I don't know the code well enough. Please point me to the redundant ones. -- 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.