[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200313082451.GA20331@infradead.org>
Date: Fri, 13 Mar 2020 01:24:51 -0700
From: Christoph Hellwig <hch@...radead.org>
To: Tiezhu Yang <yangtiezhu@...ngson.cn>
Cc: Thomas Bogendoerfer <tsbogend@...ha.franken.de>,
Huacai Chen <chenhc@...ote.com>,
Jiaxun Yang <jiaxun.yang@...goat.com>,
Bjorn Helgaas <bhelgaas@...gle.com>,
Jens Axboe <axboe@...nel.dk>, linux-mips@...r.kernel.org,
linux-pci@...r.kernel.org, linux-ide@...r.kernel.org,
linux-kernel@...r.kernel.org, Xuefeng Li <lixuefeng@...ngson.cn>
Subject: Re: [PATCH 4/6] MIPS: Loongson: Add DMA support for 7A1000
On Mon, Mar 09, 2020 at 04:23:24PM +0800, Tiezhu Yang wrote:
> Implement __phys_to_dma() and __dma_to_phys() according to the
> node id offset in 7A1000 DMA route config register.
Can you just switch Loongson over to use the dma_pfn_offset field in
struct device? I'd love to kill the __phys_to_dma and __dma_to_phys
hooks wherever possible.
Powered by blists - more mailing lists