From: will.deacon@arm.com (Will Deacon)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2] arm: Handle >4GB memory sizes in device tree and mem=size@start option
Date: Thu, 12 Jul 2012 17:36:24 +0100 [thread overview]
Message-ID: <20120712163624.GP2816@mudshark.cambridge.arm.com> (raw)
In-Reply-To: <1341999588-32544-1-git-send-email-peter.maydell@linaro.org>
On Wed, Jul 11, 2012 at 10:39:48AM +0100, Peter Maydell wrote:
> The memory regions which are passed to arm_add_memory() from
> device tree blobs via early_init_dt_add_memory_arch() can
> have sizes which are larger than will fit in a 32 bit integer,
> so switch to using a phys_addr_t to hold them, to avoid
> silently dropping the top 32 bits of the size. Similarly, use
> phys_addr_t in early_mem() so that mem=size at start command line
> options specifying more than 4GB behave sensibly.
>
> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
> ---
> Changes v1->v2:
> * fixed spacing round '-'
> * made early_mem() handle large sizes too
Acked-by: Will Deacon <will.deacon@arm.com>
Please can you put this into the patch system?
Will
prev parent reply other threads:[~2012-07-12 16:36 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-11 9:39 [PATCH v2] arm: Handle >4GB memory sizes in device tree and mem=size@start option Peter Maydell
2012-07-12 16:36 ` Will Deacon [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=20120712163624.GP2816@mudshark.cambridge.arm.com \
--to=will.deacon@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 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).