linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: nico@fluxnic.net (Nicolas Pitre)
To: linux-arm-kernel@lists.infradead.org
Subject: Building for MMU-less vexpress targets
Date: Tue, 06 Nov 2012 18:40:18 -0500 (EST)	[thread overview]
Message-ID: <alpine.LFD.2.02.1211061826090.21033@xanadu.home> (raw)
In-Reply-To: <20121106225105.GD10187@jl-vm1.vm.bytemark.co.uk>

On Tue, 6 Nov 2012, Jamie Lokier wrote:

> Nicolas Pitre wrote:
> > I really think that it makes no sense at all to support !MMU kernels in 
> > a multi-platform kernel build, even if the set of included platforms 
> > were all !MMU.  The kernel has to be linked for the physical address of 
> > the target and not a common invariant virtual address.
> 
> Although there's likely to be approximately zero interest in
> multi-platform !MMU, relocating at boot time doesn't sound onerous,
> should it be needed.  x86 kernels already do that.  Maybe ARM kernels
> will eventually do that anyway for the same reason as x86.

We already have something similar but simpler: CONFIG_ARM_PATCH_PHYS_VIRT.
Except that the virtual address the kernel is using always remains the 
same, even if the physical address can move.  Although this is not the 
case at the moment, the ARM kdump implementation could take advantage of 
this ability and avoid the copying of memory around.


Nicolas

  reply	other threads:[~2012-11-06 23:40 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-05 17:36 Building for MMU-less vexpress targets Will Deacon
2012-11-05 18:03 ` Pawel Moll
2012-11-05 18:13   ` Will Deacon
2012-11-05 19:08 ` Arnd Bergmann
2012-11-06 12:20   ` Will Deacon
2012-11-06 17:33     ` Arnd Bergmann
2012-11-06 18:34       ` Will Deacon
2012-11-06 20:35         ` Arnd Bergmann
2012-11-06 20:58       ` Nicolas Pitre
2012-11-06 21:14         ` Arnd Bergmann
2012-11-06 22:14           ` Russell King - ARM Linux
2012-11-06 22:59             ` Rob Herring
2012-11-07 12:59             ` Arnd Bergmann
2012-11-07 13:39               ` Russell King - ARM Linux
2012-11-06 23:14           ` Nicolas Pitre
2012-11-07 10:21             ` Will Deacon
2012-11-07 13:29             ` Arnd Bergmann
2013-01-08 19:01             ` Jonathan Austin
2013-01-08 19:11               ` Arnd Bergmann
2013-01-08 19:22                 ` Nicolas Pitre
2012-11-06 22:51         ` Jamie Lokier
2012-11-06 23:40           ` Nicolas Pitre [this message]
2012-11-06 23:46             ` Jamie Lokier

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=alpine.LFD.2.02.1211061826090.21033@xanadu.home \
    --to=nico@fluxnic.net \
    --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).