linux-stable/arch/arc
Vineet Gupta 2e651ea159 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 <tim.yao@amlogic.com>

Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Cc: Tim Yao <tim.yao@amlogic.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
2013-02-15 23:16:06 +05:30
..
boot ARC: [plat-arcfpga]: Enabling DeviceTree for Angel4 board 2013-02-15 23:15:57 +05:30
configs ARC: [plat-arcfpga] defconfig 2013-02-15 23:15:58 +05:30
include/asm ARC: Unaligned access emulation 2013-02-15 23:16:06 +05:30
kernel ARC: Unaligned access emulation 2013-02-15 23:16:06 +05:30
lib ARC: String library 2013-02-11 20:00:35 +05:30
mm ARC: SMP support 2013-02-15 23:16:02 +05:30
oprofile ARC: OProfile support 2013-02-15 23:16:00 +05:30
plat-arcfpga ARC: SMP support 2013-02-15 23:16:02 +05:30
Kbuild ARC: Build system: Makefiles, Kconfig, Linker script 2013-02-11 20:00:25 +05:30
Kconfig ARC: Unaligned access emulation 2013-02-15 23:16:06 +05:30
Kconfig.debug ARC: Build system: Makefiles, Kconfig, Linker script 2013-02-11 20:00:25 +05:30
Makefile ARC: SMP support 2013-02-15 23:16:02 +05:30