Re: PCI DMA to small buffers on cache-incoherent arch

David S. Miller
2002-06-09T00:57:11Z

From: Roland Dreier <roland@topspin.com>
Date: 08 Jun 2002 17:40:24 -0700

Or should we leave that usage unless it is observed causing
problems (since we almost always get lucky and don't touch the rest
of the cache line near the DMA)?

I think passing in a 4 byte chunk and assuming the rest of the
cacheline is unmodified is a valid expectation the more I think
about it.

This means what MIPS is doing is wrong. For partial cacheline bits it
can't do the invalidate thing.