From: Leonid Yegoshin Date: Tue, 15 Jul 2014 13:09:57 +0000 (+0100) Subject: MIPS: kernel: cpu-probe: Detect unique RI/XI exceptions X-Git-Tag: cleanup-for-v3.18~94^2~38 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6575b1d4173eaeff6742a2c6dcbd835bb052952b;p=pandora-kernel.git MIPS: kernel: cpu-probe: Detect unique RI/XI exceptions Detect if the core supports unique exception codes for the Read-Inhibit and Execute-Inhibit exceptions and set the option accordingly. The RI/XI exception support is detected by setting the 27th bit (IEC) of the PageGrain C0 register and reading back the value of that register to verify the bit is enabled. Signed-off-by: Leonid Yegoshin Signed-off-by: Markos Chandras Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/7340/ Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed