Received: by 10.223.185.116 with SMTP id b49csp173194wrg; Sat, 10 Feb 2018 04:55:31 -0800 (PST) X-Google-Smtp-Source: AH8x226+RoNIiDUnNSMJ2YJ45bob/cQmQNjQ1W+6rs3O5IPKs3mhItJd/M55sd0QzbPyZ0vv7DNG X-Received: by 10.99.145.199 with SMTP id l190mr4440316pge.397.1518267330913; Sat, 10 Feb 2018 04:55:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518267330; cv=none; d=google.com; s=arc-20160816; b=OZ8KLnqFy3J2sGAnRY+jvHWUC7ZUUk15tsH/G6MbnkvbmUBKXAP7l0Dr6ykNKYfCVZ 5uok+vltZ9DbicU5yoKhT8rg4lLx/ak2dCypvCc3gf8TDjRN0eDSA+TU03gcAZ3y/8mt iUU6MwsoOCxPNCkq1QnBJcbs55tTzONfwQ4oV0pbwgTAbSWgRVIhn1s41EXTrGPxZ7YH MShd6E4aleg0DbkflKVuQQROL7LldRQXXmeqZO5/RhNHzyNuTNttdyaUwX6ot4Qtqfxj ckdd9ZHhBcZyWUtIHyEgTMpcDsJvYl5zt3r9bEavHaMx6bgOYpmJfgptEI415/t4LMSR +xAA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:cc:to:subject:from:references :in-reply-to:message-id:arc-authentication-results; bh=5HZXSob2vMvPXiJRnujbUIqBWKGZOpAKnvfgYkpZmq4=; b=J8Y79DwHyaSe0hCE+qhApfl6nc3mw8BteT/D6kPmjrrPT4zw0oY7TIi8rQ+vanyeUn dL6lYNq9bUsEyKIeMa2J7JRax5hcfGv6jgZExnTKaHl/qElLyEQySVgzGESjceFg1gaD xMePTzbipdK3sxWkA38Ykp8y3EJrOJG50Rm3NvdoXVlyIpprd0esEFHRDigiYw+0aG5F mi2VxK1dhYPm6x7ZamUDlT8yPBrY3nnkSR3+aaNq3Fmi4Xr/EwA9WjrT3DP9tBg5SRso ksmimlYzScXO2osIwbyLfYh8PH0WMoaGNip40WtJifVKKgN3iIF/hk8FFJFheM00Wzwm mi0Q== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q184si1094305pga.242.2018.02.10.04.55.17; Sat, 10 Feb 2018 04:55:30 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752056AbeBJMyi (ORCPT + 99 others); Sat, 10 Feb 2018 07:54:38 -0500 Received: from pegase1.c-s.fr ([93.17.236.30]:38336 "EHLO pegase1.c-s.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750835AbeBJMyf (ORCPT ); Sat, 10 Feb 2018 07:54:35 -0500 Received: from localhost (mailhub1-int [192.168.12.234]) by localhost (Postfix) with ESMTP id 3zdsMY2r2Sz9ttwd; Sat, 10 Feb 2018 13:54:33 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at c-s.fr Received: from pegase1.c-s.fr ([192.168.12.234]) by localhost (pegase1.c-s.fr [192.168.12.234]) (amavisd-new, port 10024) with ESMTP id DirQQQbPpjt6; Sat, 10 Feb 2018 13:54:33 +0100 (CET) Received: from messagerie.si.c-s.fr (messagerie.si.c-s.fr [192.168.25.192]) by pegase1.c-s.fr (Postfix) with ESMTP id 3zdsMY2Mrhz9ttwN; Sat, 10 Feb 2018 13:54:33 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 58D308B887; Sat, 10 Feb 2018 13:54:34 +0100 (CET) X-Virus-Scanned: amavisd-new at c-s.fr Received: from messagerie.si.c-s.fr ([127.0.0.1]) by localhost (messagerie.si.c-s.fr [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id 2_e_S5fRV7zA; Sat, 10 Feb 2018 13:54:34 +0100 (CET) Received: from po15720vm.idsi0.si.c-s.fr (unknown [192.168.232.3]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 2915A8B883; Sat, 10 Feb 2018 13:54:34 +0100 (CET) Received: by po15720vm.idsi0.si.c-s.fr (Postfix, from userid 0) id F2C506F0C2; Sat, 10 Feb 2018 13:54:33 +0100 (CET) Message-Id: <61813627b8aef562c425364c89fde863e77974c7.1518226173.git.christophe.leroy@c-s.fr> In-Reply-To: <01e8f783db8f4d4d41df91e0400a8634272b326f.1518226173.git.christophe.leroy@c-s.fr> References: <01e8f783db8f4d4d41df91e0400a8634272b326f.1518226173.git.christophe.leroy@c-s.fr> From: Christophe Leroy Subject: [PATCH v4 5/5] powerpc/8xx: Increase number of slices to 64 To: Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman , Scott Wood , aneesh.kumar@linux.vnet.ibm.com Cc: linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, Nicholas Piggin Date: Sat, 10 Feb 2018 13:54:33 +0100 (CET) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On the 8xx, the minimum slice size is the size of the area covered by a single PMD entry, ie 4M in 4K pages mode and 64M in 16K pages mode. This patch increases the number of slices from 16 to 64 on the 8xx. Signed-off-by: Christophe Leroy --- v4: New arch/powerpc/include/asm/nohash/32/slice.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/include/asm/nohash/32/slice.h b/arch/powerpc/include/asm/nohash/32/slice.h index bcb4924f7d22..3deaaea89473 100644 --- a/arch/powerpc/include/asm/nohash/32/slice.h +++ b/arch/powerpc/include/asm/nohash/32/slice.h @@ -4,7 +4,7 @@ #ifdef CONFIG_PPC_MM_SLICES -#define SLICE_LOW_SHIFT 28 +#define SLICE_LOW_SHIFT 26 /* 64 slices */ #define SLICE_LOW_TOP (0x100000000ull) #define SLICE_NUM_LOW (SLICE_LOW_TOP >> SLICE_LOW_SHIFT) #define GET_LOW_SLICE_INDEX(addr) ((addr) >> SLICE_LOW_SHIFT) -- 2.13.3