Re: [PATCH v2 2/3] MIPS: Loongson: Add DMA support for 7A1000
From: Christoph Hellwig
Date: Wed Mar 25 2020 - 09:28:13 EST
On Mon, Mar 23, 2020 at 10:59:14AM +0800, Tiezhu Yang wrote:
> Implement __phys_to_dma() and __dma_to_phys() according to the
> node id offset in the 7A1000 DMA route config register.
Can you please try to just use the dma_pfn_offset field in struct device
for all loongson platforms? I'm pretty sure I asked for that last time
around..