![]() | |||||||||||||
Messages in this thread Patch in this message |
Hi, We have cards that want over 2MB of PCI consistent memory. The IOMAP_MAX_ORDER limit is just to catch bad drivers early, so we can bump this a bit. We want some room to grow but our maximum get_free_pages allocation on ppc64 is currently 16MB, so it doesnt make sense to go above that. Signed-off-by: Anton Blanchard <anton@samba.org> ===== include/asm-ppc64/iommu.h 1.6 vs edited ===== --- 1.6/include/asm-ppc64/iommu.h Tue Apr 13 03:54:09 2004 +++ edited/include/asm-ppc64/iommu.h Tue May 25 15:16:24 2004 @@ -29,10 +29,10 @@ /* * IOMAP_MAX_ORDER defines the largest contiguous block - * of dma (tce) space we can get. IOMAP_MAX_ORDER = 10 - * allows up to 2**9 pages (512 * 4096) = 2 MB + * of dma (tce) space we can get. IOMAP_MAX_ORDER = 13 + * allows up to 2**12 pages (4096 * 4096) = 16 MB */ -#define IOMAP_MAX_ORDER 10 +#define IOMAP_MAX_ORDER 13 /* * Tces come in two formats, one for the virtual bus and a different - 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/ | ||||||||||||
| Last update: 2005-03-22 13:03 [W:0.183 / U:0.030 seconds] ©2003-2008 Jasper Spaans | |||||||||||||