RE: [PATCH v2 0/5] add virt-dma support for imx-sdma

2018-06-08 Thread Robin Gong
m-ker...@lists.infradead.org; dl-linux-imx Subject: Re: [PATCH v2 0/5] add virt-dma support for imx-sdma On Fri, Jun 08, 2018 at 09:44:45PM +0800, Robin Gong wrote: > The legacy sdma driver has below limitations or drawbacks: > 1. Hardcode the max BDs number as "PAGE_SIZE / sizeof(*)", and alloc

Re: [PATCH v2 0/5] add virt-dma support for imx-sdma

2018-06-08 Thread Sascha Hauer
On Fri, Jun 08, 2018 at 09:44:45PM +0800, Robin Gong wrote: > The legacy sdma driver has below limitations or drawbacks: > 1. Hardcode the max BDs number as "PAGE_SIZE / sizeof(*)", and alloc > one page size for one channel regardless of only few BDs needed > most time. But in few cases

[PATCH v2 0/5] add virt-dma support for imx-sdma

2018-06-07 Thread Robin Gong
The legacy sdma driver has below limitations or drawbacks: 1. Hardcode the max BDs number as "PAGE_SIZE / sizeof(*)", and alloc one page size for one channel regardless of only few BDs needed most time. But in few cases, the max PAGE_SIZE maybe not enough. 2. One SDMA channel can't st