Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1d202808 authored by Mahesh Sivasubramanian's avatar Mahesh Sivasubramanian
Browse files

ARM: Set CLK_EVT_FEAT_DYNIRQ flag memory mapped timers



Memory mapped timers are used as broadcast timers to wake up a core
across reset. CLK_EVT_FEAT_DYNIRQ ensures only the intended cores are
woken up instead of the default core that they are routed to, thereby
saving power.

Change-Id: I523b617fa32da5b27c390db5297b50d4743f4b34
Signed-off-by: default avatarMahesh Sivasubramanian <msivasub@codeaurora.org>
parent 1e48cbef
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -286,6 +286,7 @@ static void __cpuinit __arch_timer_setup(unsigned type,
			clk->set_next_event = arch_timer_set_next_event_phys;
		}
	} else {
		clk->features |= CLOCK_EVT_FEAT_DYNIRQ;
		clk->name = "arch_mem_timer";
		clk->rating = 400;
		clk->cpumask = cpu_all_mask;