On 08/02/2017 12:22 PM, Sinan Kaya wrote: > On 8/2/2017 2:41 PM, Dave Jiang wrote: >> if (queue_mode == PMEM_Q_MQ) { >> + chan = dma_find_channel(DMA_MEMCPY); >> + if (!chan) { >> + queue_mode = PMEM_Q_BIO; >> + dev_warn(dev, "Forced back to PMEM_Q_BIO, no DMA\n"); >> + } > > We can't expect all MEMCPY capable hardware to support this feature, right? > > Do we need a new API / new function, or new capability? Hmmm...you are right. I wonder if we need something like DMA_SG cap.... > >> + } > > -- To unsubscribe from this list: send the line "unsubscribe dmaengine" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html