From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Rick Ramstetter <rick.ramstetter@gmail.com>
Cc: linuxppc-dev@lists.ozlabs.org
Subject: Re: Where are logical memory block regions setup?
Date: Tue, 27 Jul 2010 19:28:58 +1000 [thread overview]
Message-ID: <1280222938.1970.200.camel@pasglop> (raw)
In-Reply-To: <AANLkTi=mAZOuyC4GmSUnk8d5gHs3N0NC2dhUH0K3jwUM@mail.gmail.com>
On Mon, 2010-07-26 at 22:52 -0400, Rick Ramstetter wrote:
> Hi all,
>
> Where can I find the code that sets values in lmb.reserved.region[i]?
> This is in reference to 2.6.27's arch/powerpc/mm/mem.c and
> include/linux/lmb.h
>
> I'm looking specifically for code that sets lmb_region's region.size
> and region.base.
They come from the reserve map in the device-tree, plus possible
additional calls to lmb_reserve. Do a grep -r lmb_reserve arch/powerpc
and you should find it all.
Cheers,
Ben.
prev parent reply other threads:[~2010-07-27 9:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-27 2:52 Where are logical memory block regions setup? Rick Ramstetter
2010-07-27 9:28 ` Benjamin Herrenschmidt [this message]
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=1280222938.1970.200.camel@pasglop \
--to=benh@kernel.crashing.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=rick.ramstetter@gmail.com \
/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 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).