Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp2770620rdh; Sun, 26 Nov 2023 19:49:14 -0800 (PST) X-Google-Smtp-Source: AGHT+IEt4utu2e0C05M0+pk77GaztcX9W6J2rzPSZftYUQF0YqGRMn18FSUD1Gf2VmrqKO4uAdIE X-Received: by 2002:a05:6870:75c9:b0:1f9:602e:7b0b with SMTP id de9-20020a05687075c900b001f9602e7b0bmr15714578oab.2.1701056953945; Sun, 26 Nov 2023 19:49:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701056953; cv=none; d=google.com; s=arc-20160816; b=lNapaLZTz3CTFXw97erog1rU8XBfEa+x0vPOJAucxGGF8TRbrTmhM08iM67WR/x0C9 MX/3JYpIjEQmxbk+DRdy8xO56EJKFp6aLDI+MiE03k9itVmqUvrY5p1IhOnvLjWdPOLo GwDs441/uePlzpdcWXbiu/5ge9nHfw5E9WRLpV7+rrhYEktVmfiPQIgPCqqPM4imcvbc chCy98ai3ZZFGRr4kcghVmsqieNUdknEcp01v/jgmD1tRKLy4FzMTW0TsTAT6KRlUSFL LsGd41BhBkYe4uv1VfrGdSicWvMPiHjEITpBBMFJk/eEiHneevpV1jTBU/OB1RKKmdMn 7daA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=xDZKSlzh1/UCfSWZwMAP6iEXsWt5FFryCFfldIgRDvM=; fh=pnFLXWloTnGpXmkCjL//dkFuYCG+u5MLO6Rp3erMeIM=; b=TmpviUYLOCmGvBD73M5jztXZFpNMNJNFqJUFe639aL6xhTu0IOLnKM8UgLSWYfb0qm XxX7O7REIxcAgQh2RBkKuok0gy1QSgMdJZmeaIW+/gL5UrK5QXrrCvS3ZeqScwknsCr/ Di8wxhGRGdvPi2Ecsu8NQYvFwBZobIIHzTwXJhBbD3nmfR5nZfH0DsoocDjZied8zzA/ l2AgjuWXVJCq4MJZqJ92gBiL+smj5X6sfZAoJonrI7WdrkgPgQ6Owsl/Qrhxgt0bOZ1U QkjeLAdMMjUAVVMUUOgwiGnYNjX2AAn6cpAGS8s3ReaJoDdgILIrEgvbI/0YEtM3TICN FOxA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=tq93Kuo3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canb.auug.org.au Return-Path: Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id u20-20020a056a00099400b006cd8754211esi2656779pfg.250.2023.11.26.19.49.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Nov 2023 19:49:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=tq93Kuo3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canb.auug.org.au Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id F1B6C806228C; Sun, 26 Nov 2023 19:49:05 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229527AbjK0Dst (ORCPT + 99 others); Sun, 26 Nov 2023 22:48:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41128 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229379AbjK0Dss (ORCPT ); Sun, 26 Nov 2023 22:48:48 -0500 Received: from gandalf.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 012F1127; Sun, 26 Nov 2023 19:48:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canb.auug.org.au; s=201702; t=1701056933; bh=xDZKSlzh1/UCfSWZwMAP6iEXsWt5FFryCFfldIgRDvM=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=tq93Kuo33izvLI6GbhYWWx5Ia6NAAoD3hBp9dEPcUCYATgIfb9agy/7CueloQpLu3 gHrLDRCrAebicnW4a+sFrH9U0rjM9jOgirIPng00QJD7JlfXMPC8LVt2KGV4rtZziu /MyP/uaZy2XREwjPURXMecVh/lIETFw4KrVpknXPLoPVRZyDrzv3eAsQ2PucYbX8WS lHbLA9tiG6FMRAOBm0zmpYMUPAc1itaGiR4A7aoRVg1h0pBU9lLA1bI1uVTslL5RQh MFVzulnEAitK6bDbE3vNqo8lfVd2Z4/V/kAF2XcqsmSu6XHG4BBcN+PlIu3ZAV+LRA 7D7yIe3iAv17Q== 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 4Sds5K2g9nz4wbr; Mon, 27 Nov 2023 14:48:53 +1100 (AEDT) Date: Mon, 27 Nov 2023 14:48:52 +1100 From: Stephen Rothwell To: Andrew Morton Cc: Arnd Bergmann , Linux Kernel Mailing List , Linux Next Mailing List , Michael Ellerman , PowerPC Subject: Re: linux-next: build failure after merge of the mm tree Message-ID: <20231127144852.069b2e7e@canb.auug.org.au> In-Reply-To: <20231127132809.45c2b398@canb.auug.org.au> References: <20231127132809.45c2b398@canb.auug.org.au> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/1OxpgZpOL2DDzmvOW3C.v.M"; protocol="application/pgp-signature"; micalg=pgp-sha256 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 howler.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 (howler.vger.email [0.0.0.0]); Sun, 26 Nov 2023 19:49:06 -0800 (PST) --Sig_/1OxpgZpOL2DDzmvOW3C.v.M Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi all, 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: >=20 > arch/powerpc/mm/book3s64/pgtable.c:557:5: error: no previous prototype fo= r 'pmd_move_must_withdraw' [-Werror=3Dmissing-prototypes] > 557 | int pmd_move_must_withdraw(struct spinlock *new_pmd_ptl, > | ^~~~~~~~~~~~~~~~~~~~~~ > cc1: all warnings being treated as errors >=20 > Caused by commit >=20 > c6345dfa6e3e ("Makefile.extrawarn: turn on missing-prototypes globally") >=20 > I have added the following patch for today (which could be applied to > the mm or powerpc trees): >=20 > 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 >=20 > Signed-off-by: Stephen Rothwell > --- > arch/powerpc/mm/book3s64/pgtable.c | 2 ++ > 1 file changed, 2 insertions(+) >=20 > diff --git a/arch/powerpc/mm/book3s64/pgtable.c b/arch/powerpc/mm/book3s6= 4/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 *v= ma, unsigned long addr, > set_pte_at(vma->vm_mm, addr, ptep, pte); > } > =20 > +#ifdef CONFIG_TRANSPARENT_HUGEPAGE > /* > * For hash translation mode, we use the deposited table to store hash s= lot > * information and they are stored at PTRS_PER_PMD offset from related p= md > @@ -563,6 +564,7 @@ int pmd_move_must_withdraw(struct spinlock *new_pmd_p= tl, > =20 > return true; > } > +#endif > =20 > /* > * Does the CPU support tlbie? > --=20 > 2.40.1 --=20 Cheers, Stephen Rothwell --Sig_/1OxpgZpOL2DDzmvOW3C.v.M Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAmVkEaQACgkQAVBC80lX 0Gx3Uwf/eggLiBT0CMRtGTvKcImnVpzRYOstDC8af1O5yiQc2pfZeP1h5aG+DXTw eT/PR/kTiL3zK9pywiKe3a2wJu0UN/QZinW/7Mk/xJf3L8JHGUu+fyAaVjBKqjm9 Ze+PH6AACdmi84DkTzOKmkLZR7AauuyKyuDbltPMrga6zsex0/shCRHRxjs3aGQu x+4eeWsjx2Pf24kUHrQ8f44+5cJZ+A9Vjzh99cJvycepd3GJEoTohBEPoda0NFCD xIGHUDC1B/dNuxzaGYkYy6jqYWtk/cjJOI/I3KvzYubPQwr3m7OVhe4EI11IyvSR kpoHYFK6c3LJ3LNWRf5SWFs3mS6+gA== =N35d -----END PGP SIGNATURE----- --Sig_/1OxpgZpOL2DDzmvOW3C.v.M--