commit | d478b088a2f74fc8f34af7ceed86fa7640ca8610 | [log] [tgz] |
---|---|---|
author | Paul Burton <[email protected]> | Tue Sep 22 10:10:56 2015 -0700 |
committer | Ralf Baechle <[email protected]> | Mon Oct 26 09:49:42 2015 +0100 |
tree | 572d51384469da8a3bda7952f31e17fc5abfa6e9 | |
parent | 75dcfc1d678d76a82288c043bfd5bfc0fbd43b49 [diff] [blame] |
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 <[email protected]> Cc: Maciej W. Rozycki <[email protected]> Cc: [email protected] Cc: [email protected] Patchwork: https://patchwork.linux-mips.org/patch/11182/ Signed-off-by: Ralf Baechle <[email protected]>
diff --git a/arch/mips/Kconfig.debug b/arch/mips/Kconfig.debug index 13d7965..b43e288e 100644 --- a/arch/mips/Kconfig.debug +++ b/arch/mips/Kconfig.debug
@@ -149,4 +149,14 @@ endif # CPU_MIPSR6 +config SCACHE_DEBUGFS + bool "L2 cache debugfs entries" + depends on DEBUG_FS + help + Enable this to allow parts of the L2 cache configuration, such as + whether or not prefetching is enabled, to be exposed to userland + via debugfs. + + If unsure, say N. + endmenu