Thread (19 messages) flat view 19 messages, 7 authors, 2006-12-07

Re: network devices don't handle pci_dma_mapping_error()'s

From: Muli Ben-Yehuda <hidden>
Date: 2006-12-06 19:33:32

On Wed, Dec 06, 2006 at 10:16:44AM -0800, Stephen Hemminger wrote:
I think it is really only an issue for drivers that turn on HIGH_DMA
and have limited mask values. The majority of drivers either only
handle 32 bit (!HIGH_DMA) or do full 64 bit mapping. I don't know
the details of how we manage IOMMU, but doesn't mapping always work
for those drivers.
It's up to an IOMMU (DMA-API) implementation to define what
constitutes a mapping error, e.g., Calgary and GART on x86-64 will
return bad_dma_address from the mapping functions when they run out of
entries in the IO space, which can happen regardless of the mask.

Cheers,
Muli
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help