discontig physical memory

Petko Manolov (pmanolov@Lnxw.COM)
Mon, 08 Oct 2001 15:54:30 -0700


Hi guys,

I ran into this problem with a SOC weird design.
The physical memory map looks like this:

0 - 4MB DMA-able embedded RAM;
4MB - 16MB nothing here;
16MB - 32MB external RAM;

Embedded controllers (FB/USB) can see only lowest 4MB
and they need almost all of it for buffers. The kernel
is living at phy address 16Mb.

Any ideas how to make lowest 4MB allocatable throu
kmalloc(size, GFP_DMA) without breaking the kernel?

Petko

PS: I've seen CONFIG_DISCONTIGMEM but it is not yet
implemented for MIPS and i am not sure if it is what
is required in this case.
-
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/