From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Becky Bruce <bgill@freescale.com>
Cc: sparclinux@vger.kernel.org, linuxppc-dev@ozlabs.org,
davem@davemloft.net, linux-kernel@vger.kernel.org
Subject: Re: [RFC/PATCH] [POWERPC] Make lmb support large physical addressing
Date: Thu, 14 Feb 2008 09:50:42 +1100 [thread overview]
Message-ID: <1202943042.7296.48.camel@pasglop> (raw)
In-Reply-To: <Pine.LNX.4.64.0802131639200.24317@monty.am.freescale.net>
On Wed, 2008-02-13 at 16:43 -0600, Becky Bruce wrote:
> Convert the lmb code to use phys_addr_t instead of unsigned long for
> physical addresses and sizes. This is needed to support large amounts
> of RAM on 32-bit systems that support 36-bit physical addressing.
>
> Built/booted on mpc8641; build tested on pasemi and 44x.
>
> Signed-off-by: Becky Bruce <becky.bruce@freescale.com>
> ---
> Folks,
>
> This has been sitting in my tree for a few days, and now it looks like
> David M. has submitted a patch that changes the lmb code to be shared
> between sparc and powerpc. Sparc has no notion of a phys_addr_t.
> Should we just use u64 everywhere in this code instead? Thoughts?
An option would be to use resource_size_t, though it's a bit yucky...
Dave, what do you prefer ?
Ben.
next prev parent reply other threads:[~2008-02-13 22:51 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-13 22:43 [RFC/PATCH] [POWERPC] Make lmb support large physical addressing Becky Bruce
2008-02-13 22:50 ` Benjamin Herrenschmidt [this message]
2008-02-13 23:18 ` David Miller
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=1202943042.7296.48.camel@pasglop \
--to=benh@kernel.crashing.org \
--cc=bgill@freescale.com \
--cc=davem@davemloft.net \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@ozlabs.org \
--cc=sparclinux@vger.kernel.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 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).