linux_dsm_epyc7002/arch/arc/include/asm
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
..
arcregs.h
asm-offsets.h
atomic.h
barrier.h
bitops.h
bug.h
byteorder.h
cache.h
cachectl.h
cacheflush.h
checksum.h
clk.h
cmpxchg.h
current.h
delay.h
disasm.h ARC: disassembly (needed by kprobes/kgdb/unaligned-access-emul) 2013-02-15 23:16:04 +05:30
dma-mapping.h
dma.h
elf.h
entry.h ARC: SMP support 2013-02-15 23:16:02 +05:30
exec.h
futex.h ARC: Futex support 2013-02-15 23:16:00 +05:30
io.h
irq.h
irqflags.h ARC: Support for high priority interrupts in the in-core intc 2013-02-15 23:16:01 +05:30
Kbuild ARC: Unaligned access emulation 2013-02-15 23:16:06 +05:30
kdebug.h
kprobes.h ARC: kprobes support 2013-02-15 23:16:05 +05:30
linkage.h
mmu_context.h ARC: SMP support 2013-02-15 23:16:02 +05:30
mmu.h
module.h ARC: DWARF2 .debug_frame based stack unwinder 2013-02-15 23:16:03 +05:30
mutex.h ARC: SMP support 2013-02-15 23:16:02 +05:30
page.h
pgalloc.h
pgtable.h ARC: SMP support 2013-02-15 23:16:02 +05:30
processor.h ARC: SMP support 2013-02-15 23:16:02 +05:30
prom.h
ptrace.h ARC: Unaligned access emulation 2013-02-15 23:16:06 +05:30
sections.h
segment.h
setup.h
sigcontext.h
signal.h
smp.h ARC: SMP support 2013-02-15 23:16:02 +05:30
spinlock_types.h
spinlock.h
string.h
swab.h
switch_to.h
syscall.h
syscalls.h
thread_info.h
timex.h
tlb-mmu1.h
tlb.h
tlbflush.h
uaccess.h
unaligned.h ARC: Unaligned access emulation 2013-02-15 23:16:06 +05:30
unistd.h
unwind.h ARC: DWARF2 .debug_frame based stack unwinder 2013-02-15 23:16:03 +05:30