Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp2523429imm; Mon, 28 May 2018 09:42:12 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrRY8s06R8I+UCDRY43ALYwylfjpRhH8UA6Fwl+WUQxNszVTDZenfDwBKPjIo0Y3+n0QN5d X-Received: by 2002:a17:902:a5:: with SMTP id a34-v6mr14278878pla.58.1527525732252; Mon, 28 May 2018 09:42:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527525732; cv=none; d=google.com; s=arc-20160816; b=cNOnioFMMeRq0OsU0RVvVzbG/EHimk7B0fGp80W101vLHe5OaQPErd0O2kawI3OnAA UwT+ndMQjg8f70/0pXLa/XmmGDMfpNQAKPktuMjS7agqm+69XfT2bHuEkz+t2ijYDyzB jjQWvrpGom84jQb13lb8iHStlSY8odxMzt949QrVLwoIzQM7Cl3GzPUVXaDwpnEQKQOj yUcLCz7qaJChgXVs/U4kCBF7TuuRkwCaH6jD/9SoPsa2Y6ieYRUnjkr7h28oJLGnPsS5 f67vnamdqco7nFg3ZDo6NwrlwYJhL0XArhYQkGJMFbfVjQEXlZm+WDkqjvSPbGYBzpMQ oQjQ== 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=EC8CAg8OU2mgVg1GxXcsbHPnF2PpEoTdjQsKBl/raCs=; b=ngOiH82kAiMOLVldqbwoP5+yiRwhZocLnNZ+VUUTNFWjESA5Ywc1xY5SrTqcdUUjjn nuxgFuLnWjP62k/ZEBZ3lvhAt1DMj3S/JOuXJXhUU07Hqu/stlWY/uw0go9rmE+H/HpD IBf6YhYuDqqtniWa2+XLkoOaAlP1csECH6DN9tAg4d2pipgB5VyN/b8nundIYTNw53nx CZVYAcsQ3pQfTXOO05kwWwm8EgZsOlT6YNe20aqFrMuYlcJH0Jc/8sCRPB2hifWC4llY 8v6OUWSE4e+2ZB/2JIdT57Oi2jShoPToOUhRNr5s0TuTv2+hbPe5yKJJpPpLFrTruB0N m89Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ziepe.ca header.s=google header.b=QPa/ldqI; 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 l4-v6si24922139pgn.54.2018.05.28.09.41.27; Mon, 28 May 2018 09:42: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=@ziepe.ca header.s=google header.b=QPa/ldqI; 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 S940373AbeE1QkG (ORCPT + 99 others); Mon, 28 May 2018 12:40:06 -0400 Received: from mail-wr0-f194.google.com ([209.85.128.194]:38954 "EHLO mail-wr0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934563AbeE1QkB (ORCPT ); Mon, 28 May 2018 12:40:01 -0400 Received: by mail-wr0-f194.google.com with SMTP id w7-v6so9234129wrn.6 for ; Mon, 28 May 2018 09:40:00 -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=EC8CAg8OU2mgVg1GxXcsbHPnF2PpEoTdjQsKBl/raCs=; b=QPa/ldqIIxNfpl3aRhJVyMM4+IogTwWMFxvv2ql8T25yDoRf6qdRCr+qBoCVjks6fF tDR5p0VRPqGqhyoSI649T3YI63evWEwy1prxAyOuNkuVvykVQ8oIZFDgNI/hPgkh8n2X r0uExqi8M5ZDdDnYrXB/hsi1qHFa/bfT88y5lLlje6iZ2VmxXjS9IqiZGQKivuewOIKf 4UnQu3dXhteOieKGuhQD2P8SUHJR3Mz/IY5EuLUXaIKjD0mWSKY2kC14Cl3XnfhZOp00 uGFvoSLB/mmVHQ4iUsiJkvdiaF0UMNhmsEHRjKV5QZC4jO2IyjoO0jL0u3/A7IqlHcln +YHw== 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=EC8CAg8OU2mgVg1GxXcsbHPnF2PpEoTdjQsKBl/raCs=; b=BGf11oR+tpPlD4nZfzRn0s8Qx0283CcVtrCr6EaJHcKW1Tppws3g1JVxxpSEYXA+kJ Q7ukPhb6WsCLf8T5G8sNRLYvB1SkW90F7ksvbw1fHUK6965m8iBMJhffOiOjUWixtLIQ joScbFEXjgVjquh2H0OVJzmOBM7oEMazRUxrFOMn6ScX9Q9MEvWDHwnQWBgThwgCfwmW eq0ofDPkluflCCDdsOVDxhgJMbzp3m4/rPYFYnPPvV6sXuaC+UPRfU4Q9B5UGtH+jsLN G5MzemomQQjkPjNVP2WC7/Gsv/cVj3nyqWZtVTNz9dB5IkupH1qkxkiKkEbx2HO+C199 UEOQ== X-Gm-Message-State: ALKqPwd2BhzjWVIBt46WRluUHhVyPvg5BsMfsorEZzf95Z4YBLQdlxRY bzaYJjZj2pf3zpU5m116WOrwpw== X-Received: by 2002:adf:9246:: with SMTP id 64-v6mr12392523wrj.90.1527525599886; Mon, 28 May 2018 09:39:59 -0700 (PDT) Received: from ziepe.ca (S010614cc2056d97f.ed.shawcable.net. [174.3.196.123]) by smtp.gmail.com with ESMTPSA id z18-v6sm39074374wrc.36.2018.05.28.09.39.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 28 May 2018 09:39:58 -0700 (PDT) Received: from jgg by mlx.ziepe.ca with local (Exim 4.86_2) (envelope-from ) id 1fNLBV-0005ok-6d; Mon, 28 May 2018 10:39:49 -0600 Date: Mon, 28 May 2018 10:39:49 -0600 From: Jason Gunthorpe To: Greg Thelen Cc: arnd@arndb.de, Doug Ledford , Keith Busch , Jens Axboe , Christoph Hellwig , Sagi Grimberg , oleg.drokin@intel.com, andreas.dilger@intel.com, jsimmons@infradead.org, gregkh@linuxfoundation.org, Steve French , ericvh@gmail.com, rminnich@sandia.gov, lucho@ionkov.net, "David S. Miller" , santosh.shilimkar@oracle.com, trond.myklebust@hammerspace.com, anna.schumaker@netapp.com, bfields@fieldses.org, jlayton@kernel.org, Bart Van Assche , linux-rdma@vger.kernel.org, LKML , linux-nvme@lists.infradead.org, lustre-devel@lists.lustre.org, devel@driverdev.osuosl.org, linux-cifs@vger.kernel.org, samba-technical@lists.samba.org, v9fs-developer@lists.sourceforge.net, netdev@vger.kernel.org, rds-devel@oss.oracle.com, linux-nfs@vger.kernel.org Subject: Re: [PATCH] IB: Revert "remove redundant INFINIBAND kconfig dependencies" Message-ID: <20180528163949.GA17505@ziepe.ca> References: <20180525213123.2113748-1-arnd@arndb.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 Fri, May 25, 2018 at 05:32:52PM -0700, Greg Thelen wrote: > On Fri, May 25, 2018 at 2:32 PM Arnd Bergmann wrote: > > > Several subsystems depend on INFINIBAND_ADDR_TRANS, which in turn depends > > on INFINIBAND. However, when with CONFIG_INIFIBAND=m, this leads to a > > link error when another driver using it is built-in. The > > INFINIBAND_ADDR_TRANS dependency is insufficient here as this is > > a 'bool' symbol that does not force anything to be a module in turn. > > > fs/cifs/smbdirect.o: In function `smbd_disconnect_rdma_work': > > smbdirect.c:(.text+0x1e4): undefined reference to `rdma_disconnect' > > net/9p/trans_rdma.o: In function `rdma_request': > > trans_rdma.c:(.text+0x7bc): undefined reference to `rdma_disconnect' > > net/9p/trans_rdma.o: In function `rdma_destroy_trans': > > trans_rdma.c:(.text+0x830): undefined reference to `ib_destroy_qp' > > trans_rdma.c:(.text+0x858): undefined reference to `ib_dealloc_pd' > > > Fixes: 9533b292a7ac ("IB: remove redundant INFINIBAND kconfig > dependencies") > > Signed-off-by: Arnd Bergmann > > Acked-by: Greg Thelen > > Sorry for the 9533b292a7ac problem. > At this point the in release cycle, I think Arnd's revert is best. > > If there is interest, I've put a little thought into an alternative fix: > making INFINIBAND_ADDR_TRANS tristate. But it's nontrivial. > So I prefer this simple revert for now. Is that a normal thing to do? > Doug: do you need anything from me on this? I can take the revert.. Jason