Files
linux/arch/arm/kernel
Will Deacon 341f278d7b ARM: 7161/1: errata: no automatic store buffer drain
commit 11ed0ba175 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>
2011-12-09 08:52:25 -08:00
..
2008-08-12 19:54:09 +01:00
2011-03-16 23:35:27 +00:00
2008-05-30 10:33:49 +02:00
2011-05-28 10:51:01 -07:00
2011-03-29 14:47:58 +02:00
2008-09-06 12:10:45 +01:00
2011-03-29 14:47:57 +02:00
2010-12-20 23:07:36 +08:00
2010-10-29 13:14:40 -05:00
2010-12-20 23:07:36 +08:00
2011-01-15 09:27:04 +00:00
2011-03-31 11:26:23 -03:00