On Thu, Jun 21, 2012 at 07:29:23AM +1000, Benjamin Herrenschmidt wrote:
> On Wed, 2012-06-20 at 16:14 -0500, Anthony Liguori wrote:
>
> > Why not make life easy and fix dma_addr_t to 64-bit?
>
> No opinion on my side, that's from the original patch series, I suppose
> the goal was to avoid the overhead/bloat on 32-bit only
> platforms/targets.
More or less. I think I do set it to 64-bit later in the series.
Particularly when IOMMU was configurable off, I had it set to
target_phys_addr_t given people's propensity to bitch and moan about
the slightest theoretical bloat.
--
David Gibson | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_
| _way_ _around_!
http://www.ozlabs.org/~dgibson