linux-kernel-test/drivers/clocksource
Jens Rottmann fc579da75f cs5535-clockevt: Don't ignore MFGPT on SMP-capable kernels
On SMP-capable kernels (e.g.  generic distro kernel) the cs5535-clockevt
driver loads but is not actually used.

Setting cpumask to cpu_all_mask works for UP-only kernels, but if compiled
for SMP - though still running on the same UP hardware -
kernel/time/tick-common.c:tick_check_new_device() reads this as
"non-cpu-local" and silently ignores the device.

If we leave cpumask unset clockevents_register_device() will initialize it
and the cs5535-clockevt driver will be used no matter how the kernel was
compiled.  Should anyone ever manage to stick a CS553x in an SMP system
(is this even possible?) then a warning will be printed.  This is fine as
the cs5535-clockevt driver was never written/tested for SMP.

If bisecting led you here this patch may have exposed a pre-existing MFGPT
problem.  Configure for UP-only and re-check.

Signed-off-by: Jens Rottmann <JRottmann@LiPPERTEmbedded.de>
Acked-by: Andres Salomon <dilinger@queued.net>
Cc: John Stultz <john.stultz@linaro.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2012-03-06 14:17:44 +01:00
..
acpi_pm.c clocksource: Load the ACPI PM clocksource asynchronously 2012-02-01 18:39:46 -08:00
clksrc-dbx500-prcmu.c clocksource: dbx500: convert to clocksource_register_hz() 2012-02-01 18:37:37 -08:00
cs5535-clockevt.c cs5535-clockevt: Don't ignore MFGPT on SMP-capable kernels 2012-03-06 14:17:44 +01:00
cyclone.c clocksource: cyclone: Add missing iounmap 2012-01-26 19:30:40 -08:00
dw_apb_timer.c dw_apb_timer: constify clocksource name 2011-10-04 13:08:18 -07:00
i8253.c time: x86: Replace LATCH with PIT_LATCH in i8253 clocksource driver 2011-11-21 19:00:59 -08:00
Kconfig clocksource: add DBX500 PRCMU Timer support 2011-09-22 15:42:57 +02:00
Makefile clocksource: add DBX500 PRCMU Timer support 2011-09-22 15:42:57 +02:00
mmio.c clocksource: add common mmio clocksource 2011-05-23 18:04:51 +01:00
scx200_hrt.c clocksource: scx200_hrt: Fix the build 2012-02-22 13:25:16 +01:00
sh_cmt.c drivers/clocksource: Add module.h to those who were using it implicitly 2011-10-31 19:31:42 -04:00
sh_mtu2.c drivers/clocksource: Add module.h to those who were using it implicitly 2011-10-31 19:31:42 -04:00
sh_tmu.c drivers/clocksource: Add module.h to those who were using it implicitly 2011-10-31 19:31:42 -04:00
tcb_clksrc.c clocksource: Convert tcb_clksrc to use clocksource_register_hz/khz 2011-11-21 19:01:42 -08:00