All of lore.kernel.org
 help / color / mirror / Atom feed
* ep93xx: status/future of the sparsemem support
@ 2011-05-29 13:06 Petr Štetiar
  2011-05-29 22:35 ` Russell King - ARM Linux
  2011-05-31 18:23 ` H Hartley Sweeten
  0 siblings, 2 replies; 5+ messages in thread
From: Petr Štetiar @ 2011-05-29 13:06 UTC (permalink / raw)
  To: linux-arm-kernel

Hi all,

I would like to ask about the status or plans for the sparsemem support on the
ep93xx. I'm mainly talking about the ts72xx here as I don't have any other
boards, but it seems, that sparsemem is the must for the boards with more then
one memory bank. Or it's not true?

For example, right now, I'm trying to get the recent kernel working on the
ts-7300 with the 128MB RAM (two 64MB memory chips, 16 banks, 8MB each,
first 8 at 0x0000000-0x7000000, second one at 0xe0000000-0e7000000) and as you
might guess, it's unusable with flatmem (and it looks like the discontig mem
is now gone for ARM if I'm not mistaken):

	[..snip..]

	Ignoring RAM at e0000000-e07fffff (vmalloc region overlap).
	Ignoring RAM at e1000000-e17fffff (vmalloc region overlap).
	Ignoring RAM at e2000000-e27fffff (vmalloc region overlap).
	Ignoring RAM at e3000000-e37fffff (vmalloc region overlap).
	Ignoring RAM at e4000000-e47fffff (vmalloc region overlap).
	Ignoring RAM at e5000000-e57fffff (vmalloc region overlap).
	Ignoring RAM at e6000000-e67fffff (vmalloc region overlap).
	Ignoring RAM at e7000000-e77fffff (vmalloc region overlap).

	[..snip..]

	Memory: 8MB 8MB 8MB 8MB 8MB 8MB 8MB 8MB 8MB 8MB 8MB 8MB 8MB 8MB 8MB 8MB = 128MB total
	Memory: 62076k/62076k available, 3460k reserved, 0K highmem
                ^
                |__ note, just lower 64MB available

	Virtual kernel memory layout:
	    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
	    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
	    DMA     : 0xffc00000 - 0xffe00000   (   2 MB)
	    vmalloc : 0xc8000000 - 0xfe800000   ( 872 MB)
	    lowmem  : 0xc0000000 - 0xc7800000   ( 120 MB)

If I apply the sparsemem patch as suggested here[1] it seems to work (well it
boots):

	Memory: 8MB 8MB 8MB 8MB 8MB 8MB 8MB 8MB 8MB 8MB 8MB 8MB 8MB 8MB 8MB 8MB = 128MB total
	Memory: 127052k/127052k available, 4020k reserved, 0K highmem
	Virtual kernel memory layout:
	    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
	    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
	    DMA     : 0xffc00000 - 0xffe00000   (   2 MB)
	    vmalloc : 0xd0000000 - 0xfe800000   ( 744 MB)
	    lowmem  : 0xc0000000 - 0xcf800000   ( 248 MB)

The question is, what's the problem with the sparsemem patch[1] for ep93xx,
that it's not yet in the mainline? Nobody needed it yet? :-) If it's that the
case, I could submit it, no problem. I don't follow this mailing list and
development on the ep93xx regularly, so I might have missed some important
detail. Thank you for any pointers.

1. http://marc.info/?l=linux-arm&m=122754446724900

-- ynezz

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-06-02  6:59 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-29 13:06 ep93xx: status/future of the sparsemem support Petr Štetiar
2011-05-29 22:35 ` Russell King - ARM Linux
2011-05-30  7:02   ` Petr Štetiar
2011-05-31 18:23 ` H Hartley Sweeten
2011-06-02  6:59   ` Petr Štetiar

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.