forked from Minki/linux
2c32c65e37
On revisions of Cortex-A15 prior to r3p3, a CLREX instruction at PL1 may falsely trigger a watchpoint exception, leading to potential data aborts during exception return and/or livelock. This patch resolves the issue in the following ways: - Replacing our uses of CLREX with a dummy STREX sequence instead (as we did for v6 CPUs). - Removing the clrex code from v7_exit_coherency_flush and derivatives, since this only exists as a minor performance improvement when non-cached exclusives are in use (Linux doesn't use these). Benchmarking on a variety of ARM cores revealed no measurable performance difference with this change applied, so the change is performed unconditionally and no new Kconfig entry is added. Signed-off-by: Mark Rutland <mark.rutland@arm.com> Signed-off-by: Will Deacon <will.deacon@arm.com> Cc: stable@vger.kernel.org Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> |
||
---|---|---|
.. | ||
.gitignore | ||
arch_timer.c | ||
armksyms.c | ||
arthur.c | ||
asm-offsets.c | ||
atags_compat.c | ||
atags_parse.c | ||
atags_proc.c | ||
atags.h | ||
bios32.c | ||
calls.S | ||
cpuidle.c | ||
crash_dump.c | ||
debug.S | ||
devtree.c | ||
dma-isa.c | ||
dma.c | ||
early_printk.c | ||
elf.c | ||
entry-armv.S | ||
entry-common.S | ||
entry-header.S | ||
entry-v7m.S | ||
etm.c | ||
fiq.c | ||
fiqasm.S | ||
ftrace.c | ||
head-common.S | ||
head-nommu.S | ||
head.S | ||
hibernate.c | ||
hw_breakpoint.c | ||
hyp-stub.S | ||
insn.c | ||
insn.h | ||
io.c | ||
irq.c | ||
isa.c | ||
iwmmxt.S | ||
jump_label.c | ||
kgdb.c | ||
kprobes-arm.c | ||
kprobes-common.c | ||
kprobes-test-arm.c | ||
kprobes-test-thumb.c | ||
kprobes-test.c | ||
kprobes-test.h | ||
kprobes-thumb.c | ||
kprobes.c | ||
kprobes.h | ||
machine_kexec.c | ||
Makefile | ||
module.c | ||
opcodes.c | ||
patch.c | ||
patch.h | ||
perf_event_cpu.c | ||
perf_event_v6.c | ||
perf_event_v7.c | ||
perf_event_xscale.c | ||
perf_event.c | ||
perf_regs.c | ||
pj4-cp0.c | ||
probes-arm.c | ||
probes-arm.h | ||
probes-thumb.c | ||
probes-thumb.h | ||
probes.c | ||
probes.h | ||
process.c | ||
psci_smp.c | ||
psci.c | ||
ptrace.c | ||
relocate_kernel.S | ||
return_address.c | ||
setup.c | ||
signal.c | ||
sigreturn_codes.S | ||
sleep.S | ||
smp_scu.c | ||
smp_tlb.c | ||
smp_twd.c | ||
smp.c | ||
stacktrace.c | ||
suspend.c | ||
swp_emulate.c | ||
sys_arm.c | ||
sys_oabi-compat.c | ||
tcm.c | ||
thumbee.c | ||
time.c | ||
topology.c | ||
traps.c | ||
unwind.c | ||
uprobes-arm.c | ||
uprobes.c | ||
uprobes.h | ||
v7m.c | ||
vmlinux.lds.S | ||
xscale-cp0.c |