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.... > >> + } > > _______________________________________________ Linux-nvdimm mailing list Linux-nvdimm@lists.01.org https://lists.01.org/mailman/listinfo/linux-nvdimm