summaryrefslogtreecommitdiffstats
path: root/arch/arc/kernel/unaligned.c
Commit message (Collapse)AuthorAgeFilesLines
* ARC: perf: Enable generic software eventsVineet Gupta2015-02-271-0/+2
| | | | Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
* ARC: Handle zero-overhead-loop in unaligned access handlerMischa Jonker2013-09-271-0/+6
| | | | | | | | | | If a load or store is the last instruction in a zero-overhead-loop, and it's misaligned, the loop would execute only once. This fixes that problem. Signed-off-by: Mischa Jonker <mjonker@synopsys.com> Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
* ARC: Handle un-aligned user space access in BE.Noam Camus2013-09-051-7/+19
| | | | | | | Adding endian awarness to un-aligned access exception handling. Signed-off-by: Noam Camus <noamc@ezchip.com> Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
* ARC: Remove explicit passing around of ECRVineet Gupta2013-06-261-1/+1
| | | | | | | | | | | | With ECR now part of pt_regs * No need to propagate from lowest asm handlers as arg * No need to save it in tsk->thread.cause_code * Avoid bit chopping to access the bit-fields More code consolidation, cleanup Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
* ARC: Unaligned access emulationVineet Gupta2013-02-151-0/+245
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>
ass='column6'>\ | | * | | | [ARM] acorn,ebsa110,footbridge,integrator,sa1100: Convert asm/io.h to linux/io.hRussell King2009-03-251-1/+1 | | * | | | Merge branch 'devel' of git://git.kernel.org/pub/scm/linux/kernel/git/ycmiao/...root2009-03-241-0/+1 | | |\ \ \ \ | | | * | | | [ARM] pxa/aspenite: add support for debug ethernetEric Miao2009-03-231-0/+1 | | * | | | | Merge branch 'for-russell' of git://git.kernel.org/pub/scm/linux/kernel/git/c...Russell King2009-03-181-7/+13 | | |\ \ \ \ \ | | | * | | | | IXP4xx: add Ethernet and NPE support for IXP43x CPU.Krzysztof HaƂasa2009-03-171-7/+13 | | * | | | | | Merge branch 'for-rmk' of git://git.pengutronix.de/git/imx/linux-2.6 into develRussell King2009-03-1374-9133/+14399 | | |\ \ \ \ \ \ | | | |_|/ / / / | | |/| | | | | | | * | | | | | [ARM] pxa: separate definitions from pxa-regs.h and remove it finallyEric Miao2009-03-091-2/+1Star | | * | | | | | [ARM] pxa: remove unnecessary #include of pxa-regs.h and hardware.hEric Miao2009-03-092-4/+1Star | * | | | | | | Merge branch 'percpu-cpumask-x86-for-linus-2' of git://git.kernel.org/pub/scm...Linus Torvalds2009-03-284-20/+28 | |\ \ \ \ \ \ \ | | * \ \ \ \ \ \ Merge branch 'linus' into percpu-cpumask-x86-for-linus-2Ingo Molnar2009-03-28119-1321/+9557 | | |\ \ \ \ \ \ \ | | | | |_|_|_|/ / | | | |/| | | | | | | * | | | | | | Merge branch 'core/percpu' into percpu-cpumask-x86-for-linus-2Ingo Molnar2009-03-274-20/+28 | | |\ \ \ \ \ \ \ | | | |_|_|_|_|_|/ | | |/| | | | | | | | | | | | | | | | | | | \ \ \ \ \ | | | | \ \ \ \ \ | | | | \ \ \ \ \ | | | | \ \ \ \ \ | | | | \ \ \ \ \ | | | *-----. \ \ \ \ \ Merge branches 'x86/apic', 'x86/cpu', 'x86/fixmap', 'x86/mm', 'x86/sched', 'x...Ingo Molnar2009-03-0421-139/+285 | | | |\ \ \ \ \ \ \ \ \ | | | | | * | | | | | | | Merge branch 'x86/urgent' into x86/patIngo Molnar2009-03-011-4/+4 | | | | |/| | | | | | | | | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | \ \ \ \ \ \ \ \ \ | | | *-. \ \ \ \ \ \ \ \ \ Merge branches 'x86/apic', 'x86/defconfig', 'x86/memtest', 'x86/mm' and 'linu...Ingo Molnar2009-02-2621-19/+5163 | | | |\ \ \ \ \ \ \ \ \ \ \ | | | | |_|/ / / / / / / / / | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | \ \ \ \ \ \ \ \ \ \ | | | | \ \ \ \ \ \ \ \ \ \ | | | | \ \ \ \ \ \ \ \ \ \ | | | | \ \ \ \ \ \ \ \ \ \ | | | | \ \ \ \ \ \ \ \ \ \ | | | *-----. \ \ \ \ \ \ \ \ \ \ Merge branches 'x86/acpi', 'x86/apic', 'x86/cpudetect', 'x86/headers', 'x86/p...Ingo Molnar2009-02-17