Re: [discuss] Re: x86_64: 2.6.14-rc4 swiotlb broken

From: Alex Williamson
Date: Tue Oct 18 2005 - 20:23:13 EST


On Tue, 2005-10-18 at 16:22 -0700, Ravikiran G Thirumalai wrote:

> Hope the following works. Using __alloc_bootmem_node now with a hard coded
> goal to avoid 16MB DMA zone. It is ugly :( and hope it works this time
> <fingers crossed>.

Nope, it still gives me memory above 4GB. If I change goal to 0x0 it
works. One nit, shouldn't IS_LOW_AGES() be more like this:

#define IS_LOWPAGES(paddr, size) ((paddr+size-1) < 0x100000000UL)

Minor optimization not checking the start, but a 64MB swiotlb starting
at 4GB-64MB should be found as ok. Thanks,

Alex


-
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/