All of lore.kernel.org
 help / color / mirror / Atom feed
From: arnd@arndb.de (Arnd Bergmann)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] scripts/link-vmlinux.sh: correct base address for some ARM special cases
Date: Wed, 26 Feb 2014 15:18:47 +0100	[thread overview]
Message-ID: <6893985.cs1CmCRdfV@wuerfel> (raw)
In-Reply-To: <5208155.7cW2odY371@wuerfel>

On Wednesday 26 February 2014 15:16:40 Arnd Bergmann wrote:
> On Wednesday 26 February 2014 15:06:32 Uwe Kleine-K?nig wrote:
> > > It's more to the point.  The first hunk hides the "Memory split" option
> > > which is irrelevent on !MMU.  We already know that PAGE_OFFSET should
> > > be the same as PHYS_OFFSET for noMMU, so let's make that explicit.
> > > Note that it already is by way of the bit in the last hunk - which as
> > > a result of this change can now be removed... especially so as we have
> > > nothing defining PAGE_OFFSET in arch/arm/*/include...
> >
> > Looks reasonable. Maybe we can also get rid of PLAT_PHYS_OFFSET then.
> 
> I think we still need PLAT_PHYS_OFFSET for the configurations that cannot
> use ARM_PATCH_PHYS_VIRT, which are:
> 
> * Anything using XIP_KERNEL with MMU=y
> * mach-realview with the custom __phys_to_virt hack
> * ZBOOT_ROM

Ah, nevermind. We need either PLAT_PHYS_OFFSET /or/ CONFIG_PHYS_OFFSET
for these case, but we could in theory drop the former.

	Arnd

  reply	other threads:[~2014-02-26 14:18 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-26 11:11 [PATCH] scripts/link-vmlinux.sh: correct base address for some ARM special cases Uwe Kleine-König
2014-02-26 11:15 ` Russell King - ARM Linux
2014-02-26 13:46   ` Uwe Kleine-König
2014-02-26 13:53     ` Russell King - ARM Linux
2014-02-26 14:02       ` Arnd Bergmann
2014-02-26 14:06       ` Uwe Kleine-König
2014-02-26 14:16         ` Arnd Bergmann
2014-02-26 14:18           ` Arnd Bergmann [this message]
2014-02-26 14:32         ` Russell King - ARM Linux

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=6893985.cs1CmCRdfV@wuerfel \
    --to=arnd@arndb.de \
    --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.