]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: Octeon: Apply CN63XXP1 errata workarounds.
authorDavid Daney <ddaney@caviumnetworks.com>
Thu, 7 Oct 2010 23:03:53 +0000 (16:03 -0700)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 29 Oct 2010 18:08:43 +0000 (19:08 +0100)
commit8de81898496534a4518a0a46b3ea0453de5dc5f3
tree73e3868737061e1d5b0b61c182ea443e3ccd94e3
parentf8a6c78d8d4f3c9899f05acf01040ec904284410
MIPS: Octeon: Apply CN63XXP1 errata workarounds.

The CN63XXP1 needs a couple of workarounds to ensure memory is not written
in unexpected ways.

All PREF with hints in the range 0-4,6-24 are replaced with PREF 28.  We
pass a flag to the assembler to cover compiler generated code, and patch
uasm for the dynamically generated code.

The write buffer threshold is reduced to 4.

Signed-off-by: David Daney <ddaney@caviumnetworks.com>
Patchwork: http://patchwork.linux-mips.org/patch/1672/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/Makefile
arch/mips/cavium-octeon/Kconfig
arch/mips/cavium-octeon/setup.c
arch/mips/mm/uasm.c