Re: [LIP] pci_alloc_consistent usage in x86-64 kernel
Arun Sharma <[email protected]>
| Newsgroups | gmane.user-groups.linux.india.programmers |
|---|---|
| Message-ID | <[email protected]> |
On Thu, May 27, 2004 at 08:09:14PM +0000, Sathya Prakash V wrote: > > By debugging I am able to identify the iommu_alloc function in pci_gart.c > is returning fail. iommu is needed only for those PCI devices which are not able to DMA beyond 32 bits i.e. 4GB. In those cases, some platforms implement a piece of hardware that sets up a 32 bit bus address for the PCI device to see, but which is mapped to a 64 bit physical address i.e. any place in physical memory. x86-64 hacks the AGP GART hardware to implement this functionality. Is your emulated device capable of 64 bit DMA ? If yes, why is it passing a dma_mask of less than 4GB ? -Arun ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click