MIPS: CM3: Add support for CM3 L2 cache.
authorPaul Burton <paul.burton@imgtec.com>
Thu, 9 Jul 2015 09:40:42 +0000 (10:40 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 26 Aug 2015 13:23:11 +0000 (15:23 +0200)
commit7d53e9c4cd21cbc82b7422c90852e56baaf7ddae
tree8a2f1ea52ccb9057dbe7ccd83a46dfaae92efd72
parent0ba3c125aa0ff9f993c0f9629945a0dd18d42568
MIPS: CM3: Add support for CM3 L2 cache.

Detect the L2 cache configuration from GCR_L2_CONFIG when a CM3 is
present in the system, rather than from Config2 which does not expose
the L2 configuration on I6400.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/10641/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/mm/sc-mips.c