From: Vineet Gupta Date: Wed, 23 Jan 2013 11:00:36 +0000 (+0530) Subject: ARC: Unaligned access emulation X-Git-Tag: v3.9-rc1~25^2~32 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2e651ea1596b0ee25af4fcdc4cd13cbb33ffc254;p=pandora-kernel.git ARC: Unaligned access emulation ARC700 doesn't natively support unaligned access, but can be emulated -Unaligned Access Exception -Disassembly at the Fault address to find the exact insn (long/short) Also per Arnd's comment, we runtime control it using 2 sysctl knobs: * SYSCTL_ARCH_UNALIGN_ALLOW: Runtime enable/disble * SYSCTL_ARCH_UNALIGN_NO_WARN: Warn on each emulation attempt Originally contributed by Tim Yao Signed-off-by: Vineet Gupta Cc: Tim Yao Acked-by: Arnd Bergmann --- Reading git-diff-tree failed