linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Max RAM for Linux only 1GB?
@ 2003-10-31 16:58 Prakash Kanthi
  2003-10-31 17:28 ` John Whitney
  2003-10-31 18:25 ` Matt Porter
  0 siblings, 2 replies; 3+ messages in thread
From: Prakash Kanthi @ 2003-10-31 16:58 UTC (permalink / raw)
  To: linuxppc-embedded


Folks,

I have over 1GB DIMM RAM on my board running PPC 405.
How can i ioremap that to my OS? As Linux virtual
space starts at 0xC0000000, we have only 1GB more for
all virtual space mappings.

Even if i move 0xC0000000 to 0x80000000, what will
happen to TLB settings? Any problem there to map 1GB
additional RAM?

Any idea as to how i can do this?

Thanks,
Prakash


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

* Re: Max RAM for Linux only 1GB?
  2003-10-31 16:58 Max RAM for Linux only 1GB? Prakash Kanthi
@ 2003-10-31 17:28 ` John Whitney
  2003-10-31 18:25 ` Matt Porter
  1 sibling, 0 replies; 3+ messages in thread
From: John Whitney @ 2003-10-31 17:28 UTC (permalink / raw)
  To: Prakash Kanthi, Mailing List: linuxppc-embedded


Prakash,

The easiest route it to turn on highmem support (CONFIG_HIGHMEM).  As far as
I know, this does work for the PowerPC.  My understanding is that the kernel
doesn't directly use this memory, but will allow user-space programs to use
it (mapped into their memory space), which should in turn free up the memory
the kernel DOES use.

I think you'll need to start playing with the kernel start address if you
want the kernel to benefit directly from the additional memory.  I know this
has been done successfully to 0xA0000000, not sure about all the way down to
0x80000000 (but I can't think of why it wouldn't off the top of my head).

John

On 10/31/03 11:58 AM, "Prakash Kanthi" <pkanthi@yahoo.com> wrote:

>
> Folks,
>
> I have over 1GB DIMM RAM on my board running PPC 405.
> How can i ioremap that to my OS? As Linux virtual
> space starts at 0xC0000000, we have only 1GB more for
> all virtual space mappings.
>
> Even if i move 0xC0000000 to 0x80000000, what will
> happen to TLB settings? Any problem there to map 1GB
> additional RAM?
>
> Any idea as to how i can do this?
>
> Thanks,
> Prakash
>
>
>
>


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

* Re: Max RAM for Linux only 1GB?
  2003-10-31 16:58 Max RAM for Linux only 1GB? Prakash Kanthi
  2003-10-31 17:28 ` John Whitney
@ 2003-10-31 18:25 ` Matt Porter
  1 sibling, 0 replies; 3+ messages in thread
From: Matt Porter @ 2003-10-31 18:25 UTC (permalink / raw)
  To: Prakash Kanthi; +Cc: linuxppc-embedded


On Fri, Oct 31, 2003 at 08:58:21AM -0800, Prakash Kanthi wrote:
>
> Folks,
>
> I have over 1GB DIMM RAM on my board running PPC 405.
> How can i ioremap that to my OS? As Linux virtual
> space starts at 0xC0000000, we have only 1GB more for
> all virtual space mappings.
>
> Even if i move 0xC0000000 to 0x80000000, what will
> happen to TLB settings? Any problem there to map 1GB
> additional RAM?
>
> Any idea as to how i can do this?

Use CONFIG_HIGHMEM or move KERNELBASE like you suggest.

You don't ioremap your system memory (well, under normal
conditions).

-Matt

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

end of thread, other threads:[~2003-10-31 18:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-31 16:58 Max RAM for Linux only 1GB? Prakash Kanthi
2003-10-31 17:28 ` John Whitney
2003-10-31 18:25 ` Matt Porter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).