From patchwork Fri Dec 13 11:55:57 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: panchaxari X-Patchwork-Id: 22323 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-oa0-f71.google.com (mail-oa0-f71.google.com [209.85.219.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id BB640202E2 for ; Fri, 13 Dec 2013 11:56:21 +0000 (UTC) Received: by mail-oa0-f71.google.com with SMTP id i4sf6558063oah.10 for ; Fri, 13 Dec 2013 03:56:20 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=WI89EItXPj3TOlsfku4W+6dH3sS9G0Adwr2kgyf7Bh0=; b=iM/egTaCSPSz3lVmSzk1kv9HcgIFtyXCeqEofaGeBq7z23sU2IUKePRV2HlJpwlJUU QCYT77GB/Yx76CRyKTE9gLseiZQOO8I5QdLsYiy6b2L/AEm5xeflO6RihRJCvcf9UQFR kKijIIGCBhJ/1FTz+TqC5pooaOzerCjPv/ug2FZwbrmTZn6JGqx4pNsavOpPOR9UzzZv F7+MMlaFf4RRgBzXkUi1TEjoax239zgmjOVZmP7kZhc45wZIyiDgyDxKvhepMrLtKldX R0nYoswzJvjFwFId4JAwPUbnMYewqacOM5d2OlO1pfqzQ4cp6Qx6BORyd/Mhdp7eYoCN UQRQ== X-Gm-Message-State: ALoCoQng9vaJ8HgklwmPO2aYcA5ujEHzutli7nfk1qsa5POfhtR+2rqemrCryK0RsLC6RThnLLmY X-Received: by 10.43.78.135 with SMTP id zm7mr597293icb.27.1386935780633; Fri, 13 Dec 2013 03:56:20 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.3.165 with SMTP id d5ls950556qed.77.gmail; Fri, 13 Dec 2013 03:56:20 -0800 (PST) X-Received: by 10.58.145.200 with SMTP id sw8mr181376veb.68.1386935780545; Fri, 13 Dec 2013 03:56:20 -0800 (PST) Received: from mail-ve0-f176.google.com (mail-ve0-f176.google.com [209.85.128.176]) by mx.google.com with ESMTPS id uh5si645167vcb.127.2013.12.13.03.56.20 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 13 Dec 2013 03:56:20 -0800 (PST) Received-SPF: neutral (google.com: 209.85.128.176 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.176; Received: by mail-ve0-f176.google.com with SMTP id oz11so1265079veb.7 for ; Fri, 13 Dec 2013 03:56:20 -0800 (PST) X-Received: by 10.58.154.6 with SMTP id vk6mr546476veb.61.1386935780436; Fri, 13 Dec 2013 03:56:20 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.174.196 with SMTP id u4csp30954vcz; Fri, 13 Dec 2013 03:56:19 -0800 (PST) X-Received: by 10.66.158.99 with SMTP id wt3mr2596315pab.113.1386935778889; Fri, 13 Dec 2013 03:56:18 -0800 (PST) Received: from mail-pd0-f181.google.com (mail-pd0-f181.google.com [209.85.192.181]) by mx.google.com with ESMTPS id vv1si1223503pbb.149.2013.12.13.03.56.18 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 13 Dec 2013 03:56:18 -0800 (PST) Received-SPF: neutral (google.com: 209.85.192.181 is neither permitted nor denied by best guess record for domain of panchaxari.prasannamurthy@linaro.org) client-ip=209.85.192.181; Received: by mail-pd0-f181.google.com with SMTP id p10so2374901pdj.40 for ; Fri, 13 Dec 2013 03:56:18 -0800 (PST) X-Received: by 10.68.190.33 with SMTP id gn1mr2870261pbc.48.1386935778369; Fri, 13 Dec 2013 03:56:18 -0800 (PST) Received: from si-panchaxari.LGE.NET ([203.247.149.152]) by mx.google.com with ESMTPSA id oa3sm4373321pbb.15.2013.12.13.03.56.12 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 13 Dec 2013 03:56:17 -0800 (PST) From: panchaxari To: tomasz.figa@gmail.com Cc: patches@linaro.org, linaro-kernel@lists.linaro.org, panchaxari.prasannamurthy@linaro.org, Mark Brown , Ben Dooks , Kukjin Kim , Russell King , Linus Walleij , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH CFT] ARM:S3C64XX: Enable ARM_PATCH_PHYS_VIRT and AUTO_ZRELADDR by default Date: Fri, 13 Dec 2013 17:25:57 +0530 Message-Id: <1386935757-24125-1-git-send-email-panchaxari.prasannamurthy@linaro.org> X-Mailer: git-send-email 1.7.10.4 X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: panchaxari.prasannamurthy@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.176 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Configs ARM_PATCH_PHYS_VIRT and AUTO_ZRELADDR are enabled as default to S3C64XX platform Introduction of PHYS_VIRT config as default would enable phy-to-virt and virt-to-phy translation function at boot and module loading time and enforce dynamic reallocation of memory. AUTO_ZRELADDR config would enable calculation of kernel load address at run time. PHYS_VIRT config is mutually exclusive to XIP_KERNEL, XIP_KERNEL is used in systems with NOR flash devices, and ZRELADDR config is mutually exclusive to ZBOOT_ROM. CFT::Call For Testing Requesting maintainers of S3C64XX platforms to evaluate the changes on the board and comment, as I dont have the board for testing and also requesting an ACK the changes. Signed-off-by: panchaxari Cc: Mark Brown Cc: Tomasz Figa Cc: Ben Dooks Cc: Kukjin Kim Cc: Russell King Cc: Linus Walleij Cc: linux-arm-kernel@lists.infradead.org Cc: linux-samsung-soc@vger.kernel.org Cc: linux-kernel@vger.kernel.org --- This is basically a Samsung SOC with ARM1176JZF-S instruction set, and has an operating frquency of 667MHz, it also has 64bit AXI bus. It supports WinCE, Linux, Android and Ubuntu. This platform has two variants of CPU, S3C6400 and S3C6410. This SOC is an Integrated system for Mobile Internet Device, Notebook, handheld/3G mobile devices. Supports various types of ROM for booting (NOR/NAND Flash, OneNand, SD-card and others). Below lkml link is a quoting by Russell which clears the 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 7c6247b..ec1faea 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -731,7 +731,9 @@ config ARCH_S3C64XX bool "Samsung S3C64XX" select ARCH_HAS_CPUFREQ select ARCH_REQUIRE_GPIOLIB + select ARM_PATCH_PHYS_VIRT select ARM_VIC + select AUTO_ZRELADDR select CLKDEV_LOOKUP select CLKSRC_SAMSUNG_PWM select COMMON_CLK