]> git.karo-electronics.de Git - linux-beck.git/commit
MIPS: Enable L2 prefetching for CM >= 2.5
authorPaul Burton <paul.burton@imgtec.com>
Tue, 22 Sep 2015 17:10:54 +0000 (10:10 -0700)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 26 Oct 2015 08:49:41 +0000 (09:49 +0100)
commit4d035516921713b41bb279682e53b4fbd5a87232
treef95cc1eed1f908794ebc96cedc9ec70d741316ba
parent37f2a174c491dee09844491e5869f5701894ade4
MIPS: Enable L2 prefetching for CM >= 2.5

On systems with CM 2.5 & beyond there may be L2 prefetch units present
which are not enabled by default. Detect them, configuring & enabling
prefetching when available.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Cc: linux-mips@linux-mips.org
Cc: Leonid Yegoshin <Leonid.Yegoshin@imgtec.com>
Cc: linux-kernel@vger.kernel.org
Cc: James Hogan <james.hogan@imgtec.com>
Cc: Markos Chandras <markos.chandras@imgtec.com>
Patchwork: https://patchwork.linux-mips.org/patch/11180/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/mips-cm.h
arch/mips/mm/sc-mips.c