diff options
| author | Valentine Barshak <[email protected]> | 2010-12-13 23:03:16 +0000 |
|---|---|---|
| committer | Russell King <[email protected]> | 2010-12-14 22:23:34 +0000 |
| commit | 85b093bcc5322baa811a03ec73de0909c157f181 (patch) | |
| tree | a403ad0cfc2c8d6dbeebc85d5332922410d2347c /tools/perf/scripts/python/sched-migration.py | |
| parent | ARM: 6534/1: Make CONFIG_FPE_NWFPE depend on !CONFIG_THUMB2_KERNEL (diff) | |
| download | kernel-85b093bcc5322baa811a03ec73de0909c157f181.tar.gz kernel-85b093bcc5322baa811a03ec73de0909c157f181.zip | |
ARM: 6535/1: V6 MPCore v6_dma_inv_range and v6_dma_flush_range RWFO fix
Cache ownership must be acquired by reading/writing data from the
cache line to make cache operation have the desired effect on the
SMP MPCore CPU. However, the ownership is never acquired in the
v6_dma_inv_range function when cleaning the first line and
flushing the last one, in case the address is not aligned
to D_CACHE_LINE_SIZE boundary.
Fix this by reading/writing data if needed, before performing
cache operations.
While at it, fix v6_dma_flush_range to prevent RWFO outside
the buffer.
Cc: [email protected]
Signed-off-by: Valentine Barshak <[email protected]>
Signed-off-by: George G. Davis <[email protected]>
Acked-by: Catalin Marinas <[email protected]>
Signed-off-by: Russell King <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions
