lkml.org 
[lkml]   [2013]   [Nov]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2 01/03] clocksource: Add Kconfig entries for CMT, MTU2, TMU and STI
On 11/20/2013 11:34 AM, Arnd Bergmann wrote:
> On Wednesday 20 November 2013, John Stultz wrote:
>> On 11/14/2013 04:40 AM, Arnd Bergmann wrote:
>>
>> Sorry, somehow this mail slipped by me.
>>
>> So yea, as I mentioned earlier, the build testing is the one thing I
>> don't have a good argument against. But I still would rather not having
>> user prompts for these sorts of things.
>>
>> Even so, it seems to me that it would be better to still avoid prompting
>> the user for the build test and instead just always build the drivers if
>> BUILD_TEST is enabled.
>>
>> Is the driver by driver fine-granularity for build testing actually
>> worth having all the module prompts? Or could we coarsen it a bit, and
>> have BUILT_TEST_TOPIC, so under kernel hacking or something you can
>> enable build testing and select the categories of items you want to
>> build (rather then having to go through them one by one?)
> I would much prefer keeping things consistent across subsystems, which
> means one symbol with prompt per driver.

My main issue though is that with clocksource/clockevents, these are not
classic drivers. They are much closer to platform drivers, and in the
majority of cases are much more tightly bound to specific systems.

They were abstracted out to be more classic driver like, because that
gave us more flexibility to support various systems at runtime. I just
hate to see that flexibility abused at the cost of users trying to build
kernels that will boot on their devices.

> The only technical argument for
> this is that it lets you disable some drivers when they do break in a
> randconfig or allmodconfig build.
If you have to add special Kconfig annotation anyway to support
BUILD_TEST, why not ensure the drivers build before adding that
annotation? That way any build regressions will be more easily found
(and not accidentally missed because it wasn't enabled via randconfig),
and we don't have to pester users with redundant config options.

thanks
-john



\
 
 \ /
  Last update: 2013-11-20 21:41    [W:0.736 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site