diff options
author | Markos Chandras <markos.chandras@imgtec.com> | 2014-08-29 09:37:26 +0100 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2014-11-24 07:44:51 +0100 |
commit | 97f4ad29dae24861dc08bfea48b1b446fc195d99 (patch) | |
tree | f2db98d45ac89d417f3ca2339c9cb6feb7b7f883 /arch/mips/kernel/irq_cpu.c | |
parent | 7178d2cdd9f5f70902dd0201ebcf01c9489c4afb (diff) |
MIPS: cpu: Add 'noftlb' kernel command line option to disable the FTLB
Add new 'noftlb' kernel command line option to disable the FTLB.
Since the kernel command line is not available when probing and
enabling the CPU features in cpu_probe(), we let the kernel configure
the FTLB during the config4 decode operation and we disable the FTLB later
on, once the command line has become available to us. This should have
no negative effects since FTLB isn't used so early in the boot process.
FTLB increases the effective TLB size leading to less TLB misses. However,
sometimes it's useful to be able to disable it when debugging memory related
core features or other hardware components.
Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: http://patchwork.linux-mips.org/patch/7586/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel/irq_cpu.c')
0 files changed, 0 insertions, 0 deletions