Received: by 2002:a19:ef0c:0:0:0:0:0 with SMTP id n12csp951193lfh; Tue, 1 Feb 2022 12:53:48 -0800 (PST) X-Google-Smtp-Source: ABdhPJwHf5JxtQ/RMdP1mr0or1wnX37a+0tjEwq+0t0Nmm7d6gMmnuwMephve9NqFF1pNMFUYSZF X-Received: by 2002:a17:902:bb90:: with SMTP id m16mr27416063pls.122.1643748444047; Tue, 01 Feb 2022 12:47:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643748444; cv=none; d=google.com; s=arc-20160816; b=REvzsXMZulM+ogM1hpRqyulhg7LqCwMcN3LIVWuNqiWibWy+4Pi1fIM1kjohZw+f8M 4fTTwZmUiod1X8xvkegX6QzmuvxWN8dDqoL6fMEpOwNj8ahFIPOsqLbw2ZhMDElzB9Rl +NB/SzcIqK/zKGzwcub2y+mOFqBelXamNklOlFwjFIiudBW5A9xA+2HDKmjzpH574RV1 mFE8QiEsX+DS13U1DEJJfKRPiWHE3ri4EFqdW19XwtN+kNhs1axz1WjZvLInz2F4/xtp vgokVFmup7yXydBh+ZplGkulByAAnKfiUrUDs7h6ISKwNwmxqqNd5TMdGd1aJ8fE9JoY 6pYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=vUcVq5xhDtsVnawQOYBHe0I2uMjtSwKHFuB7P9A9ZPE=; b=dfty/yLedD6LBbte8UHhetp/wz/WZwHQURiTQLCVGhuzHZ1g0dzTQu7xaEvFJTuGo/ ZF+AUBj0V8z7IoY5PPsSmVOVmmWIpe9KmTjcfwBPPnyWY5HyD5MHQK31E59J1amz6Q5f 80m1mOHQlnAYG07APBKfsvwjiqCmVzBCh3/rnQhlIFFMFNyN0kUunQrhf/OHLth55Kx1 b+xsxtyMPRB6CF/ZjqrHXeCRmrGFxmez7MMoWCnWZZLDqMTrqhg42aoHh7TSYt+3f+r7 32L15Ju+MQA+dspG3EfAg5UR/ZGD9JZTEdhCk+33p6AMjJqRUxy5NcBPO9PKlIB5LkfG 5v/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Qks15jLu; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j30si18605416pgm.529.2022.02.01.12.47.12; Tue, 01 Feb 2022 12:47:24 -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; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Qks15jLu; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1356654AbiAaSkt (ORCPT + 99 others); Mon, 31 Jan 2022 13:40:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38934 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234175AbiAaSks (ORCPT ); Mon, 31 Jan 2022 13:40:48 -0500 Received: from mail-pg1-x529.google.com (mail-pg1-x529.google.com [IPv6:2607:f8b0:4864:20::529]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E9869C061714; Mon, 31 Jan 2022 10:40:47 -0800 (PST) Received: by mail-pg1-x529.google.com with SMTP id t32so13026846pgm.7; Mon, 31 Jan 2022 10:40:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=vUcVq5xhDtsVnawQOYBHe0I2uMjtSwKHFuB7P9A9ZPE=; b=Qks15jLuTdFfJB7Yimcf6CFubiKZSrG+lgYbEXhv5CmcREhbsO9I3sHSkFpZJtXCKr 92ULlrJ1jbtZTyDNycEEatYwo/lYVGPSpPf1Eb96b6UbfuVheN/P13CAiMWNG2SWTU/7 3kMaW8gywhhLuK1ffBR6cWAnDfHfkbkT4gdENSpeUmj5WtcK+xKXA3d7Ir+6P1b6ySez 5aKGnhEZanxzbauIs3sIeQq7luxkHgr8QY9yfq7EiP8YuRrN+QQlfEvf8cqeTrWlxUPM eHVw4/o/IfeCDvEz6RYo2vuKGwnbY5xuw8UU3STuPVmvw/DN71+Hg6YDgx6nHJknnlYG GImA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=vUcVq5xhDtsVnawQOYBHe0I2uMjtSwKHFuB7P9A9ZPE=; b=ia+G/kkMpdhlz7I34OSZZZ3D+DWS+OOAC5m5QUYrVmpW6pMAfypjCxeVFCT63GL/r+ KmUyh0phqGNg3lLvPVKGrAOj2xGxBUACokTZYqTlfPznj56qfFPhIKB4MQ0MQ8IiZqXE pcrG8N8pTD3j6ffHe6T8B4D/W9K2fvcVmBbt61ZcMIrwmQkAtOI63CBuTGSQtOGjRI6u 1bxbl/8aCPGOQMHkAHWu6RwB9M+m8vA89NN8TDWlnBANP1DQylh99GgP0Srr3SkuDL0G fpsg4Eh0jtoAL+74Ai2CExcAiVWMVXX8F8R5AmhNnoTWotNHHfxTgytyxjvvtjEIo6Bv ft3g== X-Gm-Message-State: AOAM532o2l7kBberK9UmucXY561EzaplpD4DvfVUEQurCi3lQ3gu4imN 2FjE4S3AAOhyZOZDbaeJXbk= X-Received: by 2002:a05:6a00:b51:: with SMTP id p17mr12524853pfo.35.1643654447151; Mon, 31 Jan 2022 10:40:47 -0800 (PST) Received: from [192.168.1.3] (ip72-194-116-95.oc.oc.cox.net. [72.194.116.95]) by smtp.gmail.com with ESMTPSA id s14sm18562705pfk.65.2022.01.31.10.40.39 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 31 Jan 2022 10:40:45 -0800 (PST) Message-ID: <30ed8220-e24d-4b40-c7a6-4b09c84f9a1f@gmail.com> Date: Mon, 31 Jan 2022 10:40:38 -0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: [PATCH net-next] net: kbuild: Don't default net vendor configs to y Content-Language: en-US To: Saeed Mahameed , Geert Uytterhoeven Cc: Stephen Hemminger , Saeed Mahameed , "David S. Miller" , Jakub Kicinski , Mark Einon , Lino Sanfilippo , Maxime Ripard , Chen-Yu Tsai , Jernej Skrabec , Shay Agroskin , Arthur Kiyanovski , David Arinzon , Noam Dagan , Saeed Bishara , Chris Snook , Nicolas Ferre , Claudiu Beznea , Hans Ulli Kroll , Linus Walleij , Jeroen de Borst , Catherine Sullivan , David Awogbemila , Yisen Zhuang , Salil Mehta , Jesse Brandeburg , Tony Nguyen , "K . Y . Srinivasan" , Haiyang Zhang , Stephen Hemminger , Wei Liu , Dexuan Cui , Vladimir Oltean , Claudiu Manoil , Alexandre Belloni , Microchip Linux Driver Support , Jon Mason , Simon Horman , Rain River , Zhu Yanjun , Shannon Nelson , drivers@pensando.io, Sergey Shtylyov , Jiri Pirko , Edward Cree , Martin Habets , Maxime Coquelin , Alexandre Torgue , Jose Abreu , Andy Gospodarek , Michal Simek , Arnd Bergmann , Jacob Keller , Vegard Nossum , Rob Herring , l.stelmach@samsung.com, rafal@milecki.pl, Edwin Peer , Geert Uytterhoeven , Michael Chan , Richard Cochran , Gerhard Engleder , Marcin Wojtas , Oleksij Rempel , Gabriel Somlo , Joel Stanley , Slark Xiao , Christophe Leroy , Liming Sun , David Thompson , Asmaa Mnebhi , Lars Povlsen , Horatiu Vultur , Steen Hegelund , Prabhakar Kushwaha , Omkar Kulkarni , Shai Malin , Randy Dunlap , Vignesh Raghavendra , Stefan Wahren , Gary Guo , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, intel-wired-lan@lists.osuosl.org, linux-hyperv@vger.kernel.org, oss-drivers@corigine.com, linux-renesas-soc@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com References: <20220131172450.4905-1-saeed@kernel.org> <20220131095905.08722670@hermes.local> <20220131183540.6ekn3z7tudy5ocdl@sx1> From: Florian Fainelli In-Reply-To: <20220131183540.6ekn3z7tudy5ocdl@sx1> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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? -- Florian