From patchwork Tue Sep 8 20:38:04 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Coquelin X-Patchwork-Id: 7143161 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 7B6DABEEC1 for ; Tue, 8 Sep 2015 20:41:13 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A165B205B7 for ; Tue, 8 Sep 2015 20:41:12 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E22CF205B6 for ; Tue, 8 Sep 2015 20:41:11 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZZPf7-0004cX-BB; Tue, 08 Sep 2015 20:38:41 +0000 Received: from mail-wi0-x230.google.com ([2a00:1450:400c:c05::230]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZZPey-0004Sn-HO for linux-arm-kernel@lists.infradead.org; Tue, 08 Sep 2015 20:38:33 +0000 Received: by wicge5 with SMTP id ge5so131051697wic.0 for ; Tue, 08 Sep 2015 13:38:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=SD4ZlCmvPaMAotSgNG93jLDYHYjFhQiDc+qq9F3KDtY=; b=VxdRunEtRDy5z2HeEvNUS3z1UfCy+Q9uiAc94wmVWIzNL8RMWkJ2EfgYSR9S1e16ex ITUgjPNZ06VZIPa15APRHjhrjsXu2FJ612xpvJwMxIblx89KVDkslm8Kl7lOg6YAGtEi 1vByahNmjlY5tjgL3nirdS2Yl2rKyhKOdMFE5q7NiH0cO/NZukW8OuuRf5/WVdIG0sxF fe9A1Vej2Q2/seH4UYU2xN5HLyoLItVrRIkjwLYcPGTtuyUNgsI6isXPC9XTeAS4z9ig WA1d61dd0ijgICJb1Iu2+UlT48q0eZF1K7jPpoHBCvS/UxiYDMP1bgFh8yHUxq37mNrH vg/A== X-Received: by 10.194.48.81 with SMTP id j17mr43664583wjn.81.1441744690990; Tue, 08 Sep 2015 13:38:10 -0700 (PDT) Received: from lmecul0520.st.com. (101.210.139.88.rev.sfr.net. [88.139.210.101]) by smtp.gmail.com with ESMTPSA id hr17sm233610wib.16.2015.09.08.13.38.09 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 08 Sep 2015 13:38:10 -0700 (PDT) From: Maxime Coquelin To: Arnd Bergmann , olof@lixom.net, khilman@kernel.org, afaerber@suse.de, u.kleine-koenig@pengutronix.de Subject: [PATCH v2 1/3] ARM: Make FORCE_MAX_ZONEORDER configurable if ARM_SINGLE_ARMV7M Date: Tue, 8 Sep 2015 22:38:04 +0200 Message-Id: <1441744686-20521-2-git-send-email-mcoquelin.stm32@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1441744686-20521-1-git-send-email-mcoquelin.stm32@gmail.com> References: <1441744686-20521-1-git-send-email-mcoquelin.stm32@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150908_133832_741130_A5A889E3 X-CRM114-Status: GOOD ( 13.61 ) X-Spam-Score: -2.5 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Russell King , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org 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.1 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham 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 This patch makes FORCE_MAX_ZONEORDER configurable in defconfig for ARMV7-M when built for a single platform. Suggested-by: Arnd Bergmann Signed-off-by: Maxime Coquelin --- arch/arm/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index a750c14..88937b9 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -1731,10 +1731,10 @@ config ARM_MODULE_PLTS source "mm/Kconfig" config FORCE_MAX_ZONEORDER - int "Maximum zone order" if ARCH_SHMOBILE_LEGACY + int "Maximum zone order" if ARCH_SHMOBILE_LEGACY || ARM_SINGLE_ARMV7M range 11 64 if ARCH_SHMOBILE_LEGACY default "12" if SOC_AM33XX - default "9" if SA1111 || ARCH_EFM32 + default "9" if SA1111 default "11" help The kernel memory allocator divides physically contiguous memory