Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp633344rdb; Thu, 30 Nov 2023 14:04:57 -0800 (PST) X-Google-Smtp-Source: AGHT+IGRVUPgv5zBmen2GU3dVQJnbXk9OpLRS/z5FSE0sL5PuUw6TVBFRsoonH/qd6dZAKFwxGX3 X-Received: by 2002:a92:d347:0:b0:35c:e9c7:2517 with SMTP id a7-20020a92d347000000b0035ce9c72517mr13555742ilh.30.1701381896965; Thu, 30 Nov 2023 14:04:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701381896; cv=none; d=google.com; s=arc-20160816; b=aGTu7zvR2PrwFbeg2e5HCOi7h7MrVgtl75zFQqMDrIOQ3zt4EsD6ujKxRjswy65zCM ZgJCKBUGd7fgIPlcIWbrmo5Hs2aN7+zOvaJExDWR+SIQfkVtp7qR/vq58loAOaQsw8sw sE1fW9W39ERc1PAfIK2Vn75+zEaBp3jlAcq/ude74ZHLrFp6uBGY6eA0TbD2s/7lhvY7 jbU9lEIqU1/hYHAakDpzS/2jCmpvSmBJk6bm2IJRou85gxES8l8RgFQq039OkqWCEzuw JZViwXNpCneX/AZu671KC6+1zDaPmNRMMHTqvEDMWoX6Cj/Ucw8BdmIWNa6V7mErufkr IhFA== 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=ZihOGHfcGL6IPblR8lpNHXKjLfhDSV+YMLeb5Lb4EXU=; fh=pnFLXWloTnGpXmkCjL//dkFuYCG+u5MLO6Rp3erMeIM=; b=AGDY+5X4QJTGI2PseK5xHr9CdtRlS1wJYIy24rO0sMf6avSOckWQ1f8G3ZRLj8k8wO kkXal9kNwqwx04SDagdw56dMtVC7WxaRzPsY/DruKYOTvq9JCxyN1FGUGmmyhuJj+tRZ DQrPSxu3EPZDyT7Wx0zONWBlKZ6Ps+mG3rvzaIKpPHVbUwvqOFs83Lqlybw6mIKO5HsW ZzPKMXhN6jNPRs1T5bJA6veY2d28gQ6bfX/YJyHKWNdxxuzdrn48cULo5cwC47YhcDBM NvfTcqzSsDTB7vCvJbLlIQUGPU2uWvRJ9dVgRnOtGDse/jILZ1dX8XVbg7wnt/tFVxGC jn8A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=jEncOMNK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 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 agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id n126-20020a632784000000b005bd052042f4si2152456pgn.69.2023.11.30.14.04.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Nov 2023 14:04:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=jEncOMNK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 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 agentk.vger.email (Postfix) with ESMTP id 30F4380ADEC9; Thu, 30 Nov 2023 14:04:53 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377082AbjK3WEg (ORCPT + 99 others); Thu, 30 Nov 2023 17:04:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46322 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1377044AbjK3WEf (ORCPT ); Thu, 30 Nov 2023 17:04:35 -0500 Received: from gandalf.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 87067D40; Thu, 30 Nov 2023 14:04:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canb.auug.org.au; s=201702; t=1701381880; bh=ZihOGHfcGL6IPblR8lpNHXKjLfhDSV+YMLeb5Lb4EXU=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=jEncOMNKVJSLImHusypGjPZzbfg5EmNUruYT8vz/AqndZ0vEsf+aL7RFsRQtP7kcV 0ulLgfKITqepuGJhI1dxVuVOfSc6lkoOErzjqdz4WGOJmaPyX2+e33uhBDsTR2y7JG 8/HaXZD3m4lyiYJGnTvk2pG7v+pQxIV8/OuSd7Hx23k818U/zEZ4pyZYu+YUYqpLd1 XPexA34WHfA2Yv6Be0BMkXiqrE2whR5nVG7yMmCcMyRhiyHd0mlW5zp0OM1T7w+deR 0eFdoJ1Wd7pauSqcI3vqxlcfAmjHoRqsHYibX89iX7VznsCRa86U2lI6Q6JkJX3ELj hwY+ALStXeijQ== 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 4Sh9GH5tcSz4wx7; Fri, 1 Dec 2023 09:04:39 +1100 (AEDT) Date: Fri, 1 Dec 2023 09:04:39 +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: <20231201090439.7ae92c13@canb.auug.org.au> In-Reply-To: <20231127144852.069b2e7e@canb.auug.org.au> References: <20231127132809.45c2b398@canb.auug.org.au> <20231127144852.069b2e7e@canb.auug.org.au> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/mftAfNUiKPZGOFgp0y=in45"; 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 agentk.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 (agentk.vger.email [0.0.0.0]); Thu, 30 Nov 2023 14:04:53 -0800 (PST) --Sig_/mftAfNUiKPZGOFgp0y=in45 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi all, On Mon, 27 Nov 2023 14:48:52 +1100 Stephen Rothwell = wrote: >=20 > Just cc'ing the PowerPC guys to see if my fix is sensible. >=20 > 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 = for '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 globall= y") > >=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/book3= s64/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); > > } > > =20 > > +#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, > > =20 > > return true; > > } > > +#endif > > =20 > > /* > > * Does the CPU support tlbie? > > --=20 > > 2.40.1 =20 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)? --=20 Cheers, Stephen Rothwell --Sig_/mftAfNUiKPZGOFgp0y=in45 Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAmVpBvcACgkQAVBC80lX 0GydrAf9GN954MjHMtmQr8oDfEmXP34v1XDb6cN03i1NEMNhX1K0QIBor+LlMZKx OZg9WsMzA5OqCViRJHFD3vi6ZTmy8Z4bQPsXuUqz5/l+v4XC9nGP7x8GcPvdhktG j3y9FFpY5EyPTTEUYoApw9WdXjaFIMYwZGyzfYXnVS0rj3BY47YmTx757ndCXhgc GnlOMV6eQXgV+mxwo5lg96O8GVeBYVShREmDOiVbOgOiRm1Moe8CL9JLFDn5tDW2 tfqsFl4X/S+y5iYdTdrPqjJuVkDGnLqPSRNogDHW2K6ZacV0shaFVhHd2pTfJqTN KmZ1QNG1L7moZcoA8XIAJcIUC8TQIg== =JUuX -----END PGP SIGNATURE----- --Sig_/mftAfNUiKPZGOFgp0y=in45--