Messages in this thread | | | From | "David S. Miller" <> | Date | Sun, 20 May 2001 18:03:44 -0700 (PDT) | Subject | Re: alpha iommu fixes |
| |
Andrea Arcangeli writes: > On Sun, May 20, 2001 at 03:49:58PM +0200, Andrea Arcangeli wrote: > > they returned zero. You either have to drop the skb or to try again later > > if they returns zero. > > BTW, pci_map_single is not a nice interface, it cannot return bus > address 0, so once we start the fixage it is probably better to change > the interface as well to get either the error or the bus address via a > pointer passed to the function.
No, pci_map_single is a fine interface. What is lacking is a "INVALID_DMA_ADDR" define for each platform, and I've known about this for some time.
But for the time being, everyone assumes address zero is not valid and it shouldn't be too painful to reserve the first page of DMA space until we fix this issue.
Later, David S. Miller davem@redhat.com - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |