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>
Mon, 26 Oct 2015 08:49:42 +0000 (09:49 +0100)
commitd478b088a2f74fc8f34af7ceed86fa7640ca8610
tree572d51384469da8a3bda7952f31e17fc5abfa6e9
parent75dcfc1d678d76a82288c043bfd5bfc0fbd43b49
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]