android_kernel_sony_sdm845/arch/arc
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Vineet Gupta ca332b96ba ARC: [arcompact] handle unaligned access delay slot corner case
commit 9aed02feae57bf7a40cb04ea0e3017cb7a998db4 upstream.

After emulating an unaligned access in delay slot of a branch, we
pretend as the delay slot never happened - so return back to actual
branch target (or next PC if branch was not taken).

Curently we did this by handling STATUS32.DE, we also need to clear the
BTA.T bit, which is disregarded when returning from original misaligned
exception, but could cause weirdness if it took the interrupt return
path (in case interrupt was acive too)

One ARC700 customer ran into this when enabling unaligned access fixup
for kernel mode accesses as well

Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-02-01 08:33:08 +01:00
..
boot ARC: Enable PERF_EVENTS in nSIM driven platforms 2016-10-31 17:12:38 -07:00
configs ARC: Enable PERF_EVENTS in nSIM driven platforms 2016-10-31 17:12:38 -07:00
include ARC: udelay: fix inline assembler by adding LP_COUNT to clobber list 2017-02-01 08:33:08 +01:00
kernel ARC: [arcompact] handle unaligned access delay slot corner case 2017-02-01 08:33:08 +01:00
lib ARC: dw2 unwind: enable cfi pseudo ops in string lib 2016-09-30 14:48:22 -07:00
mm ARC: mm: arc700: Don't assume 2 colours for aliasing VIPT dcache 2017-01-09 08:32:21 +01:00
oprofile ARC: OProfile support 2013-02-15 23:16:00 +05:30
plat-axs10x ARC updates for 4.7-rc1 2016-05-19 09:46:18 -07:00
plat-eznps ARC: [plat-eznps] remove IPI clear from SMP operations 2016-11-08 09:25:18 -08:00
plat-sim ARCv2: Add support for ZeBu Emulation platform for HS cores 2016-09-30 14:48:15 -07:00
plat-tb10x arc: select GPIOLIB directly 2016-04-26 14:07:59 +02:00
Kbuild
Kconfig ARC: module: Fix !CONFIG_ARC_DW2_UNWIND builds 2017-01-26 08:24:37 +01:00
Kconfig.debug ARC: With earlycon in use, retire EARLY_PRINTK 2015-05-11 11:20:21 +05:30
Makefile ARC fixes for 4.9-rc5 2016-11-11 16:51:50 -08:00