discontig physical memory

From: Petko Manolov (pmanolov@Lnxw.COM)
Date: Mon Oct 08 2001 - 17:54:30 EST


        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/



This archive was generated by hypermail 2b29 : Mon Oct 15 2001 - 21:00:21 EST