]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite9568e5267695d36d4ed2f83faa6b70ce7d1fea1
treee31af5840a8873ec6613bf9b09fe0f9ad3e6a9c7
parent78f999520661ab3acc1c92984b5fa222f840c375
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