Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752328AbcLGLwH (ORCPT ); Wed, 7 Dec 2016 06:52:07 -0500 Received: from mailout3.samsung.com ([203.254.224.33]:33463 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751742AbcLGLwE (ORCPT ); Wed, 7 Dec 2016 06:52:04 -0500 X-AuditID: cbfee61b-f796f6d000004092-5e-5847f56b495d From: Bartlomiej Zolnierkiewicz To: Olof Johansson Cc: "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , Arnd Bergmann , Russell King Subject: Re: [RFC PATCH 00/23] arm: defconfigs: use kconfig fragments Date: Wed, 07 Dec 2016 12:41:29 +0100 Message-id: <4222703.VA8eKM008t@amdc3058> User-Agent: KMail/4.13.3 (Linux/3.13.0-96-generic; KDE/4.13.3; x86_64; ; ) In-reply-to: References: <1481027938-31831-1-git-send-email-b.zolnierkie@samsung.com> MIME-version: 1.0 Content-transfer-encoding: 7Bit Content-type: text/plain; charset=us-ascii X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrFIsWRmVeSWpSXmKPExsVy+t9jAd3sr+4RBv3HTS3+TjrGbrHp8TVW i8u75rBZ3L7Ma3Hq+mc2B1aPluYeNo/fvyYxemxeUu9x5UQTq8fnTXIBrFFuNhmpiSmpRQqp ecn5KZl56bZKoSFuuhZKCnmJuam2ShG6viFBSgpliTmlQJ6RARpwcA5wD1bSt0twyzjeu4Cl oJW34tv6zcwNjPO4uhg5OSQETCS+XdnFDGGLSVy4t54NxBYSWMoosXC5ahcjF5D9lVHi44w3 rCAJNgEriYntqxhBbBEBZYknbZeYQYqYBe4wSrT+fMACkhAWcJVY8X87WAOLgKrE2xmNYDav gKbE6X3LwWpEBbwktuxrZwKxOQWCJSa/+skIse0xo8TiXR9YIBoEJX5MvgdmMwvIS+zbP5UV wtaSWL/zONMERoFZSMpmISmbhaRsASPzKkaJ1ILkguKk9FyjvNRyveLE3OLSvHS95PzcTYzg eHomvYPx8C73Q4wCHIxKPLwRHO4RQqyJZcWVuYcYJTiYlUR4/3wECvGmJFZWpRblxxeV5qQW H2I0BfpwIrOUaHI+MNbzSuINTcxNzI0NLMwtLU2MlMR5G2c/CxcSSE8sSc1OTS1ILYLpY+Lg lGpgbPjLttZu5s5naW+tAu/f3y01+7rrh7OGlk/7Wm94dNmWTjAve8C60iK873K0p/yVfdbs MfVlF27UWJjsc/Lgvquyc9rF8MnbjANOndg7+eCe3xPO6IocOrHJfeaqFx5K9jOTjZsdLHm+ 7Elh/Fg9YauH2UF2F44pS9qYhCNMo76mV0+v5G67rcRSnJFoqMVcVJwIAHVP6ny9AgAA X-MTR: 20000000000000000@CPGS Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1619 Lines: 50 Hi, On Tuesday, December 06, 2016 11:03:34 AM Olof Johansson wrote: > On Tue, Dec 6, 2016 at 4:38 AM, Bartlomiej Zolnierkiewicz > wrote: > > Hi, > > > > This RFC patchset starts convertion of ARM defconfigs to use kconfig > > fragments and dynamically generate defconfigs. The goals of this > > work are to: > > You don't provide any motivation as to why this is better. As far as I Benefits are: - no code duplication (this initial patchset alone removes ~1700 lines from defconfigs without any change in functionality) - prevention of "multi" defconfigs (i.e. multi_v7_defconfig) going out of sync with "SoC-family" ones (i.e. exynos_defconfig) - there will be just one place to update when changing things - possibility to add support for more optimized defconfigs (i.e. board specific ones) in the future without duplicating the code - making it easier to define arch specific parts of defconfigs in the future if we decide on doing it (i.e. we may want to enable things like CONFIG_SYSVIPC for all defconfigs) > am concerned it'll just be a mess. > > So: > > Nack. So much nack. I really don't want to see a proliferation of > config fragments like this. > > I had a feeling it was a bad idea to pick up that one line config > fragment before, since it opened the door for this kind of mess. :( Like I said in the cover-letter I'm not satisfied with the current patches and they have much room for improvement. However I see that you don't like the idea itself... :( Best regards, -- Bartlomiej Zolnierkiewicz Samsung R&D Institute Poland Samsung Electronics