diff options
author | Will Deacon <will.deacon@arm.com> | 2016-06-27 12:30:13 -0400 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2016-06-28 05:35:50 -0400 |
commit | 46fd5c6b3059462131caa4d52691c9c5666c3223 (patch) | |
tree | 244b0ef16720d6d715d3b312ef009085ea8b09b3 /Documentation/kernel-parameters.txt | |
parent | 5cc87a4df5009c1cbe9e087ad16c0bacdae06809 (diff) |
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>
Diffstat (limited to 'Documentation/kernel-parameters.txt')
-rw-r--r-- | Documentation/kernel-parameters.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt index 82b42c958d1c..2c92f1df7c69 100644 --- a/Documentation/kernel-parameters.txt +++ b/Documentation/kernel-parameters.txt | |||
@@ -687,6 +687,14 @@ bytes respectively. Such letter suffixes can also be entirely omitted. | |||
687 | [SPARC64] tick | 687 | [SPARC64] tick |
688 | [X86-64] hpet,tsc | 688 | [X86-64] hpet,tsc |
689 | 689 | ||
690 | clocksource.arm_arch_timer.evtstrm= | ||
691 | [ARM,ARM64] | ||
692 | Format: <bool> | ||
693 | Enable/disable the eventstream feature of the ARM | ||
694 | architected timer so that code using WFE-based polling | ||
695 | loops can be debugged more effectively on production | ||
696 | systems. | ||
697 | |||
690 | clearcpuid=BITNUM [X86] | 698 | clearcpuid=BITNUM [X86] |
691 | Disable CPUID feature X for the kernel. See | 699 | Disable CPUID feature X for the kernel. See |
692 | arch/x86/include/asm/cpufeatures.h for the valid bit | 700 | arch/x86/include/asm/cpufeatures.h for the valid bit |