aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorJonas Gorski <jogo@openwrt.org>2014-07-08 10:26:13 -0400
committerRalf Baechle <ralf@linux-mips.org>2014-07-30 09:20:04 -0400
commitfc264022a5d0fab5e4e8d20d1b80f08737717855 (patch)
treea12347dafb2d364ca50517b771829baa0e01efaa /arch
parent00791887b183c507cb6a6fd278c8ec8ccd2923e8 (diff)
MIPS: BCM63xx: Sync MIPS counters during CPU bringup
We are using the mips counters as the clock source, so we need to ensure they are synced, else e.g. gettimeofday will return different values depending on which core it was run. Observed difference was about 8 seconds, causing ~8 seconds ping or time running backwards for some programs. Signed-off-by: Jonas Gorski <jogo@openwrt.org> Cc: linux-mips@linux-mips.org Cc: John Crispin <blogic@openwrt.org> Cc: Maxime Bizon <mbizon@freebox.fr> Cc: Florian Fainelli <florian@openwrt.org> Cc: Kevin Cernekee <cernekee@gmail.com> Patchwork: https://patchwork.linux-mips.org/patch/7265/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/mips/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index 2a4b9bd47850..b50a1b00b68f 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -139,6 +139,7 @@ config BCM63XX
139 select BOOT_RAW 139 select BOOT_RAW
140 select CEVT_R4K 140 select CEVT_R4K
141 select CSRC_R4K 141 select CSRC_R4K
142 select SYNC_R4K
142 select DMA_NONCOHERENT 143 select DMA_NONCOHERENT
143 select IRQ_CPU 144 select IRQ_CPU
144 select SYS_SUPPORTS_32BIT_KERNEL 145 select SYS_SUPPORTS_32BIT_KERNEL