From patchwork Thu Jan 9 06:19:42 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: panchaxari X-Patchwork-Id: 22994 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ve0-f199.google.com (mail-ve0-f199.google.com [209.85.128.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id C1FCC204BC for ; Thu, 9 Jan 2014 06:20:08 +0000 (UTC) Received: by mail-ve0-f199.google.com with SMTP id c14sf4351307vea.6 for ; Wed, 08 Jan 2014 22:20:07 -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=ALkMFePGlqg8Rr/2XJS3sBvDpYMzta49P9v1P7zV9i4=; b=SpWYpOaF5Y9q17BRhvPycbJi87PVhWU8aQKEUqPi1WIiayakF+WCZrA7Ut47vBFWds LgB3qDklov6/CH6E2jJLmnfVLOAMNjMUzSCarUi27KVmqUIPo+ZS4DNIj5jaU+9PkfCS +uwiYHKUbdtlobIfWhckYt77z9oCGZwMRSPVsCBBgLiohOhr6eA0rAjNmPcXPOvH9TPc uYLQrN5uNnHPYGIL9UBkF87XfA2mz0dM4Q5SQtjDudkTle8vTOeiAzQ+qVplNWW9FRsZ IwZuWUVKm6kHNkCqWJD+MAVLRIwClqwD2l4riELCk+TZ7rHt2CTAXxpJFTQGzNPryLeJ dT9A== X-Gm-Message-State: ALoCoQlH/fpBmGltEDBy+ZkUZVPJ6VIocYTTdBz39RVx1gCigSQvLSTTFfv77dEfegaQ6aZqMlyh X-Received: by 10.236.82.110 with SMTP id n74mr89194yhe.57.1389248407694; Wed, 08 Jan 2014 22:20:07 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.25.42 with SMTP id z10ls885375qef.63.gmail; Wed, 08 Jan 2014 22:20:07 -0800 (PST) X-Received: by 10.58.97.197 with SMTP id ec5mr29198veb.68.1389248407555; Wed, 08 Jan 2014 22:20:07 -0800 (PST) Received: from mail-ve0-f180.google.com (mail-ve0-f180.google.com [209.85.128.180]) by mx.google.com with ESMTPS id sg4si2160267vdc.1.2014.01.08.22.20.07 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 08 Jan 2014 22:20:07 -0800 (PST) Received-SPF: neutral (google.com: 209.85.128.180 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.180; Received: by mail-ve0-f180.google.com with SMTP id jz11so2092620veb.11 for ; Wed, 08 Jan 2014 22:20:07 -0800 (PST) X-Received: by 10.53.5.230 with SMTP id cp6mr153212vdd.65.1389248407434; Wed, 08 Jan 2014 22:20:07 -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.59.13.131 with SMTP id ey3csp272427ved; Wed, 8 Jan 2014 22:20:06 -0800 (PST) X-Received: by 10.68.201.10 with SMTP id jw10mr1657013pbc.25.1389248405401; Wed, 08 Jan 2014 22:20:05 -0800 (PST) Received: from mail-pb0-f42.google.com (mail-pb0-f42.google.com [209.85.160.42]) by mx.google.com with ESMTPS id t6si2877009pbg.35.2014.01.08.22.20.05 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 08 Jan 2014 22:20:05 -0800 (PST) Received-SPF: neutral (google.com: 209.85.160.42 is neither permitted nor denied by best guess record for domain of panchaxari.prasannamurthy@linaro.org) client-ip=209.85.160.42; Received: by mail-pb0-f42.google.com with SMTP id uo5so2610602pbc.29 for ; Wed, 08 Jan 2014 22:20:04 -0800 (PST) X-Received: by 10.66.222.234 with SMTP id qp10mr1664502pac.156.1389248404885; Wed, 08 Jan 2014 22:20:04 -0800 (PST) Received: from si-panchaxari.LGE.NET ([203.247.149.152]) by mx.google.com with ESMTPSA id ka3sm6997514pbc.32.2014.01.08.22.19.56 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 08 Jan 2014 22:20:04 -0800 (PST) From: panchaxari To: tixy@linaro.org Cc: patches@linaro.org, linaro-kernel@lists.linaro.org, panchaxari.prasannamurthy@linaro.org, Will Deacon , Pawel Moll , Russell King , Linus Walleij , Rob Herring , Arnd Bergmann , Nicolas Pitre , Peter Maydell , Santosh Shilimkar , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH CFT] ARM:VERSATILE: Enable ARM_PATCH_PHYS_VIRT and AUTO_ZRELADDR by default Date: Thu, 9 Jan 2014 11:49:42 +0530 Message-Id: <1389248382-5262-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.180 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: , This patch enables ARM_PATCH_PHYS_VIRT and AUTO_ZRELADDR as default configs to versatile platform. Introduction of PHYS_VIRT config as default 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 Versatile 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 Cc: Jon Medhurst (Tixy) Cc: Will Deacon Cc: Pawel Moll Cc: Russell King Cc: Linus Walleij Cc: Rob Herring Cc: Arnd Bergmann Cc: Nicolas Pitre Cc: Peter Maydell Cc: Santosh Shilimkar Cc: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org --- arch/arm/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 7f316c0..077ef9d 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -348,8 +348,10 @@ config ARCH_VERSATILE bool "ARM Ltd. Versatile family" select ARCH_WANT_OPTIONAL_GPIOLIB select ARM_AMBA + select ARM_PATCH_PHYS_VIRT select ARM_TIMER_SP804 select ARM_VIC + select AUTO_ZRELADDR select CLKDEV_LOOKUP select GENERIC_CLOCKEVENTS select HAVE_MACH_CLKDEV