diff options
author | Ralf Baechle <[email protected]> | 2012-06-09 20:48:47 +0100 |
---|---|---|
committer | Ralf Baechle <[email protected]> | 2012-12-13 18:15:27 +0100 |
commit | a16dad7763420a3b46cff1e703a9070827796cfc (patch) | |
tree | 9eba907d769432ef0704f3eaa64416395eb5c967 /tools/perf/util/trace-event-scripting.c | |
parent | 51d943f07d3015998d448f9d8353f618e3fe5873 (diff) |
MIPS: Fix potencial corruption
Normally r4k_dma_cache_inv should only ever be called with cacheline
aligned addresses. If however, it isn't there is the theoretical
possibility of data corruption. There is no correct way of handling this
and anyway, it should only happen if the DMA API is used incorrectly
so drop
There is a different corruption scenario with these CACHE instructions
removed but again there is no way of handling this correctly and it can
be triggered only through incorrect use of the DMA API.
So just get rid of the complexity.
Signed-off-by: Ralf Baechle <[email protected]>
Reported-by: James Rodriguez <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions