Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp38543imu; Thu, 6 Dec 2018 18:42:12 -0800 (PST) X-Google-Smtp-Source: AFSGD/XuhVX27J3bm0b++fvxZ00dY7SkLSSoE6baBwYJb4kJn64DR8slw/4wVHqAIS8gpmCMFh8f X-Received: by 2002:a63:6906:: with SMTP id e6mr438281pgc.144.1544150532462; Thu, 06 Dec 2018 18:42:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544150532; cv=none; d=google.com; s=arc-20160816; b=OJBhTrgbgM6ps0O+AXeI9AGDLY2mDxN3KwJ/39+XYhfm5Hr5qCAX/RVi3q/CpHdQip lQ9q3qG8yxufWQ3nfXG7CZMr0iRUg6BKMFZjxxg1WaA5ahXfolneuxahE7H4lMsphQtP 3eFLVK2xFdVsJ47zUTzPYcINP++BFAXahWuNVFzz/twyKttM6SuZBbnDqtNAPakjEnZh lwISBNEhBeebhEW/XU7l3OOx1JrV6k6o5rMe4WsG38vxMqHeUZ+YenetJLu3SEJ6gCzx PVSgO918Foe7QGOuPKXAxDELZ9BfQAShjccFkd8OdChrzz69WswDROwXHbbOAYvglx8M hHEw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:dkim-signature; bh=g7G8ZL48aHkICJZ+n83YQpLVR4rFU3A887hD0zla+Ok=; b=kPoammsViFnLSuND+79f3LVYCz3MZvi1BMDM4BG2A7OoDgOzB65uQB8tmgzJXdQllT L4Draw/nF+f3A4SBrs0TA8bobar2/AHcFyOyY7Zz9H5C/cCT4w9JI01NG960twwdDw25 2T2uosTfjl9bLniq0Pd93MwGapSKzAwXvku1QU2XfhdARnVha/Y1Z9pq0FqQIO9C2APM e/XCaGQo5/UkMQpqjsOsc5POD5ecoEg+mhs9Y0oNYhR01/Z5id9d3GVr5/EQYBrXiMYb i1Be1ZXQ4wxUqx+S02UJu2ou/Wc2QNcVhcR46ogmr7oRW9b8ViNr7qaiifL1UxPq7xtb NMbw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=gnJd6Sla; 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 ca6si1792121plb.141.2018.12.06.18.41.55; Thu, 06 Dec 2018 18:42:12 -0800 (PST) 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=@canb.auug.org.au header.s=201702 header.b=gnJd6Sla; 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 S1725996AbeLGClM (ORCPT + 99 others); Thu, 6 Dec 2018 21:41:12 -0500 Received: from ozlabs.org ([203.11.71.1]:51753 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725939AbeLGClM (ORCPT ); Thu, 6 Dec 2018 21:41:12 -0500 Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPSA id 439xYJ4TPcz9s8F; Fri, 7 Dec 2018 13:41:08 +1100 (AEDT) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=canb.auug.org.au DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=canb.auug.org.au; s=201702; t=1544150468; bh=in799l+gwWSc81BCXQVEnX5dyVSowkohU7xYyUBmvaU=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=gnJd6SlauLMtY/oBYZC/IkIZp6VTURaEPyoleSWGHDYgJtYs8NegJAAfggM9yFssd e7x4ReW9WLFMvTiwnNrWU1+CneDyRnM7tIuxKS8qdS5OflB7TH2PyWVMleTZimdKTf BOwnlRQKFHhdRPx1bCfxQKcW6/YrnKZHKQ/hwshoyrjfWPifzThZdRPjjyT5wjYiL9 LHt4W7gVcYvsamcSdAFnXfg38q8g7L6kn5uPVVvfZ36judrjIUb2SHUIUBmslUMCWc L+Z0flGTFGit+Y+2abT02GkjVtO5b7jx+/v5QmjkX4+gDMz1UFtLebQi/jpS0A4uyr Ibc3OgVaxw2dA== Date: Fri, 7 Dec 2018 13:41:08 +1100 From: Stephen Rothwell To: Leon Romanovsky Cc: Jason Gunthorpe , Doug Ledford , Linux Next Mailing List , Linux Kernel Mailing List , "Guy Levi(SW)" , Majd Dibbiny Subject: Re: linux-next: build failure after merge of the rdma tree Message-ID: <20181207134108.0abc681a@canb.auug.org.au> In-Reply-To: <20181204094256.GX6462@mtr-leonro.mtl.com> References: <20181204114731.48b18bfc@canb.auug.org.au> <20181204015247.GR12288@mellanox.com> <20181204094256.GX6462@mtr-leonro.mtl.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/gcP/NiGqojFUI51DhDFM8j0"; protocol="application/pgp-signature" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Sig_/gcP/NiGqojFUI51DhDFM8j0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi all, On Tue, 4 Dec 2018 09:42:59 +0000 Leon Romanovsky wro= te: > > On Tue, Dec 04, 2018 at 01:52:54AM +0000, Jason Gunthorpe wrote: > > On Tue, Dec 04, 2018 at 11:47:31AM +1100, Stephen Rothwell wrote: =20 > > > > > > After merging the rdma tree, today's linux-next build (x86_64 > > > allmodconfig) failed like this: > > > > > > ERROR: "mlx5_get_send_wqe" [drivers/infiniband/hw/mlx5/mlx5_ib.ko] un= defined! > > > > > > Caused by commit > > > > > > 34f4c9554d8b ("IB/mlx5: Use fragmented QP's buffer for in-kernel us= ers") > > > > > > mlx5_get_send_wqe() is still used in drivers/infiniband/hw/mlx5/cq.c > > > and declared in drivers/infiniband/hw/mlx5/mlx5_ib.h ... > > > > > > I have used the version of the rdma tree from next-20181203 for today= . =20 > > > > Huh. So apparently every compiler that tested this patch (0-day, mine, > > the submitters) optimized this call away because is_atomic_response() > > always returns 0: meaning mlx5_get_atomic_laddr is never callable and > > can be deleted entirely, including the call to mlx5_get_send_wqe. > > > > Not sure what compiler setup will hit this, but it is clearly wrong > > code.. > > > > Guy/Leon, please send a fixup.. Maybe just delete all this > > handle_atomics stuff? =20 >=20 > I deleted it and will wait for the results of regression prior to send th= e patch. I am still getting this error. --=20 Cheers, Stephen Rothwell --Sig_/gcP/NiGqojFUI51DhDFM8j0 Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAlwJ3cQACgkQAVBC80lX 0GyItAf9FvphDCI5EvBs04a8UQkDV4gtTtTtrXDrKPrI92z34gRHAOlAtiCIRQXY K6S85AYP95aN/ocOjR+DAb1tk9oOWAiMI3xUL/RFauxWF+q0yMXO0JhDyRMXsCPK GOhrxGzKC1dl2WWuaNxapRg92W5Q4U2EXWXRepFT/ZJH+nmH0MESEGLjEzYDXSxt 485XWOLNESYR/9y6hxlWsmaCi9qit4e0bzrne8aLmyjHh+8sWJaLbVbSSLzdvqaS 15DienmVveQePTcpHazrw3U8aBTJ5+ABwYBBGjl0WnVutEyFHhdhMuitGElLchoZ +emd3VHSObcBWNM0rNTU8ayZNjx/sQ== =b4Ih -----END PGP SIGNATURE----- --Sig_/gcP/NiGqojFUI51DhDFM8j0--