Re: [PATCH 2/3] riscv: Implement Zicbom-based cache management operations

From: Christoph Hellwig
Date: Thu Jun 16 2022 - 08:12:08 EST


On Thu, Jun 16, 2022 at 02:09:47PM +0200, Heiko Stübner wrote:
> My guess was that new platforms implementing cache-management will want
> to be non-coherent by default?

No. Cache incoherent DMA is absolutely horrible and almost impossible
to get right for the corner cases. It is a cost cutting measure seen on
cheap SOCs and mostly avoided for more enterprise grade products.