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

From: Christoph Hellwig
Date: Thu Jun 15 2023 - 02:00:25 EST


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.