Re: [TG3]: Add DMA address workaround

From: Michael Chan
Date: Tue Mar 07 2006 - 18:57:22 EST


On Wed, 2006-03-08 at 10:21 +1100, Benjamin Herrenschmidt wrote:

>
> I suppose that means I need to update the ppc64 iommu code to actually
> honor the DMA mask when allocating ;) That will be easy for "dumb"
> iommu's like the G5 but might be a bit more tricky with pSeries.
>
> Anton, Paul, we have no control on the DMA ranges allocated to each phb
> in the system, do we know if they go beyond 32 bits ? (And if yes,
> beyond 40 bits)
>
So how does powerpc handle 32-bit PCI devices that don't support dual
address cycles? Such devices will set the dma_mask to 32-bit. Shouldn't
40-bit be handled in a similar way?

-
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/