Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp902158pxb; Tue, 1 Feb 2022 12:48:27 -0800 (PST) X-Google-Smtp-Source: ABdhPJyZWt6ZIFSW0wqWtQzCkfRTVckiekqyBdQF5AlrMRRAjW7u8TPEZv5ynCkFpF4BwNzXRfGf X-Received: by 2002:a17:90a:4045:: with SMTP id k5mr4487071pjg.98.1643748507168; Tue, 01 Feb 2022 12:48:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643748507; cv=none; d=google.com; s=arc-20160816; b=iUoLK43u/8LFxdq3AFw8OzAAKCW4Cw+QhGmEc2OBwgEzuYGgho1fDiEjX8dzep8WzC 0xGaPzTvLBU7BvB4Bixu/Kl3lsX3EDP2hb/ZIHpZ7vQn8ZQGQ+Hy429Dzkd+DEp84qby OVTjPtlGEkC1oX7AJBsAij478scgMo/szlOjVPb9IzTAN8a7uAIE3u5Uu+K/vOJMMNYq k0z9mDhP3FT1+zgTdqaIyI7x3bmOHBiOmXOI/MGFCvTLLBW/hApMjtSwhwTPKyTU0e/P B+wxCymu2vSMCazzNQU+ju7fN0AH/s7IOdwVeoKdI79QV9Rs7pscoF8iP/lUTTvJtokC 1LFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:message-id:in-reply-to :subject:cc:to:from:date; bh=bak8UPOvBCfm/mQRckupjX8dfSQXPxq5g2M7Djv6/io=; b=vhD3AmnJ2RbIIYV9xJASCpo3DTnIFKjkU+2hKWPX9Um3fhw6lLZG+GvCwjxZIK9xs7 8RzOXfrO0qkU7z9aBFCxyKOs8gq3nx2xJ/ST/u7MXkTgOigSGDuW4q/dxIXcP4yFixir lA8oYaMMnCI+d+Wz4xdD4dAG7AAVnhuJaPrxrNDihTf2EU2ZjW5kBqFM6SS75FFUl1cl 5ZhA5tQznMrEaiehzDZkNhL39g8k5ZtoJh5mbPsbNLaQSObkVSCrWNuOqGIFW3b2AP1k bE6GfTF+tYRJZtE+GeipXZj7FfgHM/rNLFTqj2qPM4V1oJ44SxT6MJZ+CYpwfLxzObdD 4WgA== 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 mu14si3766525pjb.118.2022.02.01.12.48.13; Tue, 01 Feb 2022 12:48:27 -0800 (PST) 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 S1357560AbiAaTGs (ORCPT + 99 others); Mon, 31 Jan 2022 14:06:48 -0500 Received: from mail.i8u.org ([75.148.87.25]:51535 "EHLO chris.i8u.org" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S235245AbiAaTGq (ORCPT ); Mon, 31 Jan 2022 14:06:46 -0500 X-Greylist: delayed 691 seconds by postgrey-1.27 at vger.kernel.org; Mon, 31 Jan 2022 14:06:46 EST Received: by chris.i8u.org (Postfix, from userid 1000) id B353F16C9535; Mon, 31 Jan 2022 10:55:14 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by chris.i8u.org (Postfix) with ESMTP id AE22316C92D6; Mon, 31 Jan 2022 10:55:14 -0800 (PST) Date: Mon, 31 Jan 2022 10:55:14 -0800 (PST) From: Hisashi T Fujinaka To: Florian Fainelli cc: Saeed Mahameed , Geert Uytterhoeven , Geert Uytterhoeven , David Awogbemila , Linus Walleij , rafal@milecki.pl, Horatiu Vultur , Andy Gospodarek , Edwin Peer , Wei Liu , Michal Simek , Christophe Leroy , linux-sunxi@lists.linux.dev, Jiri Pirko , l.stelmach@samsung.com, Shay Agroskin , Randy Dunlap , linux-kernel@vger.kernel.org, Jon Mason , Shannon Nelson , Claudiu Beznea , Alexandre Belloni , Chris Snook , Zhu Yanjun , Arthur Kiyanovski , Stefan Wahren , Stephen Hemminger , linux-stm32@st-md-mailman.stormreply.com, Gabriel Somlo , Rain River , Martin Habets , Yisen Zhuang , Jose Abreu , Shai Malin , Maxime Ripard , Claudiu Manoil , drivers@pensando.io, Omkar Kulkarni , linux-arm-kernel@lists.infradead.org, Vegard Nossum , David Arinzon , Microchip Linux Driver Support , linux-renesas-soc@vger.kernel.org, Maxime Coquelin , Catherine Sullivan , linux-hyperv@vger.kernel.org, oss-drivers@corigine.com, Noam Dagan , Rob Herring , Steen Hegelund , Dexuan Cui , Jernej Skrabec , Chen-Yu Tsai , Joel Stanley , Simon Horman , Asmaa Mnebhi , Arnd Bergmann , Haiyang Zhang , Saeed Mahameed , Liming Sun , Michael Chan , Salil Mehta , Sergey Shtylyov , Oleksij Rempel , Edward Cree , Saeed Bishara , Mark Einon , "David S. Miller" , Vignesh Raghavendra , Vladimir Oltean , Alexandre Torgue , Slark Xiao , Gary Guo , Gerhard Engleder , Jeroen de Borst , Lino Sanfilippo , intel-wired-lan@lists.osuosl.org, Jakub Kicinski , Prabhakar Kushwaha , Hans Ulli Kroll , Richard Cochran , Marcin Wojtas , David Thompson , Lars Povlsen , netdev@vger.kernel.org, Nicolas Ferre , Stephen Hemminger Subject: Re: [Intel-wired-lan] [PATCH net-next] net: kbuild: Don't default net vendor configs to y In-Reply-To: <30ed8220-e24d-4b40-c7a6-4b09c84f9a1f@gmail.com> Message-ID: <09c97169-5f9a-fc8f-dea5-5423e7bfef34@twofifty.com> References: <20220131172450.4905-1-saeed@kernel.org> <20220131095905.08722670@hermes.local> <20220131183540.6ekn3z7tudy5ocdl@sx1> <30ed8220-e24d-4b40-c7a6-4b09c84f9a1f@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 31 Jan 2022, Florian Fainelli wrote: > On 1/31/2022 10:35 AM, Saeed Mahameed wrote: >> On 31 Jan 19:30, Geert Uytterhoeven wrote: >>> On Mon, Jan 31, 2022 at 6:59 PM Stephen Hemminger >>> wrote: >>>> On Mon, 31 Jan 2022 09:24:50 -0800 >>>> Saeed Mahameed wrote: >>>> >>>> > From: Saeed Mahameed >>>> > >>>> > NET_VENDOR_XYZ were defaulted to 'y' for no technical reason. >>>> > >>>> > Since all drivers belonging to a vendor are supposed to default to 'n', >>>> > defaulting all vendors to 'n' shouldn't be an issue, and aligns well >>>> > with the 'no new drivers' by default mentality. >>>> > >>>> > Signed-off-by: Saeed Mahameed >>>> >>>> This was done back when vendors were introduced in the network drivers >>>> tree. >>>> The default of Y allowed older configurations to just work. >>> >>> And changing the defaults means all defconfigs must be updated first, >>> else the user's configs will end up without drivers needed. >>> >> >> As I understand correctly, at least for most common net drivers, having >> NET_VENDOR_XYZ=y doesn't actually build anything, we have flags per >> module for each vendor and those are defaulted to N. > > Right, but once you start hiding NET_VENDOR_DRIVER_XYZ under a NET_VENDOR_XYZ > Kconfig symbol dependency, if NET_VENDOR_XYZ is not set to Y, then you have > no way to select NET_VENDOR_DRIVER_XYZ and so your old defconfig breaks. > >> >>>> So there was a reason, not sure if it matters anymore. >>>> But it seems like useless repainting to change it now. >>> >>> It might make sense to tune some of the defaults (i.e. change to >>> "default y if ARCH_*") for drivers with clear platform dependencies. >>> >> >> either set hard default to 'n' or just keep it as is, anything else is just >> more confusion. > > Maybe the rule should go like this: any new driver vendor defaults to n, and > existing ones remain set to y, until we deprecate doing that and switching > them all off to n by 5.18? Forgive my ignorance, but isn't it a regression if things quit working even if it's just a configuration change? From a user perspective I like having everything turned on initially so it just works. Pruning things down is a lot easier than trying to figure out what all to turn on. Especially in graphics. -- Hisashi T Fujinaka - htodd@twofifty.com