Thread (26 messages) flat view 26 messages, 7 authors, 2011-06-21

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

From: Dan Williams <hidden>
Date: 2011-06-08 06:56:24
Also in: linux-mmc, lkml

On Tue, Jun 7, 2011 at 10:23 PM, FUJITA Tomonori
[off-list ref] wrote:
On Mon, 6 Jun 2011 11:48:56 -0700
Dan Williams [off-list ref] wrote:
quoted
dmaengine expands the class of dma providers to include standalone dma
agents on a host bus (or elsewhere) in addition to the traditional bus
mastering host-bus-adapters that the existing api understands. ?So in
the case of slave dma the dma capabilities of the block-device are
irrelevant because another agent will do the transfer on behalf of the
block-device driver. ?So the value should be whatever the dma device
driver says it is.
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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help