Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

clocksource: arch_timer: Set dynamic irq affinity on mmio clockevent

Set the CLOCK_EVT_FEAT_DYNIRQ flag on the memory mapped
clockevent so that we save power by waking up the CPU with the
next event when this timer is used in broadcast mode.

Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>

authored by

Stephen Boyd and committed by
Daniel Lezcano
7b52ad2e f9a8a0ab

+1
+1
drivers/clocksource/arm_arch_timer.c
··· 277 277 clk->set_next_event = arch_timer_set_next_event_phys; 278 278 } 279 279 } else { 280 + clk->features |= CLOCK_EVT_FEAT_DYNIRQ; 280 281 clk->name = "arch_mem_timer"; 281 282 clk->rating = 400; 282 283 clk->cpumask = cpu_all_mask;