From: Paul Mundt Date: Fri, 14 Aug 2009 22:43:21 +0000 (+0900) Subject: sh: delay slot future proofing via EXPMASK on SH-4A parts. X-Git-Tag: v2.6.32-rc1~640^2~44^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7dd6662a92fe9a15ad565045aa60367995cc533d;p=pandora-kernel.git sh: delay slot future proofing via EXPMASK on SH-4A parts. This implements EXPMASK initialization code for SH-4A parts, where it is possible to disable compat features that will go away in newer cores. Presently this includes disabling support for non-nop instructions in the rte delay slot, as well as a sleep instruction being placed in a delay slot (neither of which the kernel does any longer). As a result of this, any future offenders will have illegal slot exceptions generated for them. Associative writes for the memory-mapped cache array are still left enabled, until such a point that special cache operations for SH-4A are provided to move off of the current (and rather dated) SH-4 versions. Signed-off-by: Paul Mundt --- Reading git-diff-tree failed