Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp299097ybz; Fri, 17 Apr 2020 01:10:04 -0700 (PDT) X-Google-Smtp-Source: APiQypIcRCTvEvrn4mB0njYjMFdR26p5wxCM1pMLQ15h/Oa3ptzepkvFogo1oNMiV7PzOTynS5jb X-Received: by 2002:a05:6402:17c4:: with SMTP id s4mr1859052edy.348.1587111004224; Fri, 17 Apr 2020 01:10:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587111004; cv=none; d=google.com; s=arc-20160816; b=w2LBdR6Od9FxDAubh959qbEKPzsZz1mu0QtyWwHGx01jXjXQ0RJJwWuS3OWIlclYQV BWedXj1eMF8Nw06GWSHcWxXz6I1xKTe4FM9Lfn8HVPACI73d4Cq8snYYFJsII9ECxQyG gM5C8+udC5vz6InjV/4eVKuaZgBt3D9BgSO2HPuGFkaRvq7dQntrNtoorSexeQs3rg2A 6uZVNroaoRwkl/czPY4WzqqfGegQGZ6VzD4LMlhmx5DNrdiTO/cGIKusmHH1CoOehNZx 5ftNvmxXThMXYMqLBdSRxXdeDPgN5PuATFBDqGuW99Tz+wm4sRRum5y84i4OP+yTaA6J lkJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=gTKxRoDNhk9fiXXQe3k5a3OlU8GsbdSmRGlvjDxZFu0=; b=ojse4l1D8VDjF2Z52hhVSFl9fQqL/rtWLsRpAY7FhplY0RjzYUpUTOzFtVWGFCzjYL ZAhsZ06+ojXoNJBbQgwlndrnGYE/NvVGiZncb8AOEo3R/TUkdzyNkjGBzyuY+bIXhwqT J2m4isVt6EMsbXSSBHhH+mu+Qz+yM4A2J9vfrhskvqNO61S1bXU7vs1DCrQLFoU3IA4k yO7xBhA+5thyg5wq3k+zu12CYmCPm6rcgGM2iopg9xn989/9EiFBsqkstuIG0WKzRL4h ZJaGq1wxJ7UVNM301UfrZB1k2MorK6M3ekbSWzVMGBaefgxn9V5T8cEXtpXwPcC5br5P gqVw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g6si7605403edv.126.2020.04.17.01.09.39; Fri, 17 Apr 2020 01:10:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729681AbgDQIIq (ORCPT + 99 others); Fri, 17 Apr 2020 04:08:46 -0400 Received: from mout.kundenserver.de ([212.227.126.133]:48637 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729176AbgDQIIq (ORCPT ); Fri, 17 Apr 2020 04:08:46 -0400 Received: from mail-qt1-f175.google.com ([209.85.160.175]) by mrelayeu.kundenserver.de (mreue011 [212.227.15.129]) with ESMTPSA (Nemesis) id 1MZCrZ-1jkzgQ3QCv-00V5Py; Fri, 17 Apr 2020 10:08:44 +0200 Received: by mail-qt1-f175.google.com with SMTP id q17so1305269qtp.4; Fri, 17 Apr 2020 01:08:43 -0700 (PDT) X-Gm-Message-State: AGi0PuZPHLJ0ETGwYzc0w53ajd7TmC5191V2wY8CPG5IpuuvuYpJ8AaC UG55exHovexaevi31J/2Lb14TO2ls08BHLu52xs= X-Received: by 2002:aed:20e3:: with SMTP id 90mr1721476qtb.142.1587110922393; Fri, 17 Apr 2020 01:08:42 -0700 (PDT) MIME-Version: 1.0 References: <20200417011146.83973-1-saeedm@mellanox.com> <20200417011146.83973-2-saeedm@mellanox.com> In-Reply-To: <20200417011146.83973-2-saeedm@mellanox.com> From: Arnd Bergmann Date: Fri, 17 Apr 2020 10:08:26 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [RFC PATCH 2/2] net/mlx5: Kconfig: Use "uses" instead of "imply" To: Saeed Mahameed Cc: Masahiro Yamada , Linux Kbuild mailing list , Jason Gunthorpe , Nicolas Pitre , Jani Nikula , Neil Armstrong , Laurent Pinchart , Leon Romanovsky , Kieran Bingham , Jonas Karlman , David Airlie , Jernej Skrabec , "linux-kernel@vger.kernel.org" , Networking , linux-rdma Content-Type: text/plain; charset="UTF-8" X-Provags-ID: V03:K1:YpC9Ij1eNtvdD1DAdicFQKLiz2VsLhebBV++mgPKvmfb4tS0VGY rqOGEt1xfgecycpBfzED2WvluWYBfoPZe2OWbPNbAIdsGZ6ZdgpeJgxu6kgTD9yAhrUuuqs SpPmz+1uUSrabZF774kp5vTc8o628ykSybBXIDEzHcfoCzzHmjJUJO0g7VLNktUi5QEXIeR Er9sr9zQHBpzLSoyVumKw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:kx+/Em1awjU=:1KQ2OTbdqmagGY2K4XVLQt /QadPC/sm2CLOphF+BLE06ltL8tLnP2BzAX3SSHthqj4/5KC6r4fVcItmrTR1Yt01DPzVHZc7 x+zBUwk/8HmgpFTIdo5I4ZQAyWp0HYDPqC61uhBowKtvV3tdDNKwFXGr1GDKUwXK4tGAQ30qG YNgWZR5+tVb6KfWehhns+hNluZlNLoHZsWwSNkYCpuQFF8+MznVOl62EpvrIDUqUTUTFG6szr 6fJJYTIoV5syYHK7ayokV2lXYsuEMTavczqcEDxxpnNyepkITHQVqId7XlUX901tamxfxEMfr boCuQ70/628d62Db+QwqcnTGJ8gsb/uuVJxC8cFaTDy2LVlmUiZfVN4sb9oUFFbeSUSuct6W3 I6O27NuTXwCgXUDCNgcVw6WLMhnA8OVHwlVe91a55vALJIBiK0cQWjOL6/nh7uJ7S38FgYHZF u+rijcvxbolb0xLWoX5CewJ+xCpYTroUn+hsc2Ip+tRCsNjvZDXDzlih+8fOWtknZ2kC2GZrX ltj/d9L6TKtfODjk22VnYpVoGSdUaTnmend5LicVHKlFl1NvQu+Tx4E8P+6XqV1k06m4Xi4pl evkLjl+JcEZHbAxfEU7YGqsr9piLrHcEGzqE9XfAaWz3cUzoQA0lCbEgdVoI12TNiFha+qknj mGYRi3M1f7x2E1xIZVwEF+ylscG6jzXTGMQTlytZ5OsIDgYAtGjHJPTiZKatIPxrdGUEQ3zQt UBP6NUHPJtbsOvJftTnrwEDAgLSJ9ROyjAYyarreQbl8VO0KOvgT4pVrYviPQVhuHhg7rI6n0 oXV4wVnIGCj9+aeFy6n0bAyt+CYvywwhobGkswSTvgqhyyxUZU= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Apr 17, 2020 at 3:12 AM Saeed Mahameed wrote: > @@ -7,10 +7,10 @@ config MLX5_CORE > tristate "Mellanox 5th generation network adapters (ConnectX series) core driver" > depends on PCI > select NET_DEVLINK > - imply PTP_1588_CLOCK > - imply VXLAN > - imply MLXFW > - imply PCI_HYPERV_INTERFACE > + uses PTP_1588_CLOCK > + uses VXLAN > + uses MLXFW > + uses PCI_HYPERV_INTERFACE I have confirmed in the meantime that changing the PCI_HYPERV_INTERFACE dependency is indeed required, in addition to PTP_1588_CLOCK and VXLAN that the randconfig tests found earlier: x86_64-linux-ld: drivers/net/ethernet/mellanox/mlx5/core/main.o: in function `mlx5_unload': main.c:(.text+0x325): undefined reference to `mlx5_hv_vhca_cleanup' I also checked that there is no link failure with MLX5_CORE=y and MLXFW=m, but only because of an IS_REACHABLE() check in mlxfw/mlxfw.h. I suppose that should be changed back to IS_ENABLED() now along with the Kconfig check. Arnd