Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp505993yba; Wed, 3 Apr 2019 13:08:41 -0700 (PDT) X-Google-Smtp-Source: APXvYqxcgqgBKVETi85RvRS9vxYC5TwLXvqyQzcjvjRyPm+xY4K3TqSvImmSNR+oVjoCJGG/X3/G X-Received: by 2002:aa7:9219:: with SMTP id 25mr1379712pfo.205.1554322120996; Wed, 03 Apr 2019 13:08:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554322120; cv=none; d=google.com; s=arc-20160816; b=0QyZl6HPAyJ29IkVALucMoEyYulzvOIXZzF9rPpXaWYAHUV++ud4stc32Mp58p3LCY tjXfUWGf/vuO6lSmL2XsRY7Tl5FpeDnwf2/ePcJbZrxBqV3BwvpCpnlqKORjRGvM6QTH 0zQM29UaIC5S5RYYtqYWjXovkhpH4kVN2v9UvaWg+JNzK/6qhZUkofLxfMPxVrGAhppK r04KID2Iwp2gXdAv6xm0fF5JaVxFs0VEbRLgj678nRTLzqwuzi/JXNqWRPcnB6yHOvAG aD2+CkzjJW45JZh+weBYUue4zeSAPpnu3py6ereX3Qc1SShU7whSkBVuYmiydbAV+jsE 051g== 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:dkim-signature; bh=5yd1NAIr8P/S/pElfFeAqs29R+LkuX1lKFh0+n0sXbw=; b=jB+/hnp0qeNXG3K3dVsxXVZv9l76wxI174iDIYFODxveU3kuhLXtsWyFZ6QFE2nMq+ s/5d/N1CpAbq8kaBZgnNVIyD7faJDwXctC1mVuj02s8u022+j2hCBaiFu9prKH8YhE3X 6WaN5X3bp5nDM8IZYKNyKgZxjD2Z97WarXCO30qqYMPzxvoN8QpyjMavtFWPri6mEYbs JBtuOAYyHVHaRTEjkLmkEe/f1MWj1fMuo98kVhpa0oZpZbDUoseiGk+yuH2aidt4si6d SwCjl2GvxQFrQjeSryJb9H+hPQi/c3Z4UD51YMNzdrMhOfZMORdeJT4jW0FzqW+B5Y3/ vuPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@c-s.fr header.s=mail header.b=SD1lRnGg; 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 h25si6112556pgv.244.2019.04.03.13.08.25; Wed, 03 Apr 2019 13:08:40 -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=pass header.i=@c-s.fr header.s=mail header.b=SD1lRnGg; 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 S1728635AbfDCUHT (ORCPT + 99 others); Wed, 3 Apr 2019 16:07:19 -0400 Received: from pegase1.c-s.fr ([93.17.236.30]:8856 "EHLO pegase1.c-s.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726775AbfDCUGT (ORCPT ); Wed, 3 Apr 2019 16:06:19 -0400 Received: from localhost (mailhub1-int [192.168.12.234]) by localhost (Postfix) with ESMTP id 44ZHCG5gyjz9v3pr; Wed, 3 Apr 2019 22:06:18 +0200 (CEST) Authentication-Results: localhost; dkim=pass reason="1024-bit key; insecure key" header.d=c-s.fr header.i=@c-s.fr header.b=SD1lRnGg; dkim-adsp=pass; dkim-atps=neutral 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 iHb_j0jQSX14; Wed, 3 Apr 2019 22:06:18 +0200 (CEST) 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 44ZHCG3xLkz9v3pp; Wed, 3 Apr 2019 22:06:18 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=c-s.fr; s=mail; t=1554321978; bh=5yd1NAIr8P/S/pElfFeAqs29R+LkuX1lKFh0+n0sXbw=; h=In-Reply-To:References:From:Subject:To:Cc:Date:From; b=SD1lRnGgmSRo8zB79u3lH+VASY58E01ml01ozLHJj6tZe79U+juyL5xbZxqL7LsYf iB0eV+xhbbkv2a3JKBQO6Mx22w+Az++UHCTHeQr53HfekBYhh42Eikl1aCgC1QoOTc y2fGx7tkC7sNcNeyUIkugMMuut8pLSczx4Ra/nRg= Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id A7BB78B905; Wed, 3 Apr 2019 22:06:18 +0200 (CEST) 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 uvCkvxyeJRCo; Wed, 3 Apr 2019 22:06:18 +0200 (CEST) Received: from po16846vm.idsi0.si.c-s.fr (unknown [192.168.4.90]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 7DB928B902; Wed, 3 Apr 2019 22:06:18 +0200 (CEST) Received: by po16846vm.idsi0.si.c-s.fr (Postfix, from userid 0) id 600E3655EC; Wed, 3 Apr 2019 20:06:18 +0000 (UTC) Message-Id: <2cd783f6975b126f024ee0965047342b6c36bded.1554321743.git.christophe.leroy@c-s.fr> In-Reply-To: References: From: Christophe Leroy Subject: [PATCH v1 06/15] powerpc/Kconfig: select PPC_MM_SLICES from subarch type To: Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman , aneesh.kumar@linux.ibm.com Cc: linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org Date: Wed, 3 Apr 2019 20:06:18 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Lets select PPC_MM_SLICES from the subarch config item instead of doing it via defaults declaration in the PPC_MM_SLICES item itself. Signed-off-by: Christophe Leroy --- arch/powerpc/platforms/Kconfig.cputype | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/platforms/Kconfig.cputype b/arch/powerpc/platforms/Kconfig.cputype index 842b2c7e156a..a46a0adb634d 100644 --- a/arch/powerpc/platforms/Kconfig.cputype +++ b/arch/powerpc/platforms/Kconfig.cputype @@ -34,6 +34,7 @@ config PPC_8xx bool "Freescale 8xx" select FSL_SOC select SYS_SUPPORTS_HUGETLBFS + select PPC_MM_SLICES if HUGETLB_PAGE config 40x bool "AMCC 40x" @@ -75,6 +76,7 @@ config PPC_BOOK3S_64 select ARCH_ENABLE_THP_MIGRATION if TRANSPARENT_HUGEPAGE select ARCH_SUPPORTS_NUMA_BALANCING select IRQ_WORK + select PPC_MM_SLICES config PPC_BOOK3E_64 bool "Embedded processors" @@ -360,8 +362,6 @@ config PPC_BOOK3E_MMU config PPC_MM_SLICES bool - default y if PPC_BOOK3S_64 - default y if PPC_8xx && HUGETLB_PAGE config PPC_HAVE_PMU_SUPPORT bool -- 2.13.3