aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorWill Deacon <[email protected]>2011-11-14 17:24:58 +0100
committerRussell King <[email protected]>2011-11-21 13:12:18 +0000
commit11ed0ba1754841316d4095478944300acf19acc3 (patch)
tree2b7b1002398ca3bd035ec69fbec92ac6648fadf6 /tools/perf/util/scripting-engines/trace-event-python.c
parent6fe4c6d466e95d31164f14b1ac4aefb51f0f4f82 (diff)
ARM: 7161/1: errata: no automatic store buffer drain
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. Cc: [email protected] Acked-by: Catalin Marinas <[email protected]> Tested-by: Marc Zyngier <[email protected]> Signed-off-by: Will Deacon <[email protected]> Signed-off-by: Russell King <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions