Re: [PATCH v6] MIPS: Loongson: Add DMA support for LS7A

2020-05-07 Thread Tiezhu Yang
On 05/07/2020 09:41 AM, Huacai Chen wrote: Hi, Christoph, On Wed, May 6, 2020 at 10:44 PM Christoph Hellwig wrote: On Wed, May 06, 2020 at 04:47:30PM +0800, Huacai Chen wrote: For the above reasons, I think what you are concerned is not a big deal. I don't think so, this is obviously a

Re: [PATCH v6] MIPS: Loongson: Add DMA support for LS7A

2020-05-06 Thread Huacai Chen
Hi, Christoph, On Wed, May 6, 2020 at 10:44 PM Christoph Hellwig wrote: > > On Wed, May 06, 2020 at 04:47:30PM +0800, Huacai Chen wrote: > > > For the above reasons, I think what you are concerned is not a > > > big deal. > > I don't think so, this is obviously a regression. If we can accept a >

Re: [PATCH v6] MIPS: Loongson: Add DMA support for LS7A

2020-05-06 Thread Christoph Hellwig
On Wed, May 06, 2020 at 04:47:30PM +0800, Huacai Chen wrote: > > For the above reasons, I think what you are concerned is not a > > big deal. > I don't think so, this is obviously a regression. If we can accept a > regression of RS780E, why we still maintain Loongson-2EF rather than > simply drop

Re: [PATCH v6] MIPS: Loongson: Add DMA support for LS7A

2020-05-06 Thread Huacai Chen
Hi, Tiezhu, On Wed, May 6, 2020 at 2:39 PM Tiezhu Yang wrote: > > On 04/30/2020 02:19 PM, Huacai Chen wrote: > > Hi Christoph, > > > > On Thu, Apr 30, 2020 at 10:31 AM Tiezhu Yang wrote: > >> In the current market, the most used bridge chip on the Loongson > >> platform are RS780E and LS7A,

Re: [PATCH v6] MIPS: Loongson: Add DMA support for LS7A

2020-05-06 Thread Tiezhu Yang
On 04/30/2020 02:19 PM, Huacai Chen wrote: Hi Christoph, On Thu, Apr 30, 2020 at 10:31 AM Tiezhu Yang wrote: In the current market, the most used bridge chip on the Loongson platform are RS780E and LS7A, the RS780E bridge chip is already supported by the mainline kernel. In order to use the

Re: [PATCH v6] MIPS: Loongson: Add DMA support for LS7A

2020-04-30 Thread Huacai Chen
Hi Christoph, On Thu, Apr 30, 2020 at 10:31 AM Tiezhu Yang wrote: > > In the current market, the most used bridge chip on the Loongson > platform are RS780E and LS7A, the RS780E bridge chip is already > supported by the mainline kernel. > > In order to use the default implementation of

Re: [PATCH v6] MIPS: Loongson: Add DMA support for LS7A

2020-04-29 Thread Jiaxun Yang
于 2020年4月30日 GMT+08:00 上午10:31:07, Tiezhu Yang 写到: >In the current market, the most used bridge chip on the Loongson >platform are RS780E and LS7A, the RS780E bridge chip is already >supported by the mainline kernel. > >In order to use the default implementation of __phys_to_dma() and

[PATCH v6] MIPS: Loongson: Add DMA support for LS7A

2020-04-29 Thread Tiezhu Yang
In the current market, the most used bridge chip on the Loongson platform are RS780E and LS7A, the RS780E bridge chip is already supported by the mainline kernel. In order to use the default implementation of __phys_to_dma() and __dma_to_phys() in dma-direct.h, remove CONFIG_ARCH_HAS_PHYS_TO_DMA