Re: problem with blk_queue_bounce_limit()

James Bottomley (James.Bottomley@steeleye.com)
06 Jun 2003 14:06:12 -0400


From: Christoph Hellwig <hch@infradead.org>
Date: Fri, 6 Jun 2003 08:44:10 +0100

PCI_DMA_BUS_IS_PHYS should be a propert of each struct device because
a machine might have a iommu for one bus type but not another,

We know of no such systems. Even in mixed-bus environments such as
sparc64 SBUS+PCI systems.

Actually, I know of such a system, although, I will admit they're
obscure. Certain PA-RISC machines with EISA buses have an IOMMU on the
EISA bus alone (not on the GSC bus). It's job was really to cope with
the ISA DMA issue nicely, but it qualifies.

It was for machines like this that I've already been thinking about
introducing a dma_is_phys(dev) macro, which I originally left out of the
generic device DMA API.

James

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/