From: Russell King - ARM Linux <linux@arm.linux.org.uk>
To: panchaxari <panchaxari.prasannamurthy@linaro.org>
Cc: viresh.linux@gmail.com, patches@linaro.org,
linaro-kernel@lists.linaro.org, Will Deacon <will.deacon@arm.com>,
Pawel Moll <Pawel.Moll@arm.com>,
Rob Herring <rob.herring@calxeda.com>,
Shawn Guo <shawn.guo@linaro.org>, Olof Johansson <olof@lixom.net>,
Linus Walleij <linus.walleij@linaro.org>,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH CFT] ARM:REALVIEW: Enable AUTO_ZRELADDR by default
Date: Thu, 9 Jan 2014 10:02:38 +0000 [thread overview]
Message-ID: <20140109100238.GW27432@n2100.arm.linux.org.uk> (raw)
In-Reply-To: <1389242654-3925-1-git-send-email-panchaxari.prasannamurthy@linaro.org>
On Thu, Jan 09, 2014 at 10:14:14AM +0530, panchaxari wrote:
> Below lkml link is a quoting by Russell, which explains more on concept of
> PHYS_VIRT and ZRELADDR
> -------------------------------------------------
>
> https://lkml.org/lkml/2011/10/14/434
>
> -------------------------------------------------
Okay, so you're just going around changing stuff, basing it on an old mail,
and not testing the results of it. Stop this please.
Note that the result of the above email was this:
commit c1becedc8871645278832fabdc6fe138082a495b
Author: Russell King <rmk+kernel@arm.linux.org.uk>
Date: Wed Aug 10 10:23:45 2011 +0100
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.
Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 5ebc5d922ea1..8882a535cf44 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -195,7 +195,8 @@ config VECTORS_BASE
The base address of exception vectors.
config ARM_PATCH_PHYS_VIRT
- bool "Patch physical to virtual translations at runtime"
+ bool "Patch physical to virtual translations at runtime" if EMBEDDED
+ default y
depends on !XIP_KERNEL && MMU
depends on !ARCH_REALVIEW || !SPARSEMEM
help
@@ -207,6 +208,10 @@ config ARM_PATCH_PHYS_VIRT
of physical memory is at a 16MB boundary, or theoretically 64K
for the MSM machine class.
+ Only disable this option if you know that 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.
which means that ARM_PATCH_PHYS_VIRT is enabled for virtually everything
unless you decide that you want to enable EMBEDDED mode, in which case
you get the chance to manually disable it.
In fact, all those select ARM_PATCH_PHYS_VIRT are wrong, and add reverse
dependencies that make maintanence of the Kconfig harder. I'd rather kill
all those select statements rather than introduce yet more of them.
Hence, all your recent patches adding "select ARM_PATCH_PHYS_VIRT" I say
a very strong NAK to.
--
FTTC broadband for 0.8mile line: 5.8Mbps down 500kbps up. Estimation
in database were 13.1 to 19Mbit for a good line, about 7.5+ for a bad.
Estimate before purchase was "up to 13.2Mbit".
prev parent reply other threads:[~2014-01-09 10:03 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-09 4:44 panchaxari
2014-01-09 10:02 ` Russell King - ARM Linux [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=20140109100238.GW27432@n2100.arm.linux.org.uk \
--to=linux@arm.linux.org.uk \
--cc=Pawel.Moll@arm.com \
--cc=linaro-kernel@lists.linaro.org \
--cc=linus.walleij@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=olof@lixom.net \
--cc=panchaxari.prasannamurthy@linaro.org \
--cc=patches@linaro.org \
--cc=rob.herring@calxeda.com \
--cc=shawn.guo@linaro.org \
--cc=viresh.linux@gmail.com \
--cc=will.deacon@arm.com \
/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
all inboxes | Powered by JetHome®