aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/cpuhotplug.h
diff options
context:
space:
mode:
authorGuo Ren <ren_guo@c-sky.com>2018-11-03 00:51:28 +0800
committerDaniel Lezcano <daniel.lezcano@linaro.org>2018-11-02 19:39:54 +0100
commita7ad38b0dd3c1ba8d6e5a55241e875e9db8331ab (patch)
tree0f483b5ab011fdfd20ba675d0a67100c5ad171fa /include/linux/cpuhotplug.h
parentMerge tag 'for-linus-20180929' of git://git.kernel.dk/linux-block (diff)
downloadlinux-dev-a7ad38b0dd3c1ba8d6e5a55241e875e9db8331ab.tar.xz
linux-dev-a7ad38b0dd3c1ba8d6e5a55241e875e9db8331ab.zip
clocksource/drivers/c-sky: Add C-SKY SMP timer
The driver is for C-SKY SMP timer. It only supports oneshot event and 32bit overflow for clocksource. Per cpu core has one timer and all timers share one clock-counter-input from the same clocksource. This use mfcr&mtcr instructions to access the regs. Signed-off-by: Guo Ren <ren_guo@c-sky.com> Cc: Daniel Lezcano <daniel.lezcano@linaro.org> Cc: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'include/linux/cpuhotplug.h')
-rw-r--r--include/linux/cpuhotplug.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/cpuhotplug.h b/include/linux/cpuhotplug.h
index caf40ad0bbc6..e0cd2baa8380 100644
--- a/include/linux/cpuhotplug.h
+++ b/include/linux/cpuhotplug.h
@@ -126,6 +126,7 @@ enum cpuhp_state {
CPUHP_AP_MIPS_GIC_TIMER_STARTING,
CPUHP_AP_ARC_TIMER_STARTING,
CPUHP_AP_RISCV_TIMER_STARTING,
+ CPUHP_AP_CSKY_TIMER_STARTING,
CPUHP_AP_KVM_STARTING,
CPUHP_AP_KVM_ARM_VGIC_INIT_STARTING,
CPUHP_AP_KVM_ARM_VGIC_STARTING,