[PATCH] clocksource: arm_arch_timer: control the evtstrm via the cmdline

Daniel Lezcano daniel.lezcano at linaro.org
Mon Jun 27 10:02:40 PDT 2016


On 06/27/2016 06:30 PM, Will Deacon wrote:
> Disabling the eventstream can be useful for both remotely debugging a
> deployed production system and development of code using WFE-based
> polling loops. Whilst this can currently be controlled via a Kconfig
> option (CONFIG_ARM_ARCH_TIMER_EVTSTREAM), it's often desirable to toggle
> the feature on the command line, so this patch adds a new command-line
> option ("clocksource.arm_arch_timer.evtstrm") to do just that. The
> default behaviour is determined based on CONFIG_ARM_ARCH_TIMER_EVTSTREAM.
>
> Cc: Marc Zyngier <marc.zyngier at arm.com>
> Cc: Mark Rutland <mark.rutland at arm.com>
> Signed-off-by: Will Deacon <will.deacon at arm.com>
> ---

Sounds good for me. I will take it through my tree.

By the way, I would like to do some cleanups in the Kconfig and 
consistently change the Kconfig options to be silent without the 
COMPILE_TEST option.

I am wondering if we can just remove the ARM_ARCH_TIMER_EVTSTREAM option 
with this patch applied and always enable it by default (like what is 
done today).

   -- Daniel

-- 
  <http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs

Follow Linaro:  <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog




More information about the linux-arm-kernel mailing list