Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp6310194yba; Tue, 14 May 2019 05:35:59 -0700 (PDT) X-Google-Smtp-Source: APXvYqzJhLpGHhCov7YFvV3DfRsSvJRR4U0/EzbjlRZwLiMAPQF8NCZtS4SSy3a9KX8M/1dcubZD X-Received: by 2002:a62:75d8:: with SMTP id q207mr8441851pfc.35.1557837359393; Tue, 14 May 2019 05:35:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557837359; cv=none; d=google.com; s=arc-20160816; b=n0Tb2cTl1b02Nnh1rhjAebwx9BSxosam5njf3gGNOSg2C9nd9tNLGronHw9roufax1 8+qcnzwMPv7ykjVeUPzy7+B6/hfQ0EX0jAX1tmCnpN39HtOHTReq8fTvUNxThl8NgaGx 2G/jYilMH8kgXe8woCJJ5E1GUnzOGqcGa21SQtthOX6SXpmo7iZn2vh/FPgoA/LIM+g2 xGyHAqfybnnWNmkistQPkYzzYisEn1se+VhmA8G7EKnkiwm5aH1Xtj4FGAj2rgWMofKl zuj/du3Jqkxq2qBeJCydFT3F9p86jYVwnBW+JNneX+khVvvP7dcWiQGAkmatJ1ci3faD BM+A== 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; bh=oLwSaj8b7gg7VEKXnJ6yLOZgDPjXLMxpHsjDI+Ar/FY=; b=CZ9ZBjFHzAeIX8EC8DM07JEGToPnPC9jawn8yUrT9txT6Oid9Dw2XdiOzpyv2CxP3A AEI9bDTekxdC2oVweIOXTH2UB6dDD1e3jBJNJ+sKf13yMTIVI4q3VFoga4m4927Vot7o bllqppSJjDNzGca3DRN14UD1l6Y2QAun+uXPO5C8Xcg8xtGHsyBydknWz7g7I0KphMzK dS0VOakA//DwioLvx/2QZjeheyYxQqt4Avt0NUF0TQ0QCz8ENtbKLNhDVhgMejG3ueOT Lv1YrNL40H8qOA2UX62omWvQr1f5CUvuyMjR6/BFGj9SNFpUaMLzgOqLlP5Sq/2ZtLX2 480Q== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r26si19889788pgb.32.2019.05.14.05.35.42; Tue, 14 May 2019 05:35:59 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726406AbfENMcz (ORCPT + 99 others); Tue, 14 May 2019 08:32:55 -0400 Received: from mga03.intel.com ([134.134.136.65]:42415 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725893AbfENMcz (ORCPT ); Tue, 14 May 2019 08:32:55 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 14 May 2019 05:32:54 -0700 X-ExtLoop1: 1 Received: from ddalessa-mobl.amr.corp.intel.com (HELO [10.254.201.71]) ([10.254.201.71]) by FMSMGA003.fm.intel.com with ESMTP; 14 May 2019 05:32:53 -0700 Subject: Re: [PATCH 5/5] IB/hfi1: Fix improper uses of smp_mb__before_atomic() To: Andrea Parri , "Ruhl, Michael J" Cc: "linux-kernel@vger.kernel.org" , "Marciniszyn, Mike" , Doug Ledford , Jason Gunthorpe , "linux-rdma@vger.kernel.org" , "Paul E. McKenney" , Peter Zijlstra References: <1556568902-12464-1-git-send-email-andrea.parri@amarulasolutions.com> <1556568902-12464-6-git-send-email-andrea.parri@amarulasolutions.com> <14063C7AD467DE4B82DEDB5C278E8663BE6AADCE@FMSMSX108.amr.corp.intel.com> <20190429231657.GA2733@andrea> <20190509211221.GA4966@andrea> From: Dennis Dalessandro Message-ID: <0a78eded-6c08-8d32-ec31-d62d6feb2118@intel.com> Date: Tue, 14 May 2019 08:32:52 -0400 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <20190509211221.GA4966@andrea> Content-Type: text/plain; charset=utf-8; format=flowed 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 5/9/2019 5:12 PM, Andrea Parri wrote: > On Tue, Apr 30, 2019 at 01:16:57AM +0200, Andrea Parri wrote: >> Hi Mike, >> >>>> This barrier only applies to the read-modify-write operations; in >>>> particular, it does not apply to the atomic_read() primitive. >>>> >>>> Replace the barrier with an smp_mb(). >>> >>> This is one of a couple of barrier issues that we are currently looking into. >>> >>> See: >>> >>> [PATCH for-next 6/9] IB/rdmavt: Add new completion inline >>> >>> We will take a look at this one as well. >> >> Thank you for the reference and for looking into this, > > So, I'm planning to just drop this patch; or can I do something to help? > > Please let me know. Mike was looking into this, and I've got a handful of patches from him to review. He's unavailable for a while but if it's not included in the patches I've got we'll get something out shortly. So yes I think we can hold off on this patch for now. Thanks. -Denny