From: Jonas Gorski Date: Tue, 8 Jul 2014 14:26:13 +0000 (+0200) Subject: MIPS: BCM63xx: Sync MIPS counters during CPU bringup X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=fc264022a5d0fab5e4e8d20d1b80f08737717855;p=linux-beck.git 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 Cc: linux-mips@linux-mips.org Cc: John Crispin Cc: Maxime Bizon Cc: Florian Fainelli Cc: Kevin Cernekee Patchwork: https://patchwork.linux-mips.org/patch/7265/ Signed-off-by: Ralf Baechle --- 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 select BOOT_RAW select CEVT_R4K select CSRC_R4K + select SYNC_R4K select DMA_NONCOHERENT select IRQ_CPU select SYS_SUPPORTS_32BIT_KERNEL