Re: [PATCH 1/2] MIPS: Define pgprot_dmacoherent according to coherentio status

From: Christoph Hellwig
Date: Mon Jan 13 2020 - 09:58:25 EST


On Mon, Jan 13, 2020 at 10:07:04PM +0800, Jiaxun Yang wrote:
> For MIPS chips that support coherentio DMA, it's always safe
> to make DMA requests cached.

For DMA coherent devices pgprot_dmacoherent isn't even used, so this
doesn't make sense.