[SPARC64]: Eliminate PCI IOMMU dma mapping size limit.
authorDavid S. Miller <davem@sunset.davemloft.net>
Fri, 14 Oct 2005 05:15:24 +0000 (22:15 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 14 Oct 2005 05:15:24 +0000 (22:15 -0700)
commit688cb30bdc3e398d97682a6a58f825821ee838c2
tree8fc9ca543fc3966eb961743ba4587298fce49279
parent51e8513615ed8202b22ba9a43b0c7376ea4f6868
[SPARC64]: Eliminate PCI IOMMU dma mapping size limit.

The hairy fast allocator in the sparc64 PCI IOMMU code
has a hard limit of 256 pages.  Certain devices can
exceed this when performing very large I/Os.

So replace with a more simple allocator, based largely
upon the arch/ppc64/kernel/iommu.c code.

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc64/kernel/pci_iommu.c
include/asm-sparc64/pbm.h