Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp6453208yba; Tue, 14 May 2019 07:50:12 -0700 (PDT) X-Google-Smtp-Source: APXvYqwPDH1c4SF05Qa9M14u9FVBwruI1XDv3SLbGnB1mW6lP0jau8DAiuhkNa1l+oMhZ6dBbtbW X-Received: by 2002:a63:c24c:: with SMTP id l12mr38614491pgg.173.1557845412832; Tue, 14 May 2019 07:50:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557845412; cv=none; d=google.com; s=arc-20160816; b=QVdYF6lY6Wi86Lu+lNRoIgsiEFQTRAhQSF22yMcnS7/X81WFibWlKE/loSkHxP5xcB iXHhs8EgoRAcf6z5hOIKoo2VF9EuGwMulKEoEeGVzE8SC3FEUcCPTFIPYFjBEtdJ93eY +59NITKV27Q3y78Y3RwYCmf3GrZ1VzQBw/Wx4qu3FLyEUQsok13k8aYaXAQ8oTFpLbWK UHPZs0rRNiKtWh+C695OUrG8EL01v4sFbesi1nBMWEolksSNi/p0LLrT6Q9aOozMhfEi aq8rlR1qgYmnsAd4h0dxPTrbFXBGrgw64v0oob5xr+QpW5tQWL6gEyqDSN00mtrpJwQj MrHw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=oVzNv9Cda4AG48ayrkoKl5rIu1/NIqCv8NqNC2WTHNk=; b=tfMClQV+IPsxeSKh3JR7jOMdmDwK5IiIhtkl3+2yUtPdUejADpC17g1tloE+OubnuS oS3/0S2K3ah2mZ3vQ0585253CcmH4gOAkKzbm8eOsS34FYZlSD6baiWHpidx64LUwjd7 sW/qs6dDMtA2akRKKrLkyfzI+FnWAoBA5P65O5iIn5KfjxLJHMA/CJgZiTuCr25YkaBS FRDkLO/bjfQGa8dikaHN5yxPGRK7LYtaO/DVSjqo2hGA/t+PDvkpP1AWjfCm58gmZ57f ygzbmC0TdToGymJK1iZs10FWOQf90/pIduuw0zmY1jje54LWC8WkdI5EeRIwvVTjQPjS xFrQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=PWGMigxr; 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 x21si20099672pln.224.2019.05.14.07.49.58; Tue, 14 May 2019 07:50:12 -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=@amarulasolutions.com header.s=google header.b=PWGMigxr; 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 S1726839AbfENOs0 (ORCPT + 99 others); Tue, 14 May 2019 10:48:26 -0400 Received: from mail-wm1-f68.google.com ([209.85.128.68]:53444 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726764AbfENOsU (ORCPT ); Tue, 14 May 2019 10:48:20 -0400 Received: by mail-wm1-f68.google.com with SMTP id 198so3194068wme.3 for ; Tue, 14 May 2019 07:48:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=oVzNv9Cda4AG48ayrkoKl5rIu1/NIqCv8NqNC2WTHNk=; b=PWGMigxrpID6s8IULkbH99Y1lhvCduvvj46ce+Jn7M72fT9TeIXEZYECmVOQCUQNHr FApeJ4e7A9fYy9hxGe5qnCUNcXvgdNuVkhfOD5K1xtfRWbarEA7+dfHVLkK7x7+g3xiK Re4w+Z+2GFCXOd0H6gAQJMx6YjB9hvvcVK8f8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=oVzNv9Cda4AG48ayrkoKl5rIu1/NIqCv8NqNC2WTHNk=; b=VldS/TvQZjLXR9LwqHBve2yuSH6qO0aD68W2xD5NnWLZ75XRScr9ZKBv0oR9oYYEzw FYSg9RFSHOFWFY770vAPronFWMh5acIkRjnulelSyev7y/rzVIfjjr3SfQ+T17Ocq1n0 ZdglP3WlULf01CLymaWR8VKdOKzESFe/KEEfmJv2bgN1i+wNwdJ88K2AgTsYxI8dieuq CLrI9UMScNjaDPI599gQBGMxHMIe3iP2KKilXzF2vEvxNgjTb5fXHOEIJbVC6wOMxZ3y MCsDUVxGbcGdssAbghLus+XaTy6LXa3G9OFyY/avnYFsztYux3l/etJitU15p1pHkjZa iaAA== X-Gm-Message-State: APjAAAWO/y1wSsMUYA/4GBnZJuKsRI+zM4pdMRjTZkUuIeZ+DgZ35cR2 5Wora3hlVuRs1jnEIRgZ8T0v/g== X-Received: by 2002:a1c:3c2:: with SMTP id 185mr2275481wmd.91.1557845297691; Tue, 14 May 2019 07:48:17 -0700 (PDT) Received: from andrea (86.100.broadband17.iol.cz. [109.80.100.86]) by smtp.gmail.com with ESMTPSA id p6sm12048114wrs.6.2019.05.14.07.48.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 14 May 2019 07:48:17 -0700 (PDT) Date: Tue, 14 May 2019 16:48:06 +0200 From: Andrea Parri To: Dennis Dalessandro Cc: "Ruhl, Michael J" , "linux-kernel@vger.kernel.org" , "Marciniszyn, Mike" , Doug Ledford , Jason Gunthorpe , "linux-rdma@vger.kernel.org" , "Paul E. McKenney" , Peter Zijlstra Subject: Re: [PATCH 5/5] IB/hfi1: Fix improper uses of smp_mb__before_atomic() Message-ID: <20190514144806.GA14962@andrea> 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> <0a78eded-6c08-8d32-ec31-d62d6feb2118@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0a78eded-6c08-8d32-ec31-d62d6feb2118@intel.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 14, 2019 at 08:32:52AM -0400, Dennis Dalessandro wrote: > 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. Thank you for the confirmation, Dennis. I'll hold off on this one. Andrea