Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp5413988ybe; Tue, 10 Sep 2019 03:22:10 -0700 (PDT) X-Google-Smtp-Source: APXvYqwiM+sUK+0ERu5pOoIVJssPnTprm95TLMxmeHQR/V1uzc+wbBmy6UdOG0DxumZ/Pkq7BbYy X-Received: by 2002:a17:907:42cc:: with SMTP id nz20mr3358304ejb.67.1568110930116; Tue, 10 Sep 2019 03:22:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568110930; cv=none; d=google.com; s=arc-20160816; b=J3jyaLXDL6MNj8TUnRTPYrdfLwhN2vQWEZiLKPGBMU04NEpgQo3LseT5UfSv5mNfq1 Anf46ABPQKNmmQVjax3DvvBh5BV+oP1IolPXmFirIsvWS/e94AgU0hB6/wTNPdJgAxuT X5aIY6RTazSK5yKEMa5es+Q200g1SQZSZRxV6VW+cyMYQ5ugY51FQCeQBVNHKF+AiGcC r7jE0ozWoTXMzsZLqa2wzABepWCAX1iHaZ+yU8aU7Tz0FROQH1RRVMZdmdvap8z19QdE WXgZi6imcEsxu6u2fWqLtPvebzlaVv+xO3owOszrwEXQqXcJgBZVx92zjTTFnCAmSXym p9pw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:dkim-signature; bh=c7SRxgGkl/n7ftaGRuh/aN2wiSp1GC91qqjIL142vpY=; b=Vny2Jx4xaWC7hWfcgGRw9foeEeZqR0w1FzAwzfVHAy7jDGRswZxIWWlygj+w+Glpbk VeGIyEBbGH6YQz6j22OeH2SOPTHaqRWub2So+zW6P+pkqXVexU8yMVnrGtVl2coacg7R hoZ6tkssLtS+gkDgqQQHzipNcnbf9bejzIqj7WWP53i/a5CqMo9C+T0Uz7KdrNQ8uiJx MUwgPT4MAfVHmmMUgpOdp3vJjAK8JznmprYwEP4pDHcsldPlZBja4itZVab7HMLGGE8A 6dzfcvW4jJsPA7dpc4b3fd/0lsnqyJnv3yaMZtvIrq/BzCnIJOIGts5Fu/4n6gNl3uWd DFOg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kroah.com header.s=fm1 header.b=G3dZKzQx; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=RPWpxAux; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-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 k27si8646839ejg.2.2019.09.10.03.21.34; Tue, 10 Sep 2019 03:22:10 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kroah.com header.s=fm1 header.b=G3dZKzQx; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=RPWpxAux; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730474AbfIIXGO (ORCPT + 99 others); Mon, 9 Sep 2019 19:06:14 -0400 Received: from wnew3-smtp.messagingengine.com ([64.147.123.17]:42215 "EHLO wnew3-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728358AbfIIXGO (ORCPT ); Mon, 9 Sep 2019 19:06:14 -0400 X-Greylist: delayed 485 seconds by postgrey-1.27 at vger.kernel.org; Mon, 09 Sep 2019 19:06:13 EDT Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailnew.west.internal (Postfix) with ESMTP id C597A5C0; Mon, 9 Sep 2019 18:58:07 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Mon, 09 Sep 2019 18:58:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kroah.com; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm1; bh=c7SRxgGkl/n7ftaGRuh/aN2wiSp 1GC91qqjIL142vpY=; b=G3dZKzQxG/jRRbNObX/rxwuitX3uvOm0yJq4spn6u4F yD2CpkOUVoxiuTrX2QZMwr5LUXv+DKhqAkX4KgyhTaUT58aDQgRUxDJt3eWbC5Mr piw33yd5qX8u4yPMt9k2N5nEOUak+hc2Gr/H+CQBU8Ac8/4C2QL6WQ5RnDP9Mo4L FusaMeESRa7eu1NPJqXpWUlekmBNcr+TVhqNMjBQbiEF/cOOz9rBJNoqG1UBfLy8 Ag2qtQf26igPzpoRjORYHrqlC6MIwfXJZAkfSFk0cBG3qqT5haB/DBlm5tUV8zrH tkA1PSImctrM9gglg+mp/j5nggylrKIQ5YXM375XTEw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=c7SRxg Gkl/n7ftaGRuh/aN2wiSp1GC91qqjIL142vpY=; b=RPWpxAuxPaSDJpabSG4dYI Ptth1BbAnXyffkgaFO7Py31VLFwXre/UPi4ecVVdDVTqnRdQXj1g9s7cDnzaWDMv JX10+fZipUFybkjtTEWISPKVBJyuRF6RGoVgROZRp+o8rNB2IAhypKZejBtzfjKC lOYIqNLyqTqbn6aYVZL1VGSE0EcODUujXe7ewereY7ZM3MWvxQsOuN62IEU2X529 7poLNXuYYaYAQTIFjjgnPcbh/i9+tDKNpXU+o94lhOIz1AFTB8bkKTANpaTDQ5d8 aGK44GIfGfr2vqmCQZIgqlORbgROGILTtiJC3PmiXB9TwOMuN1I7ZWNgvp7AaJxw == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduvddrudekjedgudefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne goufhprghmkfhpqdhouhhtucdlhedttddmnecujfgurhepfffhvffukfhfgggtuggjfges thdtredttdervdenucfhrhhomhepifhrvghgucfmjfcuoehgrhgvgheskhhrohgrhhdrtg homheqnecuffhomhgrihhnpehkvghrnhgvlhdrohhrghenucfkphepiedvrddvkedrvdeg tddruddugeenucfrrghrrghmpehmrghilhhfrhhomhepghhrvghgsehkrhhorghhrdgtoh hmnecuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: from localhost (unknown [62.28.240.114]) by mail.messagingengine.com (Postfix) with ESMTPA id 1611280068; Mon, 9 Sep 2019 18:58:05 -0400 (EDT) Date: Mon, 9 Sep 2019 23:58:04 +0100 From: Greg KH To: Mark Salyzyn Cc: linux-kernel@vger.kernel.org, kernel-team@android.com, Johannes Berg , "David S. Miller" , Marcel Holtmann , linux-wireless@vger.kernel.org, netdev@vger.kernel.org, stable@vger.kernel.org Subject: Re: [PATCH v2] net: enable wireless core features with LEGACY_WEXT_ALLCONFIG Message-ID: <20190909225804.GA26405@kroah.com> References: <20190906192403.195620-1-salyzyn@android.com> <20190906233045.GB9478@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.12.1 (2019-06-15) Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On Mon, Sep 09, 2019 at 07:24:29AM -0700, Mark Salyzyn wrote: > On 9/6/19 4:30 PM, Greg KH wrote: > > On Fri, Sep 06, 2019 at 12:24:00PM -0700, Mark Salyzyn wrote: > > > In embedded environments the requirements are to be able to pick and > > > chose which features one requires built into the kernel. If an > > > embedded environment wants to supports loading modules that have been > > > kbuilt out of tree, there is a need to enable hidden configurations > > > for legacy wireless core features to provide the API surface for > > > them to load. > > > > > > Introduce CONFIG_LEGACY_WEXT_ALLCONFIG to select all legacy wireless > > > extension core features by activating in turn all the associated > > > hidden configuration options, without having to specifically select > > > any wireless module(s). > > > > > > Signed-off-by: Mark Salyzyn > > > Cc: kernel-team@android.com > > > Cc: Johannes Berg > > > Cc: "David S. Miller" > > > Cc: Marcel Holtmann > > > Cc: linux-wireless@vger.kernel.org > > > Cc: netdev@vger.kernel.org > > > Cc: linux-kernel@vger.kernel.org > > > Cc: stable@vger.kernel.org # 4.19 > > > --- > > > v2: change name and documentation to CONFIG_LEGACY_WEXT_ALLCONFIG > > > --- > > > net/wireless/Kconfig | 14 ++++++++++++++ > > > 1 file changed, 14 insertions(+) > > > > > > diff --git a/net/wireless/Kconfig b/net/wireless/Kconfig > > > index 67f8360dfcee..0d646cf28de5 100644 > > > --- a/net/wireless/Kconfig > > > +++ b/net/wireless/Kconfig > > > @@ -17,6 +17,20 @@ config WEXT_SPY > > > config WEXT_PRIV > > > bool > > > +config LEGACY_WEXT_ALLCONFIG > > > + bool "allconfig for legacy wireless extensions" > > > + select WIRELESS_EXT > > > + select WEXT_CORE > > > + select WEXT_PROC > > > + select WEXT_SPY > > > + select WEXT_PRIV > > > + help > > > + Config option used to enable all the legacy wireless extensions to > > > + the core functionality used by add-in modules. > > > + > > > + If you are not building a kernel to be used for a variety of > > > + out-of-kernel built wireless modules, say N here. > > > + > > > config CFG80211 > > > tristate "cfg80211 - wireless configuration API" > > > depends on RFKILL || !RFKILL > > > -- > > > 2.23.0.187.g17f5b7556c-goog > > > > > How is this patch applicable to stable kernels??? > > A) worth a shot ;-} Not nice, please, you know better :) > B) there is a shortcoming in _all_ kernel versions with respect to hidden > configurations options like this, hoping to set one precedent in how to > handle them if acceptable to the community. That's fine, but it's a new feature, not for stable. > C) [AGENDA ALERT] Android _will_ be back-porting this to android-4.19 kernel > anyway, would help maintenance if via stable. That's fine, lots of distros backport loads of stuff for new features for stuff that is upstream. That's trivial to do, don't try to abuse the stable tree for new features like this please. It only makes maintainers grumpy when you do so :( > D) Not an ABI or interface break, does not introduce instability, but rather > keeps downstream kernels of any distributions from having to hack in their > own alternate means of dealing with this problem leading to further > fragmentation. Again, new feature, not fixing a bug, so not applicable for stable. For penance I require a handwritten copy of: https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html thanks, greg k-h