Re: [PATCH] pci: print out DMA mask info

From: Matthew Wilcox
Date: Fri Oct 10 2008 - 12:34:20 EST


On Fri, Oct 10, 2008 at 09:19:08AM -0700, Yinghai Lu wrote:
> anyway looking at dma_mask print out is interesting..., some uses 39,
> and some use 44bits...

Yes, that reflects the limitations of the device. You can see many of
the common ones in include/linux/dma-mapping.h.

By the way, commit 8f286c33f1e838d631f4a3260b33efce4bc5973c is a really
bad idea. It is very helpful to see which bitmasks are used by real
devices, and which ones aren't. It should be reverted, IMO.

--
Matthew Wilcox Intel Open Source Technology Centre
"Bill, look, we understand that you're interested in selling us this
operating system, but compare it to ours. We can't possibly take such
a retrograde step."
--
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/