From patchwork Tue Sep 15 20:38:52 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Russell King X-Patchwork-Id: 7189451 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.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 1A6649F32B for ; Tue, 15 Sep 2015 20:43:11 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3E79520837 for ; Tue, 15 Sep 2015 20:43:10 +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 7BBC62083A for ; Tue, 15 Sep 2015 20:43:09 +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 1Zbx2X-0006FM-Ea; Tue, 15 Sep 2015 20:41:21 +0000 Received: from pandora.arm.linux.org.uk ([2001:4d48:ad52:3201:214:fdff:fe10:1be6]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Zbx2U-0004vY-1x for linux-arm-kernel@lists.infradead.org; Tue, 15 Sep 2015 20:41:18 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=arm.linux.org.uk; s=pandora-2014; h=Date:Sender:Message-Id:Content-Type:Content-Transfer-Encoding:MIME-Version:Subject:To:From; bh=SAWyffPTx5FOhbOrdoysfTRxkZHMeJG8RC880ttzNP4=; b=elIiBCq+MPH6orw+zVyQ0M8iNFWM5/58k2t1FbOpLNxjUHYmp+axXVQ2fF0Bcg1KB4jkZoZtzoBkqe2TGQGjDQpo/vUQ9WCt2IZf1COZy8cZEdHgBqkoDWynkunfO2cgPJTorCu+uhlRgk5RsUgFhhHwkq8MG/Ua+SWskeBKEeE=; Received: from e0022681537dd.dyn.arm.linux.org.uk ([2002:4e20:1eda:1:222:68ff:fe15:37dd]:59707 helo=rmk-PC.arm.linux.org.uk) by pandora.arm.linux.org.uk with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.82_1-5b7a7c0-XX) (envelope-from ) id 1Zbx09-00073t-IF for linux-arm-kernel@lists.infradead.org; Tue, 15 Sep 2015 21:38:53 +0100 Received: from rmk by rmk-PC.arm.linux.org.uk with local (Exim 4.82_1-5b7a7c0-XX) (envelope-from ) id 1Zbx08-0001A3-PQ for linux-arm-kernel@lists.infradead.org; Tue, 15 Sep 2015 21:38:52 +0100 From: Russell King To: linux-arm-kernel@lists.infradead.org Subject: [RFC PATCH] ARM: enable highmem by default on ARMv6/ARMv7 CPUs MIME-Version: 1.0 Content-Disposition: inline Message-Id: Date: Tue, 15 Sep 2015 21:38:52 +0100 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150915_134118_457986_E8B32CDE X-CRM114-Status: GOOD ( 11.39 ) X-Spam-Score: -2.7 (--) 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: , 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_SIGNED, 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 ARMv6 and ARMv7 normally have more than 1G of memory, so it makes sense to have highmem enabled by default. Users can still turn highmem off if they wish by enabling the EXPERT option, which then allows the option to be visible. Signed-off-by: Russell King --- arch/arm/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 02eb51b6d324..49250dc9856b 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -1694,8 +1694,9 @@ config HAVE_GENERIC_RCU_GUP depends on ARM_LPAE config HIGHMEM - bool "High Memory Support" + bool "High Memory Support" if !(CPU_32v6 || CPU_32v7) || EXPERT depends on MMU + default y if CPU_32v6 || CPU_32v7 help The address space of ARM processors is only 4 Gigabytes large and it has to accommodate user address space, kernel address