From: catalin.marinas@arm.com (Catalin Marinas)
To: linux-arm-kernel@lists.infradead.org
Subject: Porting the 2.6.38 linux kernel to ARM11 MPcore
Date: Wed, 23 Nov 2011 14:32:31 +0000 [thread overview]
Message-ID: <20111123143231.GA9148@arm.com> (raw)
In-Reply-To: <CAK-0apbxgJj6JHXOCaLf0tPgw3nPrBRnkYB23-brsRmdbBLz5g@mail.gmail.com>
On Wed, Nov 23, 2011 at 02:14:06PM +0000, Moln?r G?bor wrote:
> > Does your physical RAM start at 0xc0000000 and it is all ignored?
> > Setting highmem would fix as all your lowmem (including the kernel
> > code) would be unmapped, hence the fault. What's the VMALLOC_END
> > defined to?
>
> #define VMALLOC_END 0xf8000000
>
> For the platform i use. The size of vmalloc is the default (128MB).
>
> If HIGHMEM is not set, this area is executed:
>
> >/*
> >792 * Check whether this memory bank would entirely overlap
> >793 * the vmalloc area.
> >794 */
> >795 if (__va(bank->start) >= vmalloc_min ||
> >796 __va(bank->start) < (void *)PAGE_OFFSET) {
> >797 printk(KERN_NOTICE "Ignoring RAM at %.8lx-%.8lx "
> >798 "(vmalloc region overlap).\n",
> >799 bank->start, bank->start + bank->size - 1);
> >800 continue;
> >801 }
>
> static void * __initdata vmalloc_min = (void *)(VMALLOC_END - SZ_128M);
>
> The kernel is loaded on the phisical address: 0xc0000000-0xc05000000.
> (This region is given as atag_mem as well).
>
> At the current configuration i believe vmalloc should be at
> 0xF0000000-0xF8000000.
>
> Why does this overlap with 0xC0000000-0xC0500000?
So it doesn't, in which case you may want to place some printk's in the
kernel around the message reporting that your block of RAM is ignored.
--
Catalin
next prev parent reply other threads:[~2011-11-23 14:32 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-18 11:54 Porting the 2.6.38 linux kernel to ARM11 MPcore Molnár Gábor
2011-11-21 13:18 ` Catalin Marinas
2011-11-22 0:01 ` Molnár Gábor
2011-11-23 14:14 ` Molnár Gábor
2011-11-23 14:32 ` Catalin Marinas [this message]
2011-11-23 17:51 ` Arnd Bergmann
2011-11-25 11:34 ` Molnár Gábor
2011-11-23 17:51 ` Russell King - ARM Linux
2011-11-25 11:35 ` Molnár Gábor
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20111123143231.GA9148@arm.com \
--to=catalin.marinas@arm.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.