Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp592381ybz; Wed, 15 Apr 2020 14:43:56 -0700 (PDT) X-Google-Smtp-Source: APiQypKlSKAN/BZrwrweemnRxcc3OpogsTuPOq7T3+Iam7XKJOtwjo/TRO7aRalLqM8/A8D3hw85 X-Received: by 2002:aa7:cf83:: with SMTP id z3mr12908880edx.65.1586987036173; Wed, 15 Apr 2020 14:43:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586987036; cv=none; d=google.com; s=arc-20160816; b=0u1Jf+FU7EQ7Lj6Hb+vCCJViIDHzI6KKf46FjCXhpugClhxq2tGdymIIhag0XGX2/B bmrvxUdA9GlpB8QPsxB/s+YP2SxWctj47ejzn0Cy0bEyB5P79H30aDqaEQbpANwx2T0v XmTrGnmiBMN6tligkyZ/NKDD1DvW73dQ8azX5B9EvCXtR2QrXy/vNz9/Tb4S4sstlzX8 E36PUO24qw4JYsRaQK/atgWwbFj6ElyRWPeklRCOdIq18QjOEtsw2wQ5ymXCPvWLHtNM cU08O7U/u93v/kR2/O0mDbFHyGkv0B6tUh0ak2ZqEc3x2nQAFNTWlz9U7nIXE51b7hgw 33ow== 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=QSD1ocAnHHYGBJoIU+Ymfw6Q2C9FzRc7HFEfRKtgHCU=; b=yToe8CudZ0C0upewm5k7kNUNdA1VH9yu8UoRpEDQ01ikS6s7V5oItRcXddWggwmHz3 cYoxAjFD6/EwW2pR1jm1xI4CQBDJf66mdFbtzSN16R2djoqfYVOWfU1/wbKru5hxAVqP CGDoqt6h2lEzo7J36KKYvd+Tba6jtNpZ5NrEV5HnUFYFRM1u+WYyyedB/GgarwQSEwuV /WpZITklc0eOg4ckVdmBCz6UuodWr5RwFSAC21fFN6odgtAasmj7+YE9PkcQmhbxZuhb VmCVtBpsjXo6ZWZRgrat+bUKaWYJeeCueNk1moiGG075wHL2+Pbn3c9jsVHnJg3AIdDF T9AQ== 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 dk22si6020729edb.525.2020.04.15.14.43.32; Wed, 15 Apr 2020 14:43:56 -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 S2439596AbgDNP0I (ORCPT + 99 others); Tue, 14 Apr 2020 11:26:08 -0400 Received: from mout.kundenserver.de ([212.227.17.13]:49335 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729755AbgDNP0B (ORCPT ); Tue, 14 Apr 2020 11:26:01 -0400 Received: from mail-qt1-f177.google.com ([209.85.160.177]) by mrelayeu.kundenserver.de (mreue109 [212.227.15.145]) with ESMTPSA (Nemesis) id 1MlfCm-1iyQMg4B2Q-00ihuc; Tue, 14 Apr 2020 17:25:57 +0200 Received: by mail-qt1-f177.google.com with SMTP id w24so10404110qts.11; Tue, 14 Apr 2020 08:25:56 -0700 (PDT) X-Gm-Message-State: AGi0PuYEawHzwf0tXCXIhqzyveDf/fKgTJRq7lmc/+qMlr9Ipu+OaO8G 0dGxzi9Jeq3U1wcV3mVJHRnr9OgzCouXCMt4z3U= X-Received: by 2002:aed:20e3:: with SMTP id 90mr16307053qtb.142.1586877955579; Tue, 14 Apr 2020 08:25:55 -0700 (PDT) MIME-Version: 1.0 References: <20200408202711.1198966-1-arnd@arndb.de> <20200408224224.GD11886@ziepe.ca> <87k12pgifv.fsf@intel.com> <7d9410a4b7d0ef975f7cbd8f0b6762df114df539.camel@mellanox.com> <20200410171320.GN11886@ziepe.ca> <16441479b793077cdef9658f35773739038c39dc.camel@mellanox.com> <20200414132900.GD5100@ziepe.ca> <20200414152312.GF5100@ziepe.ca> In-Reply-To: <20200414152312.GF5100@ziepe.ca> From: Arnd Bergmann Date: Tue, 14 Apr 2020 17:25:39 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [RFC 0/6] Regressions for "imply" behavior change To: Jason Gunthorpe Cc: Saeed Mahameed , "narmstrong@baylibre.com" , "masahiroy@kernel.org" , "Laurent.pinchart@ideasonboard.com" , "davem@davemloft.net" , "leon@kernel.org" , "linux-kernel@vger.kernel.org" , "nico@fluxnic.net" , "dri-devel@lists.freedesktop.org" , "linux-renesas-soc@vger.kernel.org" , "kieran.bingham+renesas@ideasonboard.com" , "linux-rdma@vger.kernel.org" , "jani.nikula@linux.intel.com" , "a.hajda@samsung.com" , "jonas@kwiboo.se" , "netdev@vger.kernel.org" , "airlied@linux.ie" , "jernej.skrabec@siol.net" Content-Type: text/plain; charset="UTF-8" X-Provags-ID: V03:K1:RfyQ2xDdl1ZlEgiL+Y7PvwDBC33min6ODLsofcFtD6lUaRExO0j r8qU4Oxw/EwZ0jcE7ean97MitHxLRZ048iY3UOXaVjNOSKnU0Y7o523T7uNpODg4HluSYzY 6Q71sv+dp75ckYuN1gISTUMofFGxPDFRqfpBSObbWeOxdeouDF9GnPoZuP9pCavduX6KCfd a2goUqaqWN+WvjFVFe0IQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:H4VJsjCrV9Y=:1ww5YkAP8BYP33jjCBtzZe gAO+1ID6L/XYyf25eZrQfum6CG9xfTfdFeSUlx1AGSvB4KRT9QBiyMUC0eMaA8HPHGmLn4BHX 0JYaYQii3d7kq01oXl+YG5NnH5GQ3seNgthXW7lEo6eNP5s6DTWZ1VpYcN0mJCwu9axrNz1bE DuZRztf4DXqT5G5cafsLPex64cjAg7FQIY8C+d2mfrqDcy5s5/cRqIYK77fINjGGP/MNvEZWN veDFHLYczUC4KgniBlp/EmkfiWkaADKUlj/8gLr4vqjyUMYwNSj/eSEyYtlCjI29ZV3NQJFbk tyPFgS3MZARIorz4Qpc7UYtL4MU6UG1QXVsd1jYci9KBR4Kq0AaLFDLQXBUtR2x8OO8k5V9PH 6qnQJZZFtfHbP7wObk9LM+CvBpI7XqIlc/n/sTawfpMVPgYNxFnYtmPCbE5UV7UBloLW0YE5c /SMOKjNLjRSTsmePktSG4S87NiGZxocpW3wE369nqChe01muVtomXN49usjPyhBdKdz1/B9kT VRqIdr4uL8mH0dTF/Ol3WiyHoMClteYldixTsV5nCu+EASX9wduTld5BJNlgT/juwXS1AjceG WDIVO/74jqtUbyupvdXS28wWsA4fRaHju9l7oanMXY4SP3h+qoC5baYYdoP6dXOWjl4UWfYKn lSEoaKVUaLdHqwHdl1BWYq0xm34uPzZrf6eBiHBkJki6KZjLz+7M2+QjRL6+9JoVWm+9BUJsd OEY227ILu/yh2AM0ARpOcVUYyDfSITw00i2yYqNkIAZ5fVlg85b7AfIz7QnwUX9bvO4TMyFFH rDilYgJhpmyVd2yS3WJb5TVhbuQyM0NdtEn6Aj9rSTtQH47ahA= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 14, 2020 at 5:23 PM Jason Gunthorpe wrote: > > On Tue, Apr 14, 2020 at 04:27:41PM +0200, Arnd Bergmann wrote: > > On Tue, Apr 14, 2020 at 3:29 PM Jason Gunthorpe wrote: > > > On Fri, Apr 10, 2020 at 07:04:27PM +0000, Saeed Mahameed wrote: > > which in turn leads to mlx5_core.ko *not* containing mlx5_vxlan.o, > > and in turn causing that link error against > > mlx5_vxlan_create/mlx5_vxlan_destroy, unless the IS_ENABLED() > > is changed to IS_REACHABLE(). > > What about the reverse if mlx5_core is 'm' and VLXAN is 'y'? > > mlx5_core-m := mlx5_core.o > mlx5_core-y += mlx5_vxlan.o > > Magically works out? Yes, Kbuild takes care of that case. > > > IIRC that isn't what the expression does, if vxlan is 'n' then > > > n || !n == true > > > > It forces MLX5_CORE to 'm' or 'n' but not 'y' if VXLAN=m, > > but allows any option if VXLAN=y > > And any option if VXLAN=n ? Correct. Arnd