From: linux@arm.linux.org.uk (Russell King - ARM Linux)
To: linux-arm-kernel@lists.infradead.org
Subject: Enabling runtime P2V by default (Re: [PATCH 3/5] mach-u300: patch physoffset by default)
Date: Thu, 11 Aug 2011 09:37:17 +0100 [thread overview]
Message-ID: <20110811083717.GD4775@n2100.arm.linux.org.uk> (raw)
In-Reply-To: <20110811083244.GB3220@sapphire.tkos.co.il>
On Thu, Aug 11, 2011 at 11:32:44AM +0300, Baruch Siach wrote:
> Hi Russell,
>
> On Thu, Aug 11, 2011 at 09:24:13AM +0100, Russell King - ARM Linux wrote:
> > On Wed, Aug 10, 2011 at 10:29:55AM +0100, Russell King - ARM Linux wrote:
> > > On Wed, Aug 10, 2011 at 10:22:06AM +0100, Will Deacon wrote:
> > > > On Wed, Aug 10, 2011 at 10:16:35AM +0100, Russell King - ARM Linux wrote:
> > > > > On Tue, Aug 09, 2011 at 09:41:38PM +0200, Linus Walleij wrote:
> > > > > > From: Linus Walleij <linus.walleij@linaro.org>
> > > > > >
> > > > > > This works like a charm so I'll just default-select it.
> > > > >
> > > > > Well, we can remove the EXPERIMENTAL status of this option now. This
> > > > > raises the question is whether we should now default it to 'y' - I
> > > > > think we should. Anyone have any objections?
> > > >
> > > > I've been running with this option enabled for the collection of ARM boards
> > > > I have and the only problem I have encountered was related to u-boot loading
> > > > at the wrong address.
> > > >
> > > > So I'm all for enabling it by default, especially since it will force out
> > > > any remaining issues for boards where this hasn't been used extensively.
> > >
> > > Maybe also making the option hidden depending on EXPERT, or even EMBEDDED
> > > would be a good idea too. I think it falls into at least the same class
> > > as UID16, sysctl, hotplug, printk, etc. which are all EXPERT options.
> >
> > Right, I'm now committing a patch to hide the option unless EMBEDDED
> > is enabled. I think this means we should get rid of the 'select
> > ARM_PATCH_PHYS_VIRT' statements from the various platforms, so that
> > folk can optimize away that code if they know what they're doing.
> >
> > Note: this patch will conflict with the removal of the 16-bit P2V
> > patching, so we need to sort that out.
> >
> > 8<---------
> > From: Russell King - ARM Linux <linux@arm.linux.org.uk>
> > ARM: enable ARM_PATCH_PHYS_VIRT by default
> >
> > Enable virtual to physical translation patching by default in all
> > kernels. Hide the option behind EMBEDDED.
> >
> > This can still be turned off if people desire, and they know what
> > they're doing, to shrink the size of the kernel to a minimum.
> >
> > Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
>
> [snip]
>
> > + Only disable this option if you know what you do not require
> > + this feature (eg, building a kernel for a single machine) and
> > + you need to shrink the kernel to the minimal size.
>
> The word 'what' in this statement looks redundant.
Should be 'that'.
next prev parent reply other threads:[~2011-08-11 8:37 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-09 19:41 [PATCH 3/5] mach-u300: patch physoffset by default Linus Walleij
2011-08-10 9:16 ` Enabling runtime P2V by default (Re: [PATCH 3/5] mach-u300: patch physoffset by default) Russell King - ARM Linux
2011-08-10 9:22 ` Will Deacon
2011-08-10 9:29 ` Russell King - ARM Linux
2011-08-11 8:24 ` Russell King - ARM Linux
2011-08-11 8:32 ` Baruch Siach
2011-08-11 8:37 ` Russell King - ARM Linux [this message]
2011-08-11 8:46 ` Will Deacon
2011-08-11 17:52 ` Jean-Christophe PLAGNIOL-VILLARD
2011-08-15 23:20 ` Nicolas Pitre
2012-02-06 22:31 ` [regression] Re: Enabling runtime P2V by default Jonathan Nieder
2012-02-06 23:16 ` Nicolas Pitre
2012-02-06 23:23 ` Jonathan Nieder
2012-02-09 6:34 ` Ian Campbell
2011-08-10 9:40 ` Enabling runtime P2V by default (Re: [PATCH 3/5] mach-u300: patch physoffset by default) Linus Walleij
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=20110811083717.GD4775@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).