]> git.ipfire.org Git - people/arne_f/kernel.git/commit
clocksource: Exynos_mct: Use irq_force_affinity() in cpu bringup
authorThomas Gleixner <tglx@linutronix.de>
Wed, 16 Apr 2014 14:36:45 +0000 (14:36 +0000)
committerJiri Slaby <jslaby@suse.cz>
Fri, 6 Jun 2014 09:40:20 +0000 (11:40 +0200)
commit0ba79d6efc90465ed75f41e723b27aff79a7baae
treef2fc277a336089ff1dd991922cceb9b28be6ea3b
parentd12167320ffac0629411f16f50e360438abbb52a
clocksource: Exynos_mct: Use irq_force_affinity() in cpu bringup

commit 30ccf03b4a6a2102a2219058bdc6d779dc637dd7 upstream.

The starting cpu is not yet in the online mask so irq_set_affinity()
fails which results in per cpu timers for this cpu ending up on some
other online cpu, ususally cpu 0.

Use irq_force_affinity() which disables the online mask check and
makes things work.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Cc: Kyungmin Park <kyungmin.park@samsung.com>
Cc: Marek Szyprowski <m.szyprowski@samsung.com>
Cc: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Cc: Tomasz Figa <t.figa@samsung.com>,
Cc: Daniel Lezcano <daniel.lezcano@linaro.org>,
Cc: Kukjin Kim <kgene.kim@samsung.com>
Cc: linux-arm-kernel@lists.infradead.org,
Link: http://lkml.kernel.org/r/20140416143316.106665251@linutronix.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
drivers/clocksource/exynos_mct.c