On Mon, 2006-03-06 at 14:39 +1030, Phil Nitschke wrote: > How is a DMA controlled (from a device driver writer's perspective) when > a third-party (i.e. in the bridge) DMA controller needs to do the work > to get the data from a PCI Target into main memory? > > What kernel API should be provided by the DMA Controller Driver?
There is no current API for this in the kernel, but there are some proposals. From Intel, we have I/OAT, which targets network operations: http://lkml.org/lkml/2006/3/3/219 There's some overlap with the ADMA feature set, which is intended to accelerate RAID operations: http://lkml.org/lkml/2006/2/2/442 -- Adrian Cox <adrian at humboldt.co.uk>