Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp4773073ybi; Mon, 15 Jul 2019 14:41:17 -0700 (PDT) X-Google-Smtp-Source: APXvYqzaAChxlcFd3BR6mP6bl6pvI3Us7TcRsXq9P58qwliloSWKbx7iTdoaKk+IPslY+jRn3eBY X-Received: by 2002:a63:8f16:: with SMTP id n22mr23129202pgd.306.1563226877557; Mon, 15 Jul 2019 14:41:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563226877; cv=none; d=google.com; s=arc-20160816; b=BT1kan906HaZ49t1f8/voUNo3uM4o+be2qAmrTeIvtkL/sKqbIHAQ5pO67sJ6CO2Bt XRWL+MBcWxDkHiOZphN9Go9+jFDPM6Bi+qikNtpzty8aPSEKexydNGQd+SlsZ72U856d hXlUK9B4mezjT7DTUFMZl3LHDxir1brzmxwMUWtHWjlL99UYmefuQIH/mAvcybRN9a1P rvrxYu9bKm7aqpydQy72hM5fQWgm3Jv3EJd3LJ9V9c2rXYqmuacRn1Yw1oVLqnOepCPY djQa+e5lPKiDa54+RhcIayAt8cL8P38cYYv1lwBxDa0/3H7GP0VrYiyf1wUAL+52Pmjw 4hMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=J3Y/wy/LIbFFdcKa02s8pUYwReL91haevitxXohYmJA=; b=JmUPG8VgzNOAyTWOic9q8rZdWJe4P8G1y4PcpEhlLFFVOtI/Hf1g/d6hhYji/izdtI DnbgnSv7/ZlcIdBH6RhX22lOKsO2aCKBZALjbEajuDLucqBocwnHsHxsTofMpSK7ZOcr zlvtF1gNMW9yw+W6EsKdDIFKwkRdT8NZ32/5PqtcnlrctAMrmYqwiZMR37xfUFV3jBBX eEBLsQ0kkQf6Wqt3rpOmthHdf+/EsImnjT3x9e+yYhyNCt9dHei8+VoDuFa4wpl1auFe sHbVo+pWqe0LLaprUwyAgKtO9WXO7N6uUfAszxdc6Bf3yZmBYyiA7X0rlS9AnwaJrRLZ a+IA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@crapouillou.net header.s=mail header.b=Yk53lv9H; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=crapouillou.net Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d19si4705643pgm.310.2019.07.15.14.41.01; Mon, 15 Jul 2019 14:41:17 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@crapouillou.net header.s=mail header.b=Yk53lv9H; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=crapouillou.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732400AbfGOVk3 (ORCPT + 99 others); Mon, 15 Jul 2019 17:40:29 -0400 Received: from outils.crapouillou.net ([89.234.176.41]:34536 "EHLO crapouillou.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730156AbfGOVk3 (ORCPT ); Mon, 15 Jul 2019 17:40:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=crapouillou.net; s=mail; t=1563226819; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=J3Y/wy/LIbFFdcKa02s8pUYwReL91haevitxXohYmJA=; b=Yk53lv9HpDhZZKCFpscWK6v05vmArVKnUVaI7SqU6sdX/EkwKaQBao+LSzpuYc3ASEgRnI s9dwgcbs4to7XP7Nmm3tIICeid0REofrIomr+VEDsOmT6g8hHNYNuEXKWCJJ+HtKGeerhx L+0IJuliYJnKZz/Lj4TowRto6oT8p+k= From: Paul Cercueil To: Ralf Baechle , Paul Burton , James Hogan Cc: od@zcrc.me, linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, Daniel Silsby , Paul Cercueil Subject: [PATCH 3/5] MIPS: Decouple CPU_SUPPORTS_HUGEPAGES from 64BIT Date: Mon, 15 Jul 2019 17:40:01 -0400 Message-Id: <20190715214003.9714-3-paul@crapouillou.net> In-Reply-To: <20190715214003.9714-1-paul@crapouillou.net> References: <20190715214003.9714-1-paul@crapouillou.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Daniel Silsby We now have partial 32-bit MIPS huge page support, so there's no need to restrict these config options only to 64-bit systems. Signed-off-by: Daniel Silsby Signed-off-by: Paul Cercueil --- arch/mips/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index ff5f1314241e..47d50e37faa4 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig @@ -43,7 +43,7 @@ config MIPS select HAVE_ARCH_MMAP_RND_COMPAT_BITS if MMU && COMPAT select HAVE_ARCH_SECCOMP_FILTER select HAVE_ARCH_TRACEHOOK - select HAVE_ARCH_TRANSPARENT_HUGEPAGE if CPU_SUPPORTS_HUGEPAGES && 64BIT + select HAVE_ARCH_TRANSPARENT_HUGEPAGE if CPU_SUPPORTS_HUGEPAGES select HAVE_EBPF_JIT if (!CPU_MICROMIPS) select HAVE_CONTEXT_TRACKING select HAVE_COPY_THREAD_TLS @@ -1223,7 +1223,7 @@ config SYS_SUPPORTS_LITTLE_ENDIAN config SYS_SUPPORTS_HUGETLBFS bool - depends on CPU_SUPPORTS_HUGEPAGES && 64BIT + depends on CPU_SUPPORTS_HUGEPAGES default y config MIPS_HUGE_TLB_SUPPORT -- 2.21.0.593.g511ec345e18