]> git.baikalelectronics.ru Git - kernel.git/commit
riscv: Enable generic clockevent broadcast
authorGuo Ren <guoren@linux.alibaba.com>
Sun, 7 Mar 2021 02:24:46 +0000 (10:24 +0800)
committerPalmer Dabbelt <palmerdabbelt@google.com>
Wed, 17 Mar 2021 03:40:06 +0000 (20:40 -0700)
commit38fefe5b332bd03ab28630c85f41845e8a469113
treeb233a8ed0fd161fd007dddf15be230c699ccd9d7
parent8ccf90dad8bfadf9d32caa8119b3b0b0f251a6b9
riscv: Enable generic clockevent broadcast

When percpu-timers are stopped by deep power saving mode, we
need system timer help to broadcast IPI_TIMER.

This is first introduced by broken x86 hardware, where the local apic
timer stops in C3 state. But many other architectures(powerpc, mips,
arm, hexagon, openrisc, sh) have supported the infrastructure to
deal with Power Management issues.

Signed-off-by: Guo Ren <guoren@linux.alibaba.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
arch/riscv/Kconfig
arch/riscv/kernel/smp.c