Hi Christoph,
On 13/10/23 00:00, Christoph Hellwig wrote:
On Thu, Oct 12, 2023 at 11:25:00PM +1000, Greg Ungerer wrote:
Not sure I follow. This is the opposite of the case above. The noncoherent alloc
and cache flush should be performed if ColdFire and any of CONFIG_HAVE_CACHE_CB,
CONFIG_CACHE_D or CONFIG_CACHE_BOTH are set - since that means there is data
caching involved.
FYI, this is what I ended up with this morning:
http://git.infradead.org/users/hch/misc.git/commitdiff/ea7c8c5ca3f158f88594f4f1c9a52735115f9aca
That looks nice.
Whole branch:
http://git.infradead.org/users/hch/misc.git/shortlog/refs/heads/dma-coherent-deps
I'll try and give this some testing next week.
Thanks
Greg