From: linux@arm.linux.org.uk (Russell King - ARM Linux)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/4] ARM: make PHYS_OFFSET actually variable
Date: Tue, 4 Jan 2011 12:30:49 +0000 [thread overview]
Message-ID: <20110104123049.GC16671@n2100.arm.linux.org.uk> (raw)
In-Reply-To: <1294129208-15201-3-git-send-email-nico@fluxnic.net>
On Tue, Jan 04, 2011 at 03:20:06AM -0500, Nicolas Pitre wrote:
> diff --git a/arch/arm/kernel/setup.c b/arch/arm/kernel/setup.c
> index 336f14e..7502bc1 100644
> --- a/arch/arm/kernel/setup.c
> +++ b/arch/arm/kernel/setup.c
> @@ -703,8 +703,10 @@ static struct init_tags {
> } init_tags __initdata = {
> { tag_size(tag_core), ATAG_CORE },
> { 1, PAGE_SIZE, 0xff },
> +#ifndef CONFIG_ARM_PATCH_PHYS_VIRT
> { tag_size(tag_mem32), ATAG_MEM },
> { MEM_SIZE, PHYS_OFFSET },
> +#endif
Removing the definition is not really on - it's there as a fallback and
removing fallbacks is not a good idea unless you can prove beyond doubt
that it'll never be used.
As that depends on the boot loader, it's something that can never be
proven. So, arrange for it to be initialized at runtime, just like I
will be doing in my revised version I'm working on which I detailed in
a previous email.
next prev parent reply other threads:[~2011-01-04 12:30 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-04 8:20 [PATCH 0/4] variable PHYS_OFFSET support Nicolas Pitre
2011-01-04 8:20 ` [PATCH 1/4] ARM: runtime patching of __virt_to_phys() and __phys_to_virt() Nicolas Pitre
2011-01-04 8:45 ` Russell King - ARM Linux
2011-01-04 14:32 ` Nicolas Pitre
2011-01-04 16:53 ` Russell King - ARM Linux
2011-01-04 17:50 ` Nicolas Pitre
2011-01-04 18:06 ` Russell King - ARM Linux
2011-01-04 18:25 ` David Brown
2011-01-04 18:33 ` Nicolas Pitre
2011-01-04 19:00 ` David Brown
2011-01-04 20:17 ` Russell King - ARM Linux
2011-01-04 18:29 ` Nicolas Pitre
2011-01-04 8:20 ` [PATCH 2/4] ARM: make PHYS_OFFSET actually variable Nicolas Pitre
2011-01-04 12:30 ` Russell King - ARM Linux [this message]
2011-01-04 17:54 ` Nicolas Pitre
2011-01-04 8:20 ` [PATCH 3/4] ARM: module support for CONFIG_ARM_PATCH_PHYS_VIRT Nicolas Pitre
2011-01-04 10:06 ` Russell King - ARM Linux
2011-01-04 8:20 ` [PATCH 4/4] ARM: support for Thumb-2 instructions with CONFIG_ARM_PATCH_PHYS_VIRT Nicolas Pitre
2011-01-10 22:20 ` Dave Martin
2011-01-10 22:45 ` Nicolas Pitre
2011-01-10 23:24 ` Russell King - ARM Linux
2011-01-10 23:57 ` Nicolas Pitre
2011-01-04 10:41 ` [PATCH 0/4] variable PHYS_OFFSET support Russell King - ARM Linux
2011-01-04 14:37 ` Nicolas Pitre
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=20110104123049.GC16671@n2100.arm.linux.org.uk \
--to=linux@arm.linux.org.uk \
--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).