Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933599AbcLGV5W (ORCPT ); Wed, 7 Dec 2016 16:57:22 -0500 Received: from mail-qt0-f180.google.com ([209.85.216.180]:34302 "EHLO mail-qt0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933585AbcLGV5T (ORCPT ); Wed, 7 Dec 2016 16:57:19 -0500 Subject: Re: [RFC PATCH 00/23] arm: defconfigs: use kconfig fragments To: Arnd Bergmann , Olof Johansson References: <1481027938-31831-1-git-send-email-b.zolnierkie@samsung.com> <8292218.3BDisRkZdU@wuerfel> <2155947.mOKhpZPiAn@wuerfel> Cc: Bartlomiej Zolnierkiewicz , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , Russell King , Laura Abbott From: Laura Abbott Message-ID: <9c0ed8c5-406a-9304-48b5-6f11f3940271@redhat.com> Date: Wed, 7 Dec 2016 13:56:58 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <2155947.mOKhpZPiAn@wuerfel> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1819 Lines: 44 On 12/07/2016 01:35 PM, Arnd Bergmann wrote: > On Wednesday, December 7, 2016 1:14:02 PM CET Olof Johansson wrote: >>> >>> - A "debug" fragment would be nice, to turn on common options that >>> add a lot of useful runtime checks at the expense of performance >>> or code size. >> >> Hmm, some of these might work but several useful debug options (in >> particular DEBUG_LL for early errors) are per-system/platform. > > I was thinking mostly of architecture-independent options, i.e. > the stuff that is in lib/Kconfig.debug but isn't too expensive > to be run in a regular test environment. Enabling those > for a build/boot automation environment would be particularly > useful as you'd catch more bugs that get introduced through > a random patch. > >>> - A "distro" fragment that turns on all loadable modules that are >>> enabled by common distributions (e.g. two or more of >>> debian/fedora/opensuse/gentoo), to let you build a drop-in >>> replacement kernel for a shipping distro. This would also allow >>> the distros to strip their own config files and just specify >>> whatever differs from the others. >> >> Keeping this in sync with the distro kernel could be a bit awkward >> (and possibly churny). > > It would certainly need buy-in from distro maintainers. I've discussed > this with Laura Abbott in the past, and she was interested in > principle. > > Arnd > Yes, I've gotten the request from multiple people now about having some Fedora config in mainline. I agree that churn and keeping in sync would be a concern. For a first pass, I was going to propose a minimal set of options that are unlikely to need to churn. Once those are agreed on, everything else could become a separate .config. My plan was to send a patch out around -rc2/-rc3 each cycle to sync up. Thanks, Laura