Re: DMA API issues

From: Jamey Hicks
Date: Sun Jun 20 2004 - 16:02:13 EST


James Bottomley wrote:

On Fri, 2004-06-18 at 19:14, Ian Molton wrote:


On 18 Jun 2004 19:04:11 -0500
James Bottomley <James.Bottomley@xxxxxxxxxxxx> wrote:



Because the piece of memory you wish to access is bus remote.

No, its *not*

my CPU can write there directly.

no strings attached.

the DMA API just only understands how to map from RAM, not anything
else.



I think you'll actually find that it is. OHCI is a device (representing
a USB hub), it's attached to the system by some interface that
constitutes a bus (the bus interface transforming the CPU access cycles
to device access cycles, translating interrupts etc.).



Bus remote is a red herring in this case. The only difference between this case and the ones supported by the coherent_dma_mask is that the constraint on placement of the allocated memory cannot be encoded as a bitmask.

Jamey

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/