MIPS: Octeon: Implement delays with cycle counter.
authorDavid Daney <ddaney@caviumnetworks.com>
Tue, 1 Jun 2010 20:18:15 +0000 (13:18 -0700)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 5 Aug 2010 12:26:20 +0000 (13:26 +0100)
commitca148125e6134de334b61822539d220794d8da18
treee31af5840a8873ec6613bf9b09fe0f9ad3e6a9c7
parente6b78c4f224925c71cce57033b1e6e30dd56add7
MIPS: Octeon: Implement delays with cycle counter.

Power throttling make deterministic delay loops impossible.
Re-implement delays using the cycle counter.  This also allows us to
get rid of the code that calculates loops per jiffy.

Signed-off-by: David Daney <ddaney@caviumnetworks.com>
To: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/1317/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/cavium-octeon/csrc-octeon.c
arch/mips/cavium-octeon/setup.c
arch/mips/include/asm/mach-cavium-octeon/cpu-feature-overrides.h
arch/mips/include/asm/octeon/octeon.h