mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH CFT] ARM:EP93XX: Enable ARM_PATCH_PHYS_VIRT and AUTO_ZRELADDR by default
@ 2014-01-09  9:19 panchaxari
  2014-01-09 10:03 ` Russell King - ARM Linux
  0 siblings, 1 reply; 2+ messages in thread
From: panchaxari @ 2014-01-09  9:19 UTC (permalink / raw)
  To: hsweeten
  Cc: patches, linaro-kernel, panchaxari.prasannamurthy, Ryan Mallon,
	Linus Walleij, Russell King, linux-arm-kernel, linux-kernel

This patch enables ARM_PATCH_PHYS_VIRT and AUTO_ZRELADDR as default configs
to EP93XX platforms from Cirrus.

Introduction of PHYS_VIRT config as default config enables phy-to-virt and
virt-to-phy translation functions at boot and module loading time, and enforce
dynamic reallocation of memory. PHYS_VIRT config is mutually exclusive to
XIP_KERNEL, XIP_KERNEL is used in systems with NOR flash devices.

AUTO_ZRELADDR config enables auto calculation of the decompressed kernel image
address. AUTO_ZRELADDR config is mutually exclusive to ZBOOT_ROM, and also
assumes zImage to be loaded in the first 128MiB from start of memory.

CFT::Call For Testing

Requesting maintainers of EP93XX platform to evaluate the changes on the
board and comment, as I dont have the board for testing and also requesting
an ACK.

Signed-off-by: panchaxari <panchaxari.prasannamurthy@linaro.org>
Cc: Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ryan Mallon <rmallon@gmail.com>
Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-kernel@vger.kernel.org
---
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

-------------------------------------------------
---
 arch/arm/Kconfig |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 3501362..077ef9d 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -420,10 +420,12 @@ config ARCH_EBSA110
 config ARCH_EP93XX
 	bool "EP93xx-based"
 	select ARCH_HAS_HOLES_MEMORYMODEL
+	select ARCH_PATCH_PHYS_VIRT
 	select ARCH_REQUIRE_GPIOLIB
 	select ARCH_USES_GETTIMEOFFSET
 	select ARM_AMBA
 	select ARM_VIC
+	select AUTO_ZRELADDR
 	select CLKDEV_LOOKUP
 	select CPU_ARM920T
 	select NEED_MACH_MEMORY_H
-- 
1.7.10.4


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH CFT] ARM:EP93XX: Enable ARM_PATCH_PHYS_VIRT and AUTO_ZRELADDR by default
  2014-01-09  9:19 [PATCH CFT] ARM:EP93XX: Enable ARM_PATCH_PHYS_VIRT and AUTO_ZRELADDR by default panchaxari
@ 2014-01-09 10:03 ` Russell King - ARM Linux
  0 siblings, 0 replies; 2+ messages in thread
From: Russell King - ARM Linux @ 2014-01-09 10:03 UTC (permalink / raw)
  To: panchaxari
  Cc: hsweeten, patches, linaro-kernel, Ryan Mallon, Linus Walleij,
	linux-arm-kernel, linux-kernel

On Thu, Jan 09, 2014 at 02:49:24PM +0530, panchaxari wrote:
> This patch enables ARM_PATCH_PHYS_VIRT and AUTO_ZRELADDR as default configs
> to EP93XX platforms from Cirrus.

NAK.

-- 
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".

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-01-09 10:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-09  9:19 [PATCH CFT] ARM:EP93XX: Enable ARM_PATCH_PHYS_VIRT and AUTO_ZRELADDR by default panchaxari
2014-01-09 10:03 ` Russell King - ARM Linux

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®