Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2342023yba; Mon, 6 May 2019 04:31:11 -0700 (PDT) X-Google-Smtp-Source: APXvYqx00sdnhciwPG8tKJFL+01rTovcLdjT8WgdyiD4s6lYnvC1CkqCkh96SSzmWPPPlFjSddAC X-Received: by 2002:a17:902:6b0b:: with SMTP id o11mr31485330plk.266.1557142271493; Mon, 06 May 2019 04:31:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557142271; cv=none; d=google.com; s=arc-20160816; b=TMs5l4H+MfHHx4dXvmHMBGolTc+wruFJuTumkoaLE9JlUhKB//9DaIlYfbxMOs0fVS rw01RwZqTXAs87drP/34I+fkqB+InvhxpGif2tdCyHN4KgNBUavr2tVf+F8L3mGgyRvh rqIMACxGiodYW4lWFyT+iz0Ma+lF7ruOCfQrmys1Y/kXAiMJY10s9BrPPzNX8Cs6iSsu w6us9qzRtOYe3/pAkmMI3XiTSvIHR4HWT3iHUNY4J7EjYSqE7Y0dURgrg9jFHmSVk7U0 yB+Fg3pYvn6NPqTpRiriS6D9N9VeW/SoyFse1/B9N6aiJh+3zgFAR/50YWO7PbFHzoaD TxYw== 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 :message-id:date:references:in-reply-to:subject:cc:to:from; bh=B1LOwCJfiFWPO35bSLltDqG/N5Q+cMvNMciNZCP4gvY=; b=nJ/fdyHfI4O5ONrytDr8GS4NMjWWpkQ/QT+oQgaYtLKhDD96r6DlSJu6sHbK5NCftQ bV5fc4gpAgjaR5MJmceQmJnemvrgtr/LXbdbDIMfO6vPTI3/wUVgIQkS37xSs0OprvM5 gTHJs6FHmvbXUAIE7MhBH69P6SNzttulexaPKXRuen8Wz7ndeIldwsf7PEKYEAuOdKJr XBwwIp3zj+jWEJ6DbIODqu2jPdbG8HBuXws7HxNae4oQbiMr7CR3sz5u+bGpNfH7OPM1 vo6lagGAv95cqxwj0cvzVaMp88AwW9ibOI6m90dWqVC7asjusldebl6JoSqvVr2c04DC 3FHw== 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 t21si14224934pgm.438.2019.05.06.04.30.56; Mon, 06 May 2019 04:31:11 -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; 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 S1726201AbfEFLaB convert rfc822-to-8bit (ORCPT + 99 others); Mon, 6 May 2019 07:30:01 -0400 Received: from bilbo.ozlabs.org ([203.11.71.1]:47301 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726037AbfEFLaB (ORCPT ); Mon, 6 May 2019 07:30:01 -0400 Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 44yLBG6Z5qz9s9T; Mon, 6 May 2019 21:29:58 +1000 (AEST) From: Michael Ellerman To: Christophe Leroy , Benjamin Herrenschmidt , Paul Mackerras , aneesh.kumar@linux.ibm.com Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 03/15] powerpc/mm: convert Book3E 64 to pte_fragment In-Reply-To: <0076ad26-9d0e-e408-3521-b8e17669bb04@c-s.fr> References: <0076ad26-9d0e-e408-3521-b8e17669bb04@c-s.fr> Date: Mon, 06 May 2019 21:29:55 +1000 Message-ID: <8736lryg5o.fsf@concordia.ellerman.id.au> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Christophe Leroy writes: > Le 26/04/2019 à 17:58, Christophe Leroy a écrit : >> Book3E 64 is the only subarch not using pte_fragment. In order >> to allow refactorisation, this patch converts it to pte_fragment. >> >> Reviewed-by: Aneesh Kumar K.V >> Signed-off-by: Christophe Leroy >> --- >> arch/powerpc/include/asm/mmu_context.h | 6 ----- >> arch/powerpc/include/asm/nohash/64/mmu.h | 4 +++- >> arch/powerpc/include/asm/nohash/64/pgalloc.h | 33 ++++++++++------------------ >> arch/powerpc/mm/Makefile | 4 ++-- >> arch/powerpc/mm/mmu_context.c | 2 +- >> 5 files changed, 18 insertions(+), 31 deletions(-) >> > [...] > >> diff --git a/arch/powerpc/mm/Makefile b/arch/powerpc/mm/Makefile >> index 3c1bd9fa23cd..138c772d58d1 100644 >> --- a/arch/powerpc/mm/Makefile >> +++ b/arch/powerpc/mm/Makefile >> @@ -9,6 +9,7 @@ CFLAGS_REMOVE_slb.o = $(CC_FLAGS_FTRACE) >> >> obj-y := fault.o mem.o pgtable.o mmap.o \ >> init_$(BITS).o pgtable_$(BITS).o \ >> + pgtable-frag.o \ >> init-common.o mmu_context.o drmem.o >> obj-$(CONFIG_PPC_MMU_NOHASH) += mmu_context_nohash.o tlb_nohash.o \ >> tlb_nohash_low.o >> @@ -17,8 +18,7 @@ hash64-$(CONFIG_PPC_NATIVE) := hash_native_64.o >> obj-$(CONFIG_PPC_BOOK3E_64) += pgtable-book3e.o >> obj-$(CONFIG_PPC_BOOK3S_64) += pgtable-hash64.o hash_utils_64.o slb.o \ >> $(hash64-y) mmu_context_book3s64.o \ >> - pgtable-book3s64.o pgtable-frag.o >> -obj-$(CONFIG_PPC32) += pgtable-frag.o >> + pgtable-book3s64.o > > Looks like the removal of pgtable-frag.o for CONFIG_PPC_BOOK3S_64 didn't > survive the merge. Hmm, I don't remember having problems there but clearly something went wrong. > Will send a patch to fix that. Thanks. cheers