diff options
author | Steven J. Hill <Steven.Hill@imgtec.com> | 2013-11-14 11:12:32 -0500 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2014-01-22 14:19:00 -0500 |
commit | 29f9087c52d19067a1eccfd5c0a4a0045cf3ea04 (patch) | |
tree | ff0b15c870c49f5820e2b71a0216ddd52e726ba6 /arch/mips/kernel/Makefile | |
parent | 75b5b5e0a262790fa11043fe45700499c7e3d818 (diff) |
MIPS: Add debugfs file to print the segmentation control registers
Add a new mips/segments debugfs file to print the 6 segmentation
control registers for supported cores. A sample from a proAptiv core
is given below:
Signed-off-by: John Crispin <blogic@openwrt.org>
Patchwork: http://patchwork.linux-mips.org/patch/6137/
Segment Virtual Size Access Mode Physical Caching EU
------- ------- ---- ----------- -------- ------- --
0 e0000000 512M MK UND U 0
1 c0000000 512M MSK UND U 0
2 a0000000 512M UK 000 2 0
3 80000000 512M UK 000 3 0
4 40000000 1G MUSK UND U 1
5 00000000 1G MUSK UND U 1
Reviewed-by: James Hogan <james.hogan@imgtec.com>
Signed-off-by: Steven J. Hill <Steven.Hill@imgtec.com>
Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Diffstat (limited to 'arch/mips/kernel/Makefile')
-rw-r--r-- | arch/mips/kernel/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/kernel/Makefile b/arch/mips/kernel/Makefile index 1c1b71752c84..b95eb7411d0c 100644 --- a/arch/mips/kernel/Makefile +++ b/arch/mips/kernel/Makefile | |||
@@ -30,6 +30,7 @@ obj-$(CONFIG_CSRC_R4K) += csrc-r4k.o | |||
30 | obj-$(CONFIG_CSRC_SB1250) += csrc-sb1250.o | 30 | obj-$(CONFIG_CSRC_SB1250) += csrc-sb1250.o |
31 | obj-$(CONFIG_SYNC_R4K) += sync-r4k.o | 31 | obj-$(CONFIG_SYNC_R4K) += sync-r4k.o |
32 | 32 | ||
33 | obj-$(CONFIG_DEBUG_FS) += segment.o | ||
33 | obj-$(CONFIG_STACKTRACE) += stacktrace.o | 34 | obj-$(CONFIG_STACKTRACE) += stacktrace.o |
34 | obj-$(CONFIG_MODULES) += mips_ksyms.o module.o | 35 | obj-$(CONFIG_MODULES) += mips_ksyms.o module.o |
35 | obj-$(CONFIG_MODULES_USE_ELF_RELA) += module-rela.o | 36 | obj-$(CONFIG_MODULES_USE_ELF_RELA) += module-rela.o |