clocksource/drivers/arm_arch_timer: Control the evtstrm via the cmdline
authorWill Deacon <will.deacon@arm.com>
Mon, 27 Jun 2016 16:30:13 +0000 (17:30 +0100)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Tue, 28 Jun 2016 09:35:50 +0000 (11:35 +0200)
commit46fd5c6b3059462131caa4d52691c9c5666c3223
tree244b0ef16720d6d715d3b312ef009085ea8b09b3
parent5cc87a4df5009c1cbe9e087ad16c0bacdae06809
clocksource/drivers/arm_arch_timer: Control the evtstrm via the cmdline

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@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Documentation/kernel-parameters.txt
drivers/clocksource/Kconfig
drivers/clocksource/arm_arch_timer.c