[PATCH v9 07/12] coresight-etm: add CoreSight ETM/PTM driver

Mathieu Poirier mathieu.poirier at linaro.org
Mon Jan 12 07:05:31 PST 2015


On 12 January 2015 at 04:34, Paul Bolle <pebolle at tiscali.nl> wrote:
> On Mon, 2014-11-10 at 20:32 +0100, Paul Bolle wrote:
>> On Mon, 2014-11-10 at 08:40 -0700, Mathieu Poirier wrote:
>> > On 10 November 2014 03:34, Paul Bolle <pebolle at tiscali.nl> wrote:
>> > > On Mon, 2014-11-03 at 11:07 -0700, mathieu.poirier at linaro.org wrote:
>> > >> +#ifdef CONFIG_CORESIGHT_SOURCE_ETM_DEFAULT_ENABLE
>> > >
>> > > There's no Kconfig symbol CORESIGHT_SOURCE_ETM_DEFAULT_ENABLE. Neither
>> > > is there a preprocessor definition of this macro. So why was this
>> > > added?
>> >
>> > Correct - the feature (as we really want it) is currently being worked
>> > on but not yet part of the code base.  The default option probably
>> > should have been removed but it doesn't do much else when mandating
>> > one to add a boot option on the kernel cmd line.
>>
>> I'm afraid I'm not sure what you mean here. Anyhow, using a Kconfig
>> symbol to set a default for something that can also be set through a
>> kernel parameter might be considered overdoing it. But that's not for me
>> to decide.
>>
>> Unless the patch that adds this Kconfig symbol takes a long time to land
>> in linux-next, I won't be bothering you again.
>
> Two months have passed. This code made it unchanged into v3.19-rc1. A
> Kconfig symbol CORESIGHT_SOURCE_ETM_DEFAULT_ENABLE is not yet part of
> linux-next.
>
> Should I submit a trivial patch to drop the useless check for
> CONFIG_CORESIGHT_SOURCE_ETM_DEFAULT_ENABLE?

I thought the "boot time enabled" feature would come in before the new
year but things are less certain now - if you're kind enough to submit
a patch I'll take it.

>
>
> Paul Bolle
>



More information about the linux-arm-kernel mailing list