From patchwork Tue Apr 8 08:00:42 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Haojian Zhuang X-Patchwork-Id: 28037 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pd0-f197.google.com (mail-pd0-f197.google.com [209.85.192.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id BD21A20447 for ; Tue, 8 Apr 2014 19:02:12 +0000 (UTC) Received: by mail-pd0-f197.google.com with SMTP id fp1sf3827133pdb.8 for ; Tue, 08 Apr 2014 12:02:11 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:subject:date:message-id :in-reply-to:references:cc:precedence:list-id:list-unsubscribe :list-archive:list-post:list-help:list-subscribe:mime-version:sender :errors-to:x-original-sender:x-original-authentication-results :mailing-list:content-type:content-transfer-encoding; bh=XQUB2OlFwV7d4iSJ3sidh6Olky7XjDI3MLDoDul/Ob4=; b=CnZsSfrcgS2Rb+ocoin5kMC6tF3EPOx8Rr+Kqq0ZtPYBo6G3NhE12uLEazIS9LSnLS XsfbuRwJKlBpKfF/hVOAjRBuA7E2k9eGrG4DMJG9ZpjZvE92bH95ayk6KU0kPk1zSZyr rS28nSnGxdApOhGyyQ/mrYQda7Dffkh/NjGsFLgnqQHEtsG7UohYGrGiJkiNw7MoLE56 jeDmCE/MEQToUlPBxpFG/Ky763HPcD/xOb8XprdiOGwwS5Z665X1VTiCs52MO/ApGsJq S/884mFYMyCsflOlcDcW686vNI0H4DbFQ5eZkLpWb47WrSE0mXVtDWFSPS0q5irAVXFH 5BnA== X-Gm-Message-State: ALoCoQm6fFM6gNvNYZVN1znFeChaXs2ynjSMGeMUU3HpqCeDEA10R/V36LsHtDEGTSCygEw9FAiK X-Received: by 10.68.133.75 with SMTP id pa11mr2655596pbb.2.1396983731848; Tue, 08 Apr 2014 12:02:11 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.90.11 with SMTP id w11ls308197qgd.43.gmail; Tue, 08 Apr 2014 12:02:11 -0700 (PDT) X-Received: by 10.58.111.163 with SMTP id ij3mr1885158veb.26.1396983731616; Tue, 08 Apr 2014 12:02:11 -0700 (PDT) Received: from mail-ve0-f179.google.com (mail-ve0-f179.google.com [209.85.128.179]) by mx.google.com with ESMTPS id u5si575583vdo.40.2014.04.08.12.02.11 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 08 Apr 2014 12:02:11 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.179 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.179; Received: by mail-ve0-f179.google.com with SMTP id db12so1146987veb.24 for ; Tue, 08 Apr 2014 12:02:11 -0700 (PDT) X-Received: by 10.58.220.161 with SMTP id px1mr4698954vec.13.1396983731543; Tue, 08 Apr 2014 12:02:11 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.12.8 with SMTP id v8csp270499vcv; Tue, 8 Apr 2014 12:02:11 -0700 (PDT) X-Received: by 10.194.92.7 with SMTP id ci7mr5404319wjb.7.1396983730728; Tue, 08 Apr 2014 12:02:10 -0700 (PDT) Received: from casper.infradead.org (casper.infradead.org. [2001:770:15f::2]) by mx.google.com with ESMTPS id cx10si1281659wjb.11.2014.04.08.12.02.10 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 08 Apr 2014 12:02:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org designates 2001:770:15f::2 as permitted sender) client-ip=2001:770:15f::2; Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WXXhC-0005J1-PY; Tue, 08 Apr 2014 15:12:21 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WXXgR-0003by-BA; Tue, 08 Apr 2014 15:11:32 +0000 Received: from casper.infradead.org ([2001:770:15f::2]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WXXfa-0003ED-BA for linux-arm-kernel@merlin.infradead.org; Tue, 08 Apr 2014 15:10:38 +0000 Received: from mail-pa0-f49.google.com ([209.85.220.49]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WXQyW-0001pF-96 for linux-arm-kernel@lists.infradead.org; Tue, 08 Apr 2014 08:01:44 +0000 Received: by mail-pa0-f49.google.com with SMTP id lj1so684993pab.36 for ; Tue, 08 Apr 2014 01:01:16 -0700 (PDT) X-Received: by 10.68.237.99 with SMTP id vb3mr2838392pbc.76.1396944076770; Tue, 08 Apr 2014 01:01:16 -0700 (PDT) Received: from localhost.localdomain ([162.243.130.63]) by mx.google.com with ESMTPSA id it4sm2764630pbd.48.2014.04.08.01.01.10 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 08 Apr 2014 01:01:15 -0700 (PDT) From: Haojian Zhuang To: linux-arm-kernel@lists.infradead.org, tglx@linutronix.de, linux@arm.linux.org.uk, arnd@arndb.de, olof@lixom.net, khilman@kernel.org, xuwei5@hisilicon.com Subject: [PATCH v2 02/12] ARM: append ARCH_MULTI_V7_LPAE Date: Tue, 8 Apr 2014 16:00:42 +0800 Message-Id: <1396944052-9887-3-git-send-email-haojian.zhuang@linaro.org> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1396944052-9887-1-git-send-email-haojian.zhuang@linaro.org> References: <1396944052-9887-1-git-send-email-haojian.zhuang@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140408_090144_458937_69D37805 X-CRM114-Status: UNSURE ( 9.51 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.6 (--) X-Spam-Report: SpamAssassin version 3.3.2 on casper.infradead.org summary: Content analysis details: (-2.6 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.220.49 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: Haojian Zhuang X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: haojian.zhuang@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.179 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 Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 Add new ARCH_MULTI_V7_LPAE config. It will select ARM_LPAE only both ARCH_MULTI_V6 & ARCH_MULTI_V7 is disabled. ARCH_MULTI_V7 means non-LPAE platform. Signed-off-by: Haojian Zhuang --- arch/arm/Kconfig | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 5248923..a8b2b45 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -918,12 +918,19 @@ config ARCH_MULTI_V6 select CPU_V6K config ARCH_MULTI_V7 - bool "ARMv7 based platforms (Cortex-A, PJ4, Scorpion, Krait)" + bool "ARMv7 non-LPAE based platforms (Cortex-A, PJ4, Scorpion, Krait)" default y select ARCH_MULTI_V6_V7 select CPU_V7 select HAVE_SMP +config ARCH_MULTI_V7_LPAE + bool "ARMv7 LPAE based platforms (HIP04)" + select ARCH_MULTI_V6_V7 + select CPU_V7 + select HAVE_SMP + select ARM_LPAE if !(ARCH_MULTI_V6 || ARCH_MULTI_V7) + config ARCH_MULTI_V6_V7 bool select MIGHT_HAVE_CACHE_L2X0