Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932755AbcLGVg1 (ORCPT ); Wed, 7 Dec 2016 16:36:27 -0500 Received: from mout.kundenserver.de ([212.227.17.24]:61150 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751427AbcLGVg0 (ORCPT ); Wed, 7 Dec 2016 16:36:26 -0500 From: Arnd Bergmann To: Olof Johansson Cc: Bartlomiej Zolnierkiewicz , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , Russell King , Laura Abbott Subject: Re: [RFC PATCH 00/23] arm: defconfigs: use kconfig fragments Date: Wed, 07 Dec 2016 22:35:42 +0100 Message-ID: <2155947.mOKhpZPiAn@wuerfel> User-Agent: KMail/5.1.3 (Linux/4.4.0-34-generic; KDE/5.18.0; x86_64; ; ) In-Reply-To: References: <1481027938-31831-1-git-send-email-b.zolnierkie@samsung.com> <8292218.3BDisRkZdU@wuerfel> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Provags-ID: V03:K0:9Zxxg8Hm0zNOv9F2+7TfGbmoBDuO3GNa+zrgA6Y6AyxU+z4z9Qr zKzuJ0FglDBr/Sh23T21wD7mvwKA+5jlP5Qq7GPCdGVGc9s6kOk6cWiwAUEeKV1ktLkNvzY mK8sxqTfhzaN4Ln/VqbTuEmNB/kkj5QcKH8Feb7T/+T9CE/lw5iLzIT1MlTPN1RSDobgJBD boC4YEmJFnsqzFqSwH9SA== X-UI-Out-Filterresults: notjunk:1;V01:K0:rLpMWwobLqs=:xceP5eNdijBnJyJpV+uaDx WLnTNDVUflmeQ0QgEfi4EGFZXkel8MKj9ov3eC+NaGU3frnkTaepUekEaRCKuzpOMygL50Ov+ R6OrYeKq4ioqMezNstRVL4lcP9Rs/JmrAeqAmire2T5qoEvZ/VW8BGHX0HPj3Do4S7cqCdyX0 UIonKpnRfmJeywkcX1OkjMe5U7ZLgj+9N4oMAIy+M5S5x80TA8T2g9JJJ+jTZIBqC5n1gOgdx EK5oKcyO1iJ1g0+n3s91xbU8XpKzmsjW0JsCZ6N7SIxc6isIO0u4wxmSlzdez9iW1D8wmeGMw sRrBhHLg2edOtE2MtQDHJagPFDaknt8A9X/0ecPuUmv9r8dy56vnz5lFJpKSCNDErCDVitOzF 4ExDzub0pdMJtEQN6EKyz1F/i9uscMsrsAwsMl0vOPRTy4CRozGn82dyupOyLWYWKh1S95QgA 5OgZ9Tls1t0yxvIB3DJJFo0nN7oejQ2P5d8ktLwyKiw06ewdtif0jsmeosqsJ9GrL8OmQys4W 4K6sFY2NhNGMnwvbVjQ2dDzogQt6+fnFiDfHPnyxFccpaCqHuWKisf3FlB9bbNde+OOHicMaA nkFed0SQtpc4zWGYCo5J3z4neDOB1bqRPGhCZyrh0SxLoLYtyrrujgXCjJp/EgraQy8KZBh5V vCofOuNsIJ756ihWOyPXg1+o0DHs+fnSZ0BiDM39junzeAWaYc8e24dbfgVzQsgEDXXRbqYmL bCMbLSDpoewL7k90 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1314 Lines: 31 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