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: 3950061 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id F00E29F370 for ; Tue, 8 Apr 2014 17:07:47 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3ABC32040F for ; Tue, 8 Apr 2014 17:07:46 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4855C2015E for ; Tue, 8 Apr 2014 17:07:45 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WXXhG-0005J0-19; Tue, 08 Apr 2014 15:12:23 +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-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=ujbz8w5cIqYklRALLAuEeJrKa4a8en9VMd7iZqfeeag=; b=gtj6edX1HYqiDgC3G14H0aQStQT2PBZyEyYf8PxhhOM2h4UiVgiGa/a8c/TRiDCNHI zl1o6mobf+6eBY7R98o46Kw9PwGkS3+N3Mh1Ix93xh89aCreNO4541DaAeJA5NWyXXeF 0g0tH3SDUBel6sNv+eUDZqpVV8CYDNqJgWwlfouTT1K2qw4S203FKFxhCQEV5ltX9thg agjN4BjIEHzelUJyWSNAD/ATAMrGh+4QzM9pHpTTpFJQTwxGzAaifEiG4OWUCm6yDjnc 7UsGf1EQSuQlHTIjUqlKvw4qWpMdQ2o/djeskS8tPbD526mVC7eTRagIXIRUEgMApwSC 8zCw== X-Gm-Message-State: ALoCoQlMU3HpoCHZtsMFXuN0IhGIBJvmN73BY5agNrW2zsgH2S9fu6pxD3gnFHdF+0e5YQUUpNuw 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 (--) 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+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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