Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp325440ybb; Fri, 10 Apr 2020 00:27:48 -0700 (PDT) X-Google-Smtp-Source: APiQypJT6Ff0GzsvtR1nJRmMGiVA0sP+jIZYT+kfvCfPOoRLqLcFY31asfWbo4BNSq9Jw6WbuefE X-Received: by 2002:a05:620a:1256:: with SMTP id a22mr2590022qkl.439.1586503668222; Fri, 10 Apr 2020 00:27:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586503668; cv=none; d=google.com; s=arc-20160816; b=jDdvXxEYHey0XoNb8YRBmGsFKe7PYbKLkZtZTIuJSVH80fPOCPwpYWGDMLSh+9z+DZ 33lVsB5v4mhYGHCYc2txGp0wdeHFxNX64TtzaSVBFYb9BpRN0mxmQypwgVxUYzHB/hH5 vZ85qTWq3tKLyKcZRuFaKWz0iPZiKfj6tdDC5pOu4exvkjMppQWhBOj0q21fYxCxwjEi SmA5lYmYySFKtQFMQssGVwVaH9yT81ohV1FG5pyjl5RmgU1jS8bxUOWPCs97Qaws19Qc QblYY4pSXe7DkTrgJtRVV9DIUKZYHWNmTcE+Ztl1DXGlaQsjJ7fyJqROhVHD2cNyT4Bi cyVg== 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=wGqUDkMyUDGl7VVhXa8WG/REtqhU4iY/2ocjn64gPfM=; b=lJ8Z81ciys8Mcj1SbpyaTrBZjkREeclTTX9z7P0Zt9dUNgYJvkZccoM3FaZK2mEyvb hZxQbVBQuhHal9eDzDa03dyUGmkoGqCuNbDzwmqJ2Bg6qhykXZef1zxmOa2P4w7juFzy u7KAtWKejcn8lXPrvxtrpYJixx1E8rasVHoCjrbeIDuRKD6Jt1qweZBmj/x4vAy/7e4G 428LtkdjiGNW0d/6s0uXJ8hXh/7Q0iMxQZtTDHAGPgwnKyAq5PwvMt68z3EyBPREZL4F +F/WloSJCMvmTI3bNBjpdRGnoVUtkdPrcVYQue9rFVy16qCcOsEV2pe4uWkKyxuMbacd ZcdA== ARC-Authentication-Results: i=1; mx.google.com; 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 w22si902903qki.148.2020.04.10.00.27.31; Fri, 10 Apr 2020 00:27:48 -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; 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 S1726049AbgDJH0v (ORCPT + 99 others); Fri, 10 Apr 2020 03:26:51 -0400 Received: from mail-ot1-f68.google.com ([209.85.210.68]:35783 "EHLO mail-ot1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725776AbgDJH0u (ORCPT ); Fri, 10 Apr 2020 03:26:50 -0400 Received: by mail-ot1-f68.google.com with SMTP id v2so1132327oto.2; Fri, 10 Apr 2020 00:26:50 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=wGqUDkMyUDGl7VVhXa8WG/REtqhU4iY/2ocjn64gPfM=; b=BMQrUUhqdlYPjlEmvICjtVVt7Sb8NynK1VcgdrW+rHu1wVmasxhERdfiiKkiGjBLvG p/tTMgDRG7A/6TroNlZzYq0H+H8wYAtiEDpoHhLLrkUFgsNfmlAD21Cv44UIny0gaMVV /dNYf1L92DEy9bStiatfuaMp4XTpPn0WytEayZ+57dyN/KYkTAQ6WJ6gzgkVt8uoKajT bY/uoly4ygrDJmUBR2U0B1QzeVH8Jp2+THePo7TWa1e9JC6Qo4z2EVBokXeUnb3148PG IIAcUVN0H7nkwsYSyD7RcurOYiWQtReoeG6+1upnVoasRm35SqBJFbSFZFK3zHvx3Vfa vDxQ== X-Gm-Message-State: AGi0Puadhc72Zm2QTvsWlaOFnMZtinIIrzPv/jEb0+Lbu1iS4cJaWsjc t4ERlzt+7w8ytsURPCCDleo03JZ/8zTgGxMEswE= X-Received: by 2002:a05:6830:1e0e:: with SMTP id s14mr3054376otr.107.1586503609934; Fri, 10 Apr 2020 00:26:49 -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> In-Reply-To: <7d9410a4b7d0ef975f7cbd8f0b6762df114df539.camel@mellanox.com> From: Geert Uytterhoeven Date: Fri, 10 Apr 2020 09:26:38 +0200 Message-ID: Subject: Re: [RFC 0/6] Regressions for "imply" behavior change To: Saeed Mahameed Cc: "jani.nikula@linux.intel.com" , "jgg@ziepe.ca" , "arnd@arndb.de" , "narmstrong@baylibre.com" , "masahiroy@kernel.org" , "leon@kernel.org" , "Laurent.pinchart@ideasonboard.com" , "kieran.bingham+renesas@ideasonboard.com" , "linux-kernel@vger.kernel.org" , "nico@fluxnic.net" , "linux-rdma@vger.kernel.org" , "linux-renesas-soc@vger.kernel.org" , "dri-devel@lists.freedesktop.org" , "davem@davemloft.net" , "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" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Saeed, On Fri, Apr 10, 2020 at 4:41 AM Saeed Mahameed wrote: > On Thu, 2020-04-09 at 11:41 +0300, Jani Nikula wrote: > > For example, you have two graphics drivers, one builtin and another > > module. Then you have backlight as a module. Using IS_REACHABLE(), > > backlight would work in one driver, but not the other. I'm sure there > > is > > the oddball person who finds this desirable, but the overwhelming > > majority would just make the deps such that either you make all of > > them > > modules, or also require backlight to be builtin. > > the previous imply semantics handled this by forcing backlight to be > built-in, which worked nicely. Which may have worked fine for backlight, but not for other symbols with dependencies that are not always met. => Use "select" to enable something unconditionally, but this can only be used if the target's dependencies are met. => Use "imply" to enable an optional feature conditionally. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds