Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2586628imu; Sun, 23 Dec 2018 03:14:24 -0800 (PST) X-Google-Smtp-Source: ALg8bN5y6RDD/PwT/DChuBt7J//j5AADQQnWNq8jecuflhJT8013vChf2Ka6IUUm0IzDZcr2s9w2 X-Received: by 2002:a65:584e:: with SMTP id s14mr8881409pgr.142.1545563664820; Sun, 23 Dec 2018 03:14:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545563664; cv=none; d=google.com; s=arc-20160816; b=R94Jnm3wdPa5L9224GEcSE8TekZW2fG5aykrfVYyIw04nzqqiLjQEGCdfsbT7hV2Nd kz5vfWS6n1f7CWsxwm/RFuXnWJDuZZh/K200mTJVdZGVawvOp9WV4rhLDi2bC+DS9DNP pSu7vPfv0cJMCqcDFqUc0633ELGiDK8zWzDvKzxqh0WOtqIwsJMXpKe70AuE4p5P/Is3 HhHx4Mt0Ml8Lt22iU5gPCqvTCcCs9Cq6LRrk81DNwBlrwZptzvA5GUf/k9w1tH+r+IVD UlK3SK7ZtbipP/i6drAvPWrGlG2pK08p/0daZiRezo/KTIuVEg07diOc+VhYTA7+7ou7 boHg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:message-id:subject:cc:from:to :in-reply-to; bh=4zrMNcyzvkPIdjlf1jhRk420lZkwNNp2I1rFagTdDBs=; b=hdd3hDWqo2n4egqJ7z2ei4LDWACNiY+Bbemvu7SAqEjvzjql9zCrnrTvHGDhIZ7V7W ylCOZD+KOA63e1ctGLL+5aTthWH+aJOzibVvefjE4V8gBl71YAn3/DnzCmY60opDb78c mRW6NSXXiPCj4IfWhCnOaOPtwkSj0Et4+p3WXueXh7fIPC1we95dmNYNPIdigK7/WxbV NItwDIERCooCFfjRtGCJ9LMONKFp16Wsv15YbllGdZEtKO3YEHWTqtjsNcORrI1dSHYC ygfpqgSBaVzxzPLtSVSWrGsjCmS5Vi4WihhLNixd7J2ABdw9LTcuX7T/frRvsIqc3Odb gKYA== 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 w22si24079159plp.301.2018.12.23.03.14.09; Sun, 23 Dec 2018 03:14:24 -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 S2392559AbeLVRCZ (ORCPT + 99 others); Sat, 22 Dec 2018 12:02:25 -0500 Received: from ozlabs.org ([203.11.71.1]:57379 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2392387AbeLVRBC (ORCPT ); Sat, 22 Dec 2018 12:01:02 -0500 Received: by ozlabs.org (Postfix, from userid 1034) id 43MLT61SYkz9sPh; Sat, 22 Dec 2018 20:55:05 +1100 (AEDT) X-powerpc-patch-notification: thanks X-powerpc-patch-commit: 712877f8740471d96f703647d813d8a74fccc816 X-Patchwork-Hint: ignore In-Reply-To: To: Christophe Leroy , Benjamin Herrenschmidt , Paul Mackerras From: Michael Ellerman Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: Re: powerpc/mm: Eliminate not possible mmu features at compile time Message-Id: <43MLT61SYkz9sPh@ozlabs.org> Date: Sat, 22 Dec 2018 20:55:05 +1100 (AEDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 2018-11-16 at 17:08:03 UTC, Christophe Leroy wrote: > Depending on the CONFIG selected, many of the MMU features are > not possible. Lets only get the possible ones in MMU_FTRS_POSSIBLE. > > This allows gcc to get rid at compile time of code related to > not possible features. > > Signed-off-by: Christophe Leroy Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/712877f8740471d96f703647d813d8 cheers