OSDN Git Service

MIPS: Allow L2 prefetch to be configured via debugfs
authorPaul Burton <paul.burton@imgtec.com>
Tue, 22 Sep 2015 17:10:56 +0000 (10:10 -0700)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 24 Sep 2015 07:06:02 +0000 (09:06 +0200)
commitb9e8b1742cddef9a18ed2d52820cb4a514b3b36c
treee17986515910b2002a7acdeb7eaf1abe00e3e765
parent6597cfc022a54449dc0971b5afea02953c49645e
MIPS: Allow L2 prefetch to be configured via debugfs

When debugging or examining the performance of a system it can be useful
to examine the effect of L2 prefetching. Provide an optional debugfs
entry to allow a user to enable or disable L2 prefetching.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Cc: Maciej W. Rozycki <macro@linux-mips.org>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/11182/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/Kconfig.debug
arch/mips/mm/Makefile
arch/mips/mm/sc-debugfs.c [new file with mode: 0644]