<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/arch/arc/include/asm/unaligned.h, branch linux-3.10.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.10.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.10.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2013-02-15T17:46:06Z</updated>
<entry>
<title>ARC: Unaligned access emulation</title>
<updated>2013-02-15T17:46:06Z</updated>
<author>
<name>Vineet Gupta</name>
</author>
<published>2013-01-23T11:00:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2e651ea1596b0ee25af4fcdc4cd13cbb33ffc254'/>
<id>urn:sha1:2e651ea1596b0ee25af4fcdc4cd13cbb33ffc254</id>
<content type='text'>
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 &lt;tim.yao@amlogic.com&gt;

Signed-off-by: Vineet Gupta &lt;vgupta@synopsys.com&gt;
Cc: Tim Yao &lt;tim.yao@amlogic.com&gt;
Acked-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
</content>
</entry>
</feed>
