Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp36101959rwd; Mon, 10 Jul 2023 18:10:54 -0700 (PDT) X-Google-Smtp-Source: APBJJlHlncxekPsKwwz2McJrkP+5GTwIgdeDng0+DUheIuzPBD6b2OCQCL1rM7QHS36oFkTU8gF3 X-Received: by 2002:a17:906:770d:b0:98e:26ae:9b07 with SMTP id q13-20020a170906770d00b0098e26ae9b07mr13337975ejm.35.1689037853654; Mon, 10 Jul 2023 18:10:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689037853; cv=none; d=google.com; s=arc-20160816; b=fbQtnCPk43tEWpAchFjSQtHjbPlO8vITY8KouBQt+47wP7MqxaiLsTnaRVgVFzvIPx 5T5n+GNAzc4lUjvFDew2Nv3CfqjG5B1/dazJzKwid7p6Uo+mRNCoLfAQxwkjueY2XB7S ua3CZbsAh8kgkPQb5mtcMVyz9svmfcyIDIANMbRmTSxIXv6RgsqtVZdyHzeFKVXYV+Kg YOiSmH2RpJfhNS7pvEKf5xnJGa3vYg9B9w+YaXxJA3gl+j0NL1IiHHhaOtz+ygN+JbXy Pbjo8RHcm3aJL+TEjIug02Te6rRQR1LX5xtQ/rYCjIDoltEHljjPnyUUMuCstGgQxIVx 5+TQ== 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=H2odAZEC3iFOjj/wHrtG44sMYC7pyrZZzT+lRFSPmvI=; fh=jl5/hbRjuKw7YftxS+DK9LwJWEGQOva79Va+fUjd6z4=; b=mPsEK5VNpF51DgLdyCoiWa1t/csxCMMzqFmRvHZ3V5jph0WiZq7zgc3tj5I7L28G0w ZSXInVWsaZDdygnS0AzcftQyIhzeSJRno1YEBRq4CKgqldlqHj5CKaDt8eo9nQJTEiiT oZabloWFJmJDY6G5hctJ1+DMpObhvI5lxPMsvypgu/89VY2Eq3KvmI/jlzI5pJRhdzwM YjPc7lT+C6UEJ731OwgdQ/SEp9Bk8vWDTblo3CQpIQYrEU+zhNk14eJFYAeB/iCDTTzK DXvHnAay1vZU6jPq/4UE0o/aC7JqKUC4/jWqQJqytOSbEmLeezcSPWcRRHNTde3t6Cm6 fxBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=UAC9KLdb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e11-20020a1709067e0b00b00992f81122e9si814972ejr.340.2023.07.10.18.10.30; Mon, 10 Jul 2023 18:10:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=UAC9KLdb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230361AbjGKAzw (ORCPT + 99 others); Mon, 10 Jul 2023 20:55:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46390 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230063AbjGKAzv (ORCPT ); Mon, 10 Jul 2023 20:55:51 -0400 Received: from gandalf.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6AEB9A0; Mon, 10 Jul 2023 17:55:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canb.auug.org.au; s=201702; t=1689036943; bh=H2odAZEC3iFOjj/wHrtG44sMYC7pyrZZzT+lRFSPmvI=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=UAC9KLdbqMsjVhik77jNP5q+dyfue9EdJJS7U/mdqUtCI8xPFK6YR8MuhtP+k0zEV xIiT+to2xYFDfMdZiBtBGd4UZ66IYpm6q0mQtwEOW5wfg+UyCPm+oNIWH4G5dgwII6 2+RQcPvOy7qDaFg6n6PF2ajCnYmLNZqtYEs62l8IXQkOIz6UCCoX4ENiiglPRhpHYI HKjyflBLP5IW/Kd8QpkZORNzNZPflx0CWlkIA+utfWFN0OougwPlxGKmQxu0573tDp umY9cGg/TCcZ7Rjl1Y7lQJPUwE59bJEIrpgp163lU4d4NsioY9Kk+jYeA5OU7EmAW6 PlLOfURL+EnEw== 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 (prime256v1) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4R0Mqc6DVvz4wxN; Tue, 11 Jul 2023 10:55:40 +1000 (AEST) Date: Tue, 11 Jul 2023 10:55:38 +1000 From: Stephen Rothwell To: Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , Peter Zijlstra , Andrew Morton Cc: Dave Hansen , Linux Kernel Mailing List , Linux Next Mailing List , Rick Edgecombe , Ryan Roberts Subject: Re: linux-next: manual merge of the tip tree with the mm-stable tree Message-ID: <20230711105538.2e941593@canb.auug.org.au> In-Reply-To: <20230622131609.3fdf314d@canb.auug.org.au> References: <20230622131609.3fdf314d@canb.auug.org.au> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/bBa/Hh7hroM.Z8bJmHCgiEF"; protocol="application/pgp-signature"; micalg=pgp-sha256 X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Sig_/bBa/Hh7hroM.Z8bJmHCgiEF Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi all, On Thu, 22 Jun 2023 13:16:09 +1000 Stephen Rothwell = wrote: > > Today's linux-next merge of the tip tree got a conflict in: >=20 > mm/migrate.c >=20 > between commit: >=20 > c33c794828f2 ("mm: ptep_get() conversion") >=20 > from the mm-stable tree and commit: >=20 > 23a219c1860b ("mm: Make pte_mkwrite() take a VMA") >=20 > from the tip tree. >=20 > I fixed it up (see below) and can carry the fix as necessary. This > is now fixed as far as linux-next is concerned, but any non trivial > conflicts should be mentioned to your upstream maintainer when your tree > is submitted for merging. You may also want to consider cooperating > with the maintainer of the conflicting tree to minimise any particularly > complex conflicts. >=20 > diff --cc mm/migrate.c > index 6f4066425d47,8b46b722f1a4..000000000000 > --- a/mm/migrate.c > +++ b/mm/migrate.c > @@@ -220,8 -219,8 +220,8 @@@ static bool remove_migration_pte(struc > if (folio_test_dirty(folio) && is_migration_entry_dirty(entry)) > pte =3D pte_mkdirty(pte); > if (is_writable_migration_entry(entry)) > - pte =3D pte_mkwrite(pte); > + pte =3D pte_mkwrite(pte, vma); > - else if (pte_swp_uffd_wp(*pvmw.pte)) > + else if (pte_swp_uffd_wp(old_pte)) > pte =3D pte_mkuffd_wp(pte); > =20 > if (folio_test_anon(folio) && !is_readable_migration_entry(entry)) This is now a conflict between the tip tree and Linus' tree. --=20 Cheers, Stephen Rothwell --Sig_/bBa/Hh7hroM.Z8bJmHCgiEF Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAmSsqIoACgkQAVBC80lX 0GzPZgf8CUpuNV/f7OrZlANxJmbZARnQ0fyoVgNxVARKNEu6zH+huXt4fuhcZKft rsGI/wMExltAt/ldr++EDzVJ76H7FD0bjft2uFCJfVQRSpV2RD1lnaESpPjJrECh 91UffgfQWbF4ZimHWGxqFCBwAggjLrb/720655G3JDsNDWPo0KQVrJDS5vyEBjnh uFlSXrFudSgkG9rG3qWw1+VIcXcEhthdM8ykb3PIkXE8Ck+kjfCyNj2hth3J9jOK EjLEp9eWhOkcfRWhUPm6DGdu2PPkD+lZH3GR9ZLGBibltijABdhZnFL8V4Z4cW7r OZj6b6SNcvRd7A9tSGQFmr6+om5Ckw== =ePuI -----END PGP SIGNATURE----- --Sig_/bBa/Hh7hroM.Z8bJmHCgiEF--