On Fri, Oct 10, 2008 at 10:18:33AM -0700, Roland Dreier wrote: > > Open-coding DMA_BIT_MASK() within your driver means that we no longer > > have a canonical list of DMA masks in one place. Instead we have to > > grep the entire tree and come up with more-or-less complex scripts to > > figure out which bit masks are actually in use. > > Out of curiousity, why do we care about that list? Originally, I used to track down IO perf issues when porting drivers to ia64. But knowing the dma masks in use on specific platforms might allow folks to disable DMA_ZONE (like ia64 since it's always guarateed either a SWIOTLB or real IOMMU). Any other uses? thanks, grant > > - R. > -- > To unsubscribe from this list: send the line "unsubscribe linux-pci" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html