From: Markos Chandras Date: Mon, 9 Mar 2015 14:54:52 +0000 (+0000) Subject: MIPS: unaligned: Fix regular load/store instruction emulation for EVA X-Git-Tag: omap-for-v4.1/fixes-rc1~111^2^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6eae35485b26f9e51ab896eb8a936bed9908fdf6;p=pandora-kernel.git MIPS: unaligned: Fix regular load/store instruction emulation for EVA When emulating a regular lh/lw/lhu/sh/sw we need to use the appropriate instruction if we are in EVA mode. This is necessary for userspace applications which trigger alignment exceptions. In such case, the userspace load/store instruction needs to be emulated with the correct eva/non-eva instruction by the kernel emulator. Signed-off-by: Markos Chandras Fixes: c1771216ab48 ("MIPS: kernel: unaligned: Handle unaligned accesses for EVA") Cc: # v3.15+ Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/9503/ Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed