Re: using ioremap() memory in dma_map_sg()

2018-11-22 Thread Andy Shevchenko
On Mon, Nov 19, 2018 at 6:31 PM Olga Kitaina wrote: > > Hi. > As part of our driver, we want to have some device memory to be > available to other devices via the DMA-BUF subsystem. The device memory > is managed by genpool, and mapped from the sram driver via ioremap_wc(). > We initially used sg_

using ioremap() memory in dma_map_sg()

2018-11-19 Thread Olga Kitaina
Hi. As part of our driver, we want to have some device memory to be available to other devices via the DMA-BUF subsystem. The device memory is managed by genpool, and mapped from the sram driver via ioremap_wc(). We initially used sg_set_buf() with the virtual address returned from gen_pool_dm