]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: BMIPS: Select the appropriate L1_CACHE_SHIFT for 438x and 5000 CPUs
authorKevin Cernekee <cernekee@gmail.com>
Tue, 21 Oct 2014 04:27:58 +0000 (21:27 -0700)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 24 Nov 2014 06:45:11 +0000 (07:45 +0100)
commit8f939f46589d02d93c32d9e1bd3d8f8288b3927a
tree92cdfa8bfd348cacb28b4cd70117afe5d762ec8d
parent34098412a246f0c617ab8cdf5d82f07d45184031
MIPS: BMIPS: Select the appropriate L1_CACHE_SHIFT for 438x and 5000 CPUs

BMIPS438x has a 64-byte D$ line size and BMIPS5000 has a 128-byte L2
line size.  If L1_CACHE_SHIFT is undersized, DMA buffers will not be
cacheline-aligned and terrible things will happen.

Signed-off-by: Kevin Cernekee <cernekee@gmail.com>
Cc: f.fainelli@gmail.com
Cc: mbizon@freebox.fr
Cc: jogo@openwrt.org
Cc: jfraser@broadcom.com
Cc: linux-mips@linux-mips.org
Cc: devicetree@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/8164/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/Kconfig