tick: broadcast: Deny per-cpu clockevents from being broadcast sources
authorSoren Brinkmann <soren.brinkmann@xilinx.com>
Wed, 18 Sep 2013 18:48:37 +0000 (11:48 -0700)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Wed, 2 Oct 2013 09:34:06 +0000 (11:34 +0200)
commit245a34962661cd2ce7b4dd6c4aa65d870a589c50
tree4357ebc8e9d90ca4bffd30c32438bc679ba1edcd
parent6661039dc906bce5d532477f26c7c965f25e5d02
tick: broadcast: Deny per-cpu clockevents from being broadcast sources

On most ARM systems the per-cpu clockevents are truly per-cpu in
the sense that they can't be controlled on any other CPU besides
the CPU that they interrupt. If one of these clockevents were to
become a broadcast source we will run into a lot of trouble
because the broadcast source is enabled on the first CPU to go
into deep idle (if that CPU suffers from FEAT_C3_STOP) and that
could be a different CPU than what the clockevent is interrupting
(or even worse the CPU that the clockevent interrupts could be
offline).

Theoretically it's possible to support per-cpu clockevents as the
broadcast source but so far we haven't needed this and supporting
it is rather complicated. Let's just deny the possibility for now
until this becomes a reality (let's hope it never does!).

Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Acked-by: Michal Simek <michal.simek@xilinx.com>
kernel/time/tick-broadcast.c
This page took 0.026255 seconds and 5 git commands to generate.