From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752465AbeCWS1f (ORCPT ); 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 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 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.