Received: by 10.213.65.68 with SMTP id h4csp610374imn; Fri, 23 Mar 2018 11:32:49 -0700 (PDT) X-Google-Smtp-Source: AG47ELuZHV3A2XkghJSHbprIuwIpdMluklzkzEcu7tOeh44rhlP/c9sfLfYLz9VA9Oh2W9JkK3b/ X-Received: by 10.99.105.7 with SMTP id e7mr21563977pgc.193.1521829969390; Fri, 23 Mar 2018 11:32:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521829969; cv=none; d=google.com; s=arc-20160816; b=lvUTtlllyzkg0gFwtnEZvVRXCRyDITa6v4/3tKuvxkSDk04Ji516/rtewHFBLbT59y bh+c59N0mEXqshsrb0ng4ddtB1icHY7F7p0Of4LeFwixcFgV+WdDdR9jalIY7CaGarP+ TjvdbolJHWiG36u5u2eQ5r7q4oC7tT3LNQRSUMpKYdJGXT4tVg73dY4A/hDpj+XHJZMt MAB7ZinUer1H5LnJB7DKu9sPljMcEjOlm1iPsN/re2SYkdvW5XOr26MZCr/fs32vfJRt mfIikE/VdT46iOVUYUvpaqnWXGHLarCarBPIRt+1d3MD1Qk15IUYAX45UgO9XPgxEpov x6MA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=91DVY4nwAhNqCuZ6aMRcO6XT4F0weF9M7oFCPK+LE7o=; b=Wn91XHwOvw16EM6Ie9FeJrSLuGALUL7rck2mqhdxt6i1eR6l/A2OvS1Uo3YKSFXli4 6DKucAVsQhKAblrYkKSAdDH8PMbITd/xHDmZP+Xj1Zn0QFcpvW3TWaNcJURJmgw7zqA+ tkrGAB1yRNTbROryiPoPN+Y/5M95ZtS0QECFr2w2garOEuobXAD9z1ds4Lplw64ghAA1 cMAXALoVmF/9BgmAjdPjqZP96qcHsHEv3bEAOuW+3lHmVIhJvQfFbFgSRX8lF2yhDz8B UXoz1yZEDqxvpbd8snxCxt07X1NcTJ2t+PqqCzQpN0vzExCvkSF/0m+fm2zUe40bLiF9 kHbg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=BWMmqvXq; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d8si7115424pfb.349.2018.03.23.11.32.34; Fri, 23 Mar 2018 11:32:49 -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=@gmail.com header.s=20161025 header.b=BWMmqvXq; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752500AbeCWSbj (ORCPT + 99 others); Fri, 23 Mar 2018 14:31:39 -0400 Received: from mail-wm0-f52.google.com ([74.125.82.52]:55012 "EHLO mail-wm0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752026AbeCWSbg (ORCPT ); Fri, 23 Mar 2018 14:31:36 -0400 Received: by mail-wm0-f52.google.com with SMTP id h76so5233137wme.4; Fri, 23 Mar 2018 11:31:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=91DVY4nwAhNqCuZ6aMRcO6XT4F0weF9M7oFCPK+LE7o=; b=BWMmqvXqc2GnyEzLLxoRT8P3ULpM4L46WH5TDkQuQ93RJ5Owb1p9EWA5Sa3UGJ6fhJ WBqJxvLZqMnfsijzUWQbqO3pFtNOW0BKuZD5/4bWcQCcwv9HgP/btxbBHo84W2J0hW6r JJbTRnySBfOV+Z5nKJ9y0a8eQEb4Q3CPn1ErQt1PUzcWD7SjjRxynBS/+QBxqbr3upKz 23kQUaaDWbeMigYNqaNHJRQ4VB+9/9BGHzTQlgJwEV44fZFHKzwS6CFjStXXl9gjCUHQ 6zbzSoGo/OQwLCzz7j5g3r4Cf/4C9Bv6gE2BpPsJAy7jTH/cP7eA+cXZL4ZkmeaowPvN 6lBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=91DVY4nwAhNqCuZ6aMRcO6XT4F0weF9M7oFCPK+LE7o=; b=jByNyJY+WOvl44CJQLBJ1HA6Zn03ByLcQbUgP5yVfBqkXyB589ZQoc61EDWTKDaLjl xxzkyV85+DfHa2jtLZm+tF8wx5U5gnL2mUU/C8fOwRFD8JVoCPK8s4/4Dj6mzN+3OIj2 CR/xsyhDbQH9Za32gW4dvhZ1FV7G/5q3YAg6V95Aw7Q/KHlC5rMeKKgHgnhhE68DcnHj aIBSwQm7WmmO3sTFxDBl4Gl0JCjrI6tw0ubYP/RHj6sQnpG185rGW8MFkVLyUehTbeu8 kSy5RReHbwn4yBgstolgFWhk1xODmfcoIwOSen2LTFRUJ8vG/Bq/uCgMVeMUVgusqPLz m8+A== X-Gm-Message-State: AElRT7FFMe0eEkVLxmOYBJ8o219gTGx3/HFeMGz8/s/ZUqSGDR0FnZ8d jBLn/GkgYJ3MwD7RHWeco3XVSaTE7pDse4Wkz+M= X-Received: by 10.28.179.194 with SMTP id c185mr8834448wmf.89.1521829895064; Fri, 23 Mar 2018 11:31:35 -0700 (PDT) MIME-Version: 1.0 Received: by 10.223.184.189 with HTTP; Fri, 23 Mar 2018 11:31:34 -0700 (PDT) In-Reply-To: References: <1521829277-9398-1-git-send-email-okaya@codeaurora.org> <1521829277-9398-8-git-send-email-okaya@codeaurora.org> From: Alexander Duyck Date: Fri, 23 Mar 2018 11:31:34 -0700 Message-ID: Subject: Re: [Intel-wired-lan] [PATCH v6 7/7] ixgbevf: eliminate duplicate barriers on weakly-ordered archs To: Sinan Kaya 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 Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Mar 23, 2018 at 11:27 AM, Sinan Kaya wrote: > 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. So from what I can tell only this file and i40e needed any additional mmiowb calls added. The rest are not needed. - Alex