Re: [Linux-ia64] Re: 64 Bits DMA Addresses for Alloc Consistent Interfaces.

From: James Bottomley <>
Date: 2003-05-17 03:36:15
On Thu, 2003-05-15 at 21:32, David S. Miller wrote:
> The "issue" is that we need a pci_dma_sync_*_to_device() call added.
> We should also remane pci_dma_sync_*() to pci_dma_sync_*_to_cpu()
> to make all of the naming consistent and update all the drivers.

OK, I get it now (I was thinking really in terms of the old
writeback/invalidate interface where you had to know how to place them).

You mean we need an interface that is called when the CPU hands off the
region to the device and again when the CPU reclaims it (so we always
get the writeback or invalidate in the correct place).

How about just adding an ownership attribute to dma_sync..?  It would

Of course, retrofitting something like this is going to be fun.

Received on Fri May 16 10:40:52 2003

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:14 EST