From: Steven J. Hill Date: Thu, 14 Nov 2013 16:12:32 +0000 (+0000) Subject: MIPS: Add debugfs file to print the segmentation control registers X-Git-Tag: v3.14-rc1~37^2~90 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=29f9087c52d19067a1eccfd5c0a4a0045cf3ea04;p=pandora-kernel.git 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 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 Signed-off-by: Steven J. Hill Signed-off-by: Markos Chandras --- Reading git-diff-tree failed