summaryrefslogtreecommitdiff
path: root/net/can
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2011-11-14 17:24:58 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2011-12-09 08:54:13 -0800
commit03c371b70411f1f2805e2965eff0629908b59c13 (patch)
treed52e1790be765d4aeab937d6c400aeb98bbf4895 /net/can
parente9b529a3d8929c793ed6326d407ec7bf18bff6bb (diff)
ARM: 7161/1: errata: no automatic store buffer drain
commit 11ed0ba1754841316d4095478944300acf19acc3 upstream. This patch implements a workaround for PL310 erratum 769419. On revisions of the PL310 prior to r3p2, the Store Buffer does not automatically drain. This can cause normal, non-cacheable writes to be retained when the memory system is idle, leading to suboptimal I/O performance for drivers using coherent DMA. This patch adds an optional wmb() call to the cpu_idle loop. On systems with an outer cache, this causes an explicit flush of the store buffer. Acked-by: Catalin Marinas <catalin.marinas@arm.com> Tested-by: Marc Zyngier <marc.zyngier@arm.com> Signed-off-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'net/can')
0 files changed, 0 insertions, 0 deletions