Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp650108rdb; Thu, 30 Nov 2023 14:39:53 -0800 (PST) X-Google-Smtp-Source: AGHT+IGKQwHk1UugKikQbWyxqz8LrhBIAXhdJb0fYAEcYRxv29/Lz/8RWkW6J4e8PjFa+3BQuSP4 X-Received: by 2002:a17:902:dad0:b0:1cf:da41:7293 with SMTP id q16-20020a170902dad000b001cfda417293mr16380057plx.15.1701383993472; Thu, 30 Nov 2023 14:39:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701383993; cv=none; d=google.com; s=arc-20160816; b=Ru/sJhiGprv1sbFQS/j8ZmVtsZQ2Y1UUA7NpL89QHPvNAx/aL0y4jXC4gle5xmEz+A GpcFf7jEDp4S+Bw74mfYFrmpEWQnoTe76hJLz6EqieVuj+6ZpMmsXKA2PACCp6m2Wez4 ZmDAjv5CJwp6kltfiKQqYbFIeRg2elCM7Pj4mQhEHElGwat1mDbBCOSNDfQt0Wpb0hbv SSSgeBZy9jSxmgwFuHbEeTjXfq0Ay5l0EmvyaZuEvDSRgMUP6iw/MTzDkXn4LEo5SX0/ xc4FOZWCcp4hx+GRiZShuFzpMZxRh5eORRvUDx4xw/3izP2CDI/spVH0INMlqpvCLU4H rNOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:dkim-signature; bh=5B23+sJ4R/G/IPrsTJiKg5aaAttIL3oIv3CTZW1impU=; fh=dtD7vKGHBchoV3qaK40Tcwjr1+h3bUFq+NRjXotpYtA=; b=iM3ZfDaqYQGaAww8Ov46wPO/RsN+Xb/ZsA6a24UwaOJNakuetdGZsSwpknZ/J5rQoI 1Lkf8L5WeSv9Ca4n8QZwdDJjQzijYkNcnzSAdsChAIiabUratBSkJpZ86qOg2h9R3OZI dRJuftKk25YqYNXnyxe73ohnvVFMJ23JlXeV8cfHIP6bbY8iYla7cBbP/AWZL36gLh5g GMy7Oqc477KZ/IJqvh9X3bc7ORFgrPR9FOwzVa2ljY9cvvYFXsGhA99Q2KYjowZS+BxG ORktIQicD37LhWtVnzlHAE7JTgwZbrg5yrQXjrzXNBew6QjzmZ1bDmUvddoq2opRZekp 8jGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ellerman.id.au header.s=201909 header.b=Ca61jVTZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id d17-20020a170903231100b001cfee481feasi2241835plh.433.2023.11.30.14.39.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Nov 2023 14:39:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@ellerman.id.au header.s=201909 header.b=Ca61jVTZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 870DC82E15A3; Thu, 30 Nov 2023 14:39:50 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377171AbjK3WjU (ORCPT + 99 others); Thu, 30 Nov 2023 17:39:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44794 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229823AbjK3WjT (ORCPT ); Thu, 30 Nov 2023 17:39:19 -0500 Received: from gandalf.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A8D6B133; Thu, 30 Nov 2023 14:39:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ellerman.id.au; s=201909; t=1701383964; bh=5B23+sJ4R/G/IPrsTJiKg5aaAttIL3oIv3CTZW1impU=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=Ca61jVTZHbsuNs9ja5Izelfn43im4SOW29udCDlIrv8Gn9pCAhrACHlsK0RYR02Nw b90CO9rCG0Ib3P/MwWx+FLMGxhElHJ5IDRK437SCBPO06FSFahe4Mlut5ykAcVs/tn tfZUyyAwUoMb4FAocO/IZp5rRhifgBQFyAELJATDFVMbl1WYyVQYol4hdOJJGg/jpd s341K17crZH6lxFOY/AIST+Z+E01Jp7We5aCd5m3rWA20C0Q6OmlTvr6ZPvPy1Trll 7IlQgXf/aETPDKKq/yOKar88IaeKUvOpcOTqGH3oWNle9LSO8GgubPbLaJ1qNI7B9/ uB+N43Llqf1IQ== 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 X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4ShB2N38Z0z4xWc; Fri, 1 Dec 2023 09:39:24 +1100 (AEDT) From: Michael Ellerman To: Stephen Rothwell , Andrew Morton Cc: Arnd Bergmann , Linux Kernel Mailing List , Linux Next Mailing List , PowerPC Subject: Re: linux-next: build failure after merge of the mm tree In-Reply-To: <20231201090439.7ae92c13@canb.auug.org.au> References: <20231127132809.45c2b398@canb.auug.org.au> <20231127144852.069b2e7e@canb.auug.org.au> <20231201090439.7ae92c13@canb.auug.org.au> Date: Fri, 01 Dec 2023 09:39:20 +1100 Message-ID: <87sf4m27dz.fsf@mail.lhotse> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Thu, 30 Nov 2023 14:39:50 -0800 (PST) Stephen Rothwell writes: > On Mon, 27 Nov 2023 14:48:52 +1100 Stephen Rothwell wrote: >> >> Just cc'ing the PowerPC guys to see if my fix is sensible. >> >> On Mon, 27 Nov 2023 13:28:09 +1100 Stephen Rothwell wrote: >> > >> > After merging the mm tree, today's linux-next build (powerpc64 >> > allnoconfig) failed like this: >> > >> > arch/powerpc/mm/book3s64/pgtable.c:557:5: error: no previous prototype for 'pmd_move_must_withdraw' [-Werror=missing-prototypes] >> > 557 | int pmd_move_must_withdraw(struct spinlock *new_pmd_ptl, >> > | ^~~~~~~~~~~~~~~~~~~~~~ >> > cc1: all warnings being treated as errors >> > >> > Caused by commit >> > >> > c6345dfa6e3e ("Makefile.extrawarn: turn on missing-prototypes globally") >> > >> > I have added the following patch for today (which could be applied to >> > the mm or powerpc trees): >> > >> > From 194805b44c11b4c0aa28bdcdc0bb0d82acef394c Mon Sep 17 00:00:00 2001 >> > From: Stephen Rothwell >> > Date: Mon, 27 Nov 2023 13:08:57 +1100 >> > Subject: [PATCH] powerpc: pmd_move_must_withdraw() is only needed for >> > CONFIG_TRANSPARENT_HUGEPAGE >> > >> > Signed-off-by: Stephen Rothwell >> > --- >> > arch/powerpc/mm/book3s64/pgtable.c | 2 ++ >> > 1 file changed, 2 insertions(+) >> > >> > diff --git a/arch/powerpc/mm/book3s64/pgtable.c b/arch/powerpc/mm/book3s64/pgtable.c >> > index be229290a6a7..3438ab72c346 100644 >> > --- a/arch/powerpc/mm/book3s64/pgtable.c >> > +++ b/arch/powerpc/mm/book3s64/pgtable.c >> > @@ -542,6 +542,7 @@ void ptep_modify_prot_commit(struct vm_area_struct *vma, unsigned long addr, >> > set_pte_at(vma->vm_mm, addr, ptep, pte); >> > } >> > >> > +#ifdef CONFIG_TRANSPARENT_HUGEPAGE >> > /* >> > * For hash translation mode, we use the deposited table to store hash slot >> > * information and they are stored at PTRS_PER_PMD offset from related pmd >> > @@ -563,6 +564,7 @@ int pmd_move_must_withdraw(struct spinlock *new_pmd_ptl, >> > >> > return true; >> > } >> > +#endif >> > >> > /* >> > * Does the CPU support tlbie? >> > -- >> > 2.40.1 > > I am still carrying this patch (it should probably go into the mm > tree). Is someone going to pick it up (assuming it is correct)? I applied it to my next a few days ago, but I must have forgotten to push. It's in there now. cheers