[PATCH v9 3/6] riscv: mm: dma-noncoherent: nonstandard cache operations support

Christoph Hellwig hch at infradead.org
Wed Jun 14 23:00:01 PDT 2023


On Wed, Jun 14, 2023 at 02:35:44PM +0200, Arnd Bergmann wrote:
> I understand that Christoph will still not like this, but I think this
> is as good as it gets, making the standard variant the fast path,
> and using the function pointers only for the nonstandard cases.

Yes.  And I really do not want to make the non-standard cases easy.
The extension to do cache maintenance have been ratified for a while
and under discussion for much longer.  Adding random crap because
vendors suck is a bad idea, and we should not be adding this crap.



More information about the linux-riscv mailing list