Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp2632466ybv; Sun, 9 Feb 2020 03:55:10 -0800 (PST) X-Google-Smtp-Source: APXvYqyEZysWwCyC0SCcyTs5yX+8TH7jagoMYOR0meuYseezDJScpFlwqtGKKUOXhAQJ5bOEmjqV X-Received: by 2002:a05:6808:aa8:: with SMTP id r8mr7324136oij.7.1581249310585; Sun, 09 Feb 2020 03:55:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581249310; cv=none; d=google.com; s=arc-20160816; b=QBaYSXofaweFr9Yq1lrymDrqUxrTVq2d63HST4km7Hv8epWS1reCPthyB5Wudiqw2y FVRff/ApxpKFRdx7/Rza48gIJJzLKDmBrSafejiWW5dufAHMVPikCIguxrGP+XZjgBiv lSm0XNZtVE8nYZKdKN/eKWjyMGxDjGel23HsJw/jawIKOeN0i9WjgnyeZXIarEg/jTCR h4M/LUzyegpUcviwe4qq2F/4wyXdB2O7QPmCpV+AmCS3br0CG9B+1qRqKoTk28eCqyyo RggwkJlnP85aYv2ROlc30qGkcAcAjxBTcA6ovW79xeppBemeKkaVgnEFODFz96N3MXHN DGiQ== 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; bh=cYfE72YZyxByl4dR2QWGKhFqP7/CoINOriIGeXLOawg=; b=Hqg2TXfT8La5QRLME83i0UdauFVA7B4SwA73nhAZjRK0lB8xStaW8wSRAt/+Ap5kvT Rxx/IinTeAEpcc4wSu4/Sgr2eM+t96X4Xh1mpOOE7HlUhZ8p8mmQR7i2QGuQ/M7nL8sp nqZ9iQy3n5eywkaeaEcHLo8FZ5EXO9SIjljB0E3oYK9h82rnX1Hj+7Qb4mIHqNCO7QJ/ m1iA/WgYoaLiaME3ElHTWjT1zAhji3JW4Rvhk30SGG4UFuhQXuc0cu+oAJuF0k9S0pJ3 MkKHST1oLcT3SGc75hkD8sasftLeIzX4tCrUWoT0b2g+EKf5oAxA4YWUgnniAhOX/VD5 /k4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lixom-net.20150623.gappssmtp.com header.s=20150623 header.b=NptrmHtY; 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 a64si7021110oif.256.2020.02.09.03.54.58; Sun, 09 Feb 2020 03:55:10 -0800 (PST) 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; dkim=pass header.i=@lixom-net.20150623.gappssmtp.com header.s=20150623 header.b=NptrmHtY; 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 S1727691AbgBILwA (ORCPT + 99 others); Sun, 9 Feb 2020 06:52:00 -0500 Received: from mail-lj1-f193.google.com ([209.85.208.193]:43307 "EHLO mail-lj1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727678AbgBILv7 (ORCPT ); Sun, 9 Feb 2020 06:51:59 -0500 Received: by mail-lj1-f193.google.com with SMTP id a13so3943827ljm.10 for ; Sun, 09 Feb 2020 03:51:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lixom-net.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=cYfE72YZyxByl4dR2QWGKhFqP7/CoINOriIGeXLOawg=; b=NptrmHtYTiL5YgJrYH1ti+K078fPaTfnbfGukV1wYirmvtVfyLHmk1Y4G+sPJKzhtO VgRFHCDnWWN+XuVsDUc/DNV0NsDAuA2QOU06s5e1+fW6D8mS1IQM1mZXo/5tOruAXnEz 4MjqiZlt4kB0G3I7w9ipN+dGcniokuXyuNBVVhpbVKp4hPGH1jz37zk8Iba/rzzbc43S IUejSY2mrWWstTFatbHDPiv2stxA0cAwteuFIXbqAZFLIlyD+iRgkFrkzU9rs6XzYD42 8VCyfkaKdOZCtqpix7QOOcXbC0dgvoPIxPEVz8rICA+iBFfrWxPSl/cJVJaN4lxXkrIm sAfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=cYfE72YZyxByl4dR2QWGKhFqP7/CoINOriIGeXLOawg=; b=WC3P0YX2KGVJuMDE9AoyLWwxIBSrRftCk0oVO8MKjnncb0HSiqZv4zbfv2/kHtzym8 qo3ci5MtZb4kOidV0K8hwrOy3Fak+NJ8xTpPEObGJuDXDDJ3IIEOPhuUJsMCZEIQo7dS VZe2N07MtPZSUgMl3HiTVrtRjblqvVRxZuofF5QHz2YTTn2eaOzpIdhzY5QZDHziIYaz oKde6N3QgdV1/YYuj6NgNOyB4T/ow7lKcWdSAqTaGdt74BbUfidrgFnOpLhXQ2GDktX6 v0pIdB0Hhw0CmhQqF6GZKmpnjFZbTrqhluNzWau+Kw9qbj7M+XwoiEAsSuYQ3mXmewKN p7/g== X-Gm-Message-State: APjAAAWvtE8z4jBxvp82fb1NhplRsh+qkEqOPt9oerOa6IXUBU4D04nR VTUsV4oNxgN0S8lokPuzqEUs4Q== X-Received: by 2002:a2e:7e11:: with SMTP id z17mr4960192ljc.279.1581249116367; Sun, 09 Feb 2020 03:51:56 -0800 (PST) Received: from localhost (h85-30-9-151.cust.a3fiber.se. [85.30.9.151]) by smtp.gmail.com with ESMTPSA id 14sm3752313lfz.47.2020.02.09.03.51.54 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 09 Feb 2020 03:51:55 -0800 (PST) Date: Sun, 9 Feb 2020 03:44:22 -0800 From: Olof Johansson To: Krzysztof Kozlowski Cc: Joe Perches , Russell King , Alexander Shiyan , Uwe Kleine-K??nig , Pengutronix Kernel Team , Shawn Guo , Sascha Hauer , Fabio Estevam , NXP Linux Team , Vladimir Zapolskiy , Aaro Koskinen , Tony Lindgren , Maxime Coquelin , Alexandre Torgue , Liviu Dudau , Sudeep Holla , Lorenzo Pieralisi , Avi Fishman , Tomer Maimon , Tali Perry , Patrick Venture , Nancy Yuen , Benjamin Fair , Arnd Bergmann , linux-arm-kernel@lists.infradead.org, "linux-kernel@vger.kernel.org" , linux-omap@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, openbmc@lists.ozlabs.org, arm@kernel.org, soc@kernel.org Subject: Re: [PATCH 2/2] ARM: configs: Cleanup old Kconfig options Message-ID: <20200209114422.as5xpytakhaa3vur@localhost> References: <20200130195525.4525-1-krzk@kernel.org> <20200130195525.4525-2-krzk@kernel.org> <9f8a0a8e09893e7087d2212fb0eeb94a908b7be1.camel@perches.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Feb 03, 2020 at 12:52:45PM +0100, Krzysztof Kozlowski wrote: > On Thu, 30 Jan 2020 at 23:06, Joe Perches wrote: > > > > On Thu, 2020-01-30 at 20:55 +0100, Krzysztof Kozlowski wrote: > > > CONFIG_MMC_BLOCK_BOUNCE is gone since commit c3dccb74be28 ("mmc: core: > > > Delete bounce buffer Kconfig option"). > > > > > > CONFIG_LBDAF is gone since commit 72deb455b5ec ("block: remove > > > CONFIG_LBDAF"). > > > > > > CONFIG_IOSCHED_DEADLINE and CONFIG_IOSCHED_CFQ are gone since > > > commit f382fb0bcef4 ("block: remove legacy IO schedulers"). > > > > > > The IOSCHED_DEADLINE was replaced by MQ_IOSCHED_DEADLINE and it will be > > > now enabled by default (along with MQ_IOSCHED_KYBER). > > > > > > The IOSCHED_BFQ seems to replace IOSCHED_CFQ so select it in configs > > > previously choosing the latter. > > > > > > CONFIG_CROSS_COMPILE is gone since commit f1089c92da79 ("kbuild: remove > > > CONFIG_CROSS_COMPILE support"). > > > > Hi Krzysztof. > > > > There seems there are a lot more of these unused CONFIG_ > > symbols in various defconfigs. (just for arm and treewide below) > > > > ARM defconfigs: > > Hi Joe, > > Nice finding! The trickier point is to nicely remove them because: > 1. The easiest is 'savedefconfig' but then some valuable options might > disappear (like recently happened with DEBUG_FS), Note that while they disappear from the defconfig, they were already not part of the build. So kernels have been built without them for a while. It's a good way to surface the problem, but it's pretty clear that trees fall in the forest here all the time and nobody is noticing. > 2. They could be removed in automated way with a script. However in > such case what about replacements? If some symbol was replaced with > other (or just renamed), maybe we should enable the other one to > restore the desired functionality? > 3. Or maybe let's don't care about keeping defconfigs stable and just > clean them up automatically. Churning defconfigs is just noise, and a source of annoying needless conflicts when people do it at the same time. If an option is no longer in-tree, it doesn't do any harm. But it makes sense to clean up every now and then like the original patch here. -Olof