Received: by 10.213.65.68 with SMTP id h4csp940612imn; Thu, 22 Mar 2018 11:49:03 -0700 (PDT) X-Google-Smtp-Source: AG47ELsPeIuq8Y+7xaXOJoYPPTuVQnt5Ba5AsYrdTN8M7cfCgKXo043Ecg4I7GI1YvZwD+xWi2s+ X-Received: by 2002:a17:902:7482:: with SMTP id h2-v6mr26529039pll.264.1521744543760; Thu, 22 Mar 2018 11:49:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521744543; cv=none; d=google.com; s=arc-20160816; b=VbKCQBab2Od+ad0eByM81BTSLcaFwQOZvQKQoF95kRYxRUXItA73mSNyaJciCiktxL Ml2vy/2UGME+GOon8jd6APlIsCHGUPAkZedyPWKXMCo6Typc8/0jjj62rNW6Dd+A4PP1 2Pnrd8QfkBRbrTMOLKDQDpCZmFTjKBpYDFLLffjyDwiqsgJiOxM/krlT6ErXcn1I4jTp 9/4WRGWIgnaIt6dweJw8zNY0fcmfzSaGFjvqL7ZwZSC38iJzPKiRaEr5PlBb1x3wKh5c T6qqgT1mtk5werlZpMvgh6bRByOxNYqlYslPRuwS6hTTIt8O0oEv5lo5UCSikVQNji0b WpGQ== 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:arc-authentication-results; bh=TiSTr1x9QZ8fS+ZrV8fc9JmofEtPFAah08Im4lB5MFA=; b=JkOyrhKctmn1svtSYTCCgcBwLXLpnkmJOWhSjOFgQ+BFaQwhLnoKRVFw1qfcjTDcw/ MI2IoZxtqEznWeUHVW862ZGQ6tNxsZiN0nvecKIfbsCbP49NPalP3VaQdMRG36O0+8f4 E0VjB/9/B9Xk8ddY9IniyB5BH+swe74jxgDnwUByv/N3QxGe5OyS/0GOrypcs//R+36T 6mWfnXuzpdL0m8Wc8CcdkBNaRX37F36hNKfMkP6K/8sXZ3GG/1bz6s8LjWryoqonwws+ FnanCjCl/5AwpQCRPBdLi3u3hilHydniHMDOYK+KAKEZwwRO15jNnGLyzu9J4TT7ulBz YDEg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ziepe.ca header.s=google header.b=D1BwkUXN; 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 k7si4761365pgo.509.2018.03.22.11.48.18; Thu, 22 Mar 2018 11:49:03 -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=@ziepe.ca header.s=google header.b=D1BwkUXN; 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 S1751825AbeCVSqz (ORCPT + 99 others); Thu, 22 Mar 2018 14:46:55 -0400 Received: from mail-wm0-f65.google.com ([74.125.82.65]:40835 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751600AbeCVSqw (ORCPT ); Thu, 22 Mar 2018 14:46:52 -0400 Received: by mail-wm0-f65.google.com with SMTP id t6so18076576wmt.5 for ; Thu, 22 Mar 2018 11:46:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ziepe.ca; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=TiSTr1x9QZ8fS+ZrV8fc9JmofEtPFAah08Im4lB5MFA=; b=D1BwkUXN9615RLxLaarfYDpitn7xBp/ZjkMVPafJ5t07t1E/Gn8a2/EN8gLPlFCdP5 uwl0raIe+fiTj2MY6XkOHgcRCod/f9YpLNm1hQiBnwDrdGl7tixGtnvrmrSF42441YiO wOnu1pSaKnCGwRweMEMX4RbhkJbTnl4dgagD+YsABnT1HHaGGgJyqf5egugQxcSsNKcj Ogbp7cC1fWZXywILQxX1Zdtvr5sbRgCHYiF2ESwBYE7W4GbaZwJ1Q2Yb9D/CZIFFVoX4 xJ9+65nK8Ovi4z51oNIbIrObFQV3zuZxq1z2t2B1IX9aSx3ikhqL2rUx/DbfJi5wmJN6 IoqA== 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=TiSTr1x9QZ8fS+ZrV8fc9JmofEtPFAah08Im4lB5MFA=; b=Ech+wPF04XfgDXr/vioiGs8hXaWnMlurGD1aLeBfYWfq5k2Mp9oQwSLkPBGM23efly WCTlhzUBT7KhRlro4ib1BbSUoktzyHb5J7+JPbJdzIR5FeQZfVj92c/nkMh/MPDSD/uy KPlX/kVjrN89GMGAXOLn8w27XEzPfIZOaSJ3F0r/s9PUOpu2+YHuvA7ecuXRRwBid/4e F5CLjPIvTJHPbSbfbg6SnwMtSqQFVwI6csYW2+k45SWJps8LyZvyjp60/d4RcUnkEpSS 34kSbuJPKmgkWey6pKaQ9jRBWeQ+ygxNbC+Wg2kjr2QM9rn7J9poWdABEs8j690I6s98 gEHw== X-Gm-Message-State: AElRT7Eeinl5iU0tHgfPP1z9QK3OkcGFXtYi3Mpu2TVQK5VEq9Pjvhka OsZ/nwvljFHx2+vfvxvLwqbxZQ== X-Received: by 10.28.105.19 with SMTP id e19mr6761941wmc.3.1521744411363; Thu, 22 Mar 2018 11:46:51 -0700 (PDT) Received: from ziepe.ca (S010614cc2056d97f.ed.shawcable.net. [174.3.196.123]) by smtp.gmail.com with ESMTPSA id l41sm14846387wrl.2.2018.03.22.11.46.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 22 Mar 2018 11:46:49 -0700 (PDT) Received: from jgg by mlx.ziepe.ca with local (Exim 4.86_2) (envelope-from ) id 1ez5Ea-0005aX-SX; Thu, 22 Mar 2018 12:46:44 -0600 Date: Thu, 22 Mar 2018 12:46:44 -0600 From: Jason Gunthorpe To: Sinan Kaya Cc: kbuild test robot , kbuild-all@01.org, linux-rdma@vger.kernel.org, timur@codeaurora.org, sulrich@codeaurora.org, linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Steve Wise , Doug Ledford , linux-kernel@vger.kernel.org Subject: Re: [PATCH v4 4/6] infiniband: cxgb4: Eliminate duplicate barriers on weakly-ordered archs Message-ID: <20180322184644.GA9469@ziepe.ca> References: <1521514068-8856-5-git-send-email-okaya@codeaurora.org> <201803221430.P43GJl9U%fengguang.wu@intel.com> <3664b253c730dbf83f4528acaedb3a88@codeaurora.org> <3e9c006e4541acbce11743dbda553e84@codeaurora.org> <437ab002-b8db-24aa-583e-0e61d61aaa97@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <437ab002-b8db-24aa-583e-0e61d61aaa97@codeaurora.org> 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 Thu, Mar 22, 2018 at 10:28:13AM -0400, Sinan Kaya wrote: > On 03/22/2018 08:48 AM, [1]okaya@codeaurora.org wrote: > > Jason, > Can you remove the writeq change if it is too late for me to fix? > This is an infrastructural issue on xtensa arch. > Probably, it won't get fixed today. I was able to drop the patch, please resend. > AFAIS, even writeq won't compile on this arch. I started questioning > this build test. > I found out that the solution is this: > #include Yuk, what an ugly API.. > [2]https://patchwork.ozlabs.org/patch/511801/ > I did a compile test with this change on xtensa and it passed. I'll > repost with the added diff. > +++ b/drivers/infiniband/hw/cxgb4/iw_cxgb4.h > @@ -46,7 +46,7 @@ > #include > #include > #include > - > +#include I think this is the wrong one. I would expect all PCI-E devices should use lo-hi, eg writes are done in address increasing order on the bus. This is what the PCI-E spec would require if a write were to be fragmented so I would expect devices to handle it properly. Steve? Any idea of specific things for this HW? Jason