Re: [PATCH V6 15/25] MIPS: BMIPS: Flush the readahead cache after DMA

2015-03-25 Thread Kevin Cernekee
On Wed, Mar 25, 2015 at 2:23 AM, Ralf Baechle wrote: > On Thu, Dec 25, 2014 at 09:49:10AM -0800, Kevin Cernekee wrote: > >> BMIPS 3300/435x/438x CPUs have a readahead cache that is separate from >> the L1/L2. During a DMA operation, accesses adjacent to a DMA buffer >> may cause parts of the DMA

Re: [PATCH V6 15/25] MIPS: BMIPS: Flush the readahead cache after DMA

2015-03-25 Thread Ralf Baechle
On Thu, Dec 25, 2014 at 09:49:10AM -0800, Kevin Cernekee wrote: > BMIPS 3300/435x/438x CPUs have a readahead cache that is separate from > the L1/L2. During a DMA operation, accesses adjacent to a DMA buffer > may cause parts of the DMA buffer to be prefetched into the RAC. To > avoid possible c

[PATCH V6 15/25] MIPS: BMIPS: Flush the readahead cache after DMA

2014-12-25 Thread Kevin Cernekee
BMIPS 3300/435x/438x CPUs have a readahead cache that is separate from the L1/L2. During a DMA operation, accesses adjacent to a DMA buffer may cause parts of the DMA buffer to be prefetched into the RAC. To avoid possible coherency problems, flush the RAC upon DMA completion. Signed-off-by: Kev