From patchwork Thu Jan 12 09:07:11 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Mackerras X-Patchwork-Id: 9512431 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 9FFEF60476 for ; Thu, 12 Jan 2017 09:08:28 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9305D286A2 for ; Thu, 12 Jan 2017 09:08:28 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 884C0286A8; Thu, 12 Jan 2017 09:08:28 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 15498286A2 for ; Thu, 12 Jan 2017 09:08:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751083AbdALJHm (ORCPT ); Thu, 12 Jan 2017 04:07:42 -0500 Received: from ozlabs.org ([103.22.144.67]:55725 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750803AbdALJHl (ORCPT ); Thu, 12 Jan 2017 04:07:41 -0500 Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPSA id 3tzfzZ6qftz9vF3; Thu, 12 Jan 2017 20:07:38 +1100 (AEDT) From: Paul Mackerras To: linuxppc-dev@ozlabs.org, kvm@vger.kernel.org, kvm-ppc@vger.kernel.org Subject: [PATCH 03/18] powerpc/64: Always enable radix support for 64-bit Book 3S kernels Date: Thu, 12 Jan 2017 20:07:11 +1100 Message-Id: <1484212046-29591-4-git-send-email-paulus@ozlabs.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1484212046-29591-1-git-send-email-paulus@ozlabs.org> References: <1484212046-29591-1-git-send-email-paulus@ozlabs.org> Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This removes the ability for the user to choose whether or not to include support for the radix MMU in kernels built to run on 64-bit Book 3S machines. Excluding radix support saves only about 25kiB of text and 13kiB of data, a total of little over half a page. Having the option expands the space of option combinations that need to be tested, which is an ongoing burden on developers. Given that the space savings are small, let's remove the option. Signed-off-by: Paul Mackerras --- arch/powerpc/platforms/Kconfig.cputype | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/arch/powerpc/platforms/Kconfig.cputype b/arch/powerpc/platforms/Kconfig.cputype index 6e89e5a..de88156 100644 --- a/arch/powerpc/platforms/Kconfig.cputype +++ b/arch/powerpc/platforms/Kconfig.cputype @@ -334,13 +334,8 @@ config PPC_STD_MMU_64 depends on PPC_STD_MMU && PPC64 config PPC_RADIX_MMU - bool "Radix MMU Support" + def_bool y depends on PPC_BOOK3S_64 - default y - help - Enable support for the Power ISA 3.0 Radix style MMU. Currently this - is only implemented by IBM Power9 CPUs, if you don't have one of them - you can probably disable this. config PPC_MMU_NOHASH def_bool y