[PATCH v2 1/3] dmaengine: add new dma API for max_segment_number

FUJITA Tomonori fujita.tomonori at lab.ntt.co.jp
Wed Jun 8 03:10:58 EDT 2011


On Tue, 7 Jun 2011 23:56:21 -0700
Dan Williams <dan.j.williams at intel.com> wrote:

> > The dma parameter restriction could be due to software (HBA drivers,
> > or subsystem). The value should be whatever the dma device driver says
> > it is in such case?
> 
> I'm assuming that the dma driver is taking responsibility for setting
> this correctly.  How would this work otherwise... HBA driver or
> subsystem queries the dmaengine device and then sets this parameter on
> its behalf?  In other words dmanengine *is* the subsystem, if I am
> understanding your definition.

Oops, I meant that the subsystem is software layer above
dmaengine. For example, SCSI subsystem sets the limit of max number of
sglist entries. That is, it is possible that software layer above
dmaengine could set dma limit, which is smaller than the limit of
dmaengine?




More information about the linux-arm-kernel mailing list