Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp7201120ybi; Mon, 8 Jul 2019 16:48:15 -0700 (PDT) X-Google-Smtp-Source: APXvYqxF89LX4fx1BWzj+1ih9CEePt2Hnsfsi2etgI/W9Yl4mljrv2Trgbe0/mTTyoMDpX9oyv6I X-Received: by 2002:a63:db4b:: with SMTP id x11mr26599346pgi.254.1562629695198; Mon, 08 Jul 2019 16:48:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562629695; cv=none; d=google.com; s=arc-20160816; b=oDdIfVZMJF/pBg37zjyx1mng3eh4uAMLzD2b46wAALmBHI7kjuci23ppfu+DavOUVM QkN5v+KClQz7nWmboBNic/E3OtKdi2DYFnbLR6gpSPFEX8+Gz+AL5qhuriwvnyr/cjiC iDuayGvWjn3wWiJLYLZ+Uk1BT4LvUD3p/ALixz0EWHQ0vtLwVLE51XG/ClriEUbLBsHK K7u1HTMMscAhtEmhVzqdt6mC5hafL3RsPJPfDE1/zDdr54nCtrfDCvb3059Kv4KBG53F Fbaj0yox0ZJNJndNXj6ELgy5VqLON6ASvWF1k7Hlx4lsbwre2K6Zr7eHHgBbFnbaNzZG t6pg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:dkim-signature; bh=WSOPF43RTLrQs+24AqzBE9tGG7iE5LkRGDV4jCQnh4s=; b=tpeTnBeQWsuvnUNP4r5I5018r+vo1VEwtg3h2hJInxahzDzD4GD8gyOw/2FXIT1xiq YuIOQbD4naYd/69ACINlduJuzIG2fzAbVUEaptCt+4DV+bvIEFtQf7QNKuRlkQbmiDr7 6SKdvbKb5w0h6yrRUHI7BQzZOw70GxNGvSxBB8e+z03Z4wjEsMt8ss2EZ4Cz478OajHA 89nDUaD5rMfHi1GTzEmeYeMs2JgbjTI9Dm+ChZu1q9lsKk811eVwRoSDj4shjbwkclMb pD7YmH6K/+adu/eWEbyO5NsmmD+vlasBs3sgwoE7+HGYzumNdAm/UbUTGv60+piAA0qB LxKQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=DYIsz984; 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 l62si18854047pgd.24.2019.07.08.16.48.00; Mon, 08 Jul 2019 16:48:15 -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; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=DYIsz984; 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 S1726945AbfGHXP0 (ORCPT + 99 others); Mon, 8 Jul 2019 19:15:26 -0400 Received: from ozlabs.org ([203.11.71.1]:53127 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725977AbfGHXP0 (ORCPT ); Mon, 8 Jul 2019 19:15:26 -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 45jLs7063lz9sML; Tue, 9 Jul 2019 09:15:22 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=canb.auug.org.au; s=201702; t=1562627723; bh=ba8FWgVE23b8w0JrUPK9RJHVOQCWVSjZAuL38KMiQZ0=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=DYIsz984BFjPVioJPMLCRak6MW8GlW3AIhcu6oYa3DJ9edo/0ttUbM9JUae853zLT yugV+dQIPrgJR/RYV3OG2hUIHkYQL49xBeI0PUIQ3sUugOJtlpSWAq7f22iM4lb08e w8xm8LCvMTptbJckztH0WHLP44HR24gY4n8iiOxEIO9MK8UrPF06hvyN80u2IRYGov FqKppfbhmuOteMSlqkPpJGUv4UCCOam/x4jeIMqTOdjMo2xbLxEOPvnkjLPgd1m0a2 nY2vFeUmQcfw21bd6SehUDdh9HTEtL4oMOKnROQ4aEASP218nOf4CUlNisao+bdweB dHxrZzNnUco5w== Date: Tue, 9 Jul 2019 09:15:21 +1000 From: Stephen Rothwell To: "Eric W. Biederman" , Vineet Gupta Cc: Linux Next Mailing List , Linux Kernel Mailing List , Eugeniy Paltsev Subject: Re: linux-next: manual merge of the userns tree with the arc-current tree Message-ID: <20190709091521.0b264257@canb.auug.org.au> In-Reply-To: <20190530131721.0af603a4@canb.auug.org.au> References: <20190530131721.0af603a4@canb.auug.org.au> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/qKsjICntNxKwVqJjy3ZMRsz"; protocol="application/pgp-signature" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Sig_/qKsjICntNxKwVqJjy3ZMRsz Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi all, On Thu, 30 May 2019 13:17:21 +1000 Stephen Rothwell = wrote: > > Today's linux-next merge of the userns tree got a conflict in: >=20 > arch/arc/mm/fault.c >=20 > between commits: >=20 > a8c715b4dd73 ("ARC: mm: SIGSEGV userspace trying to access kernel virtu= al memory") > ea3885229b0f ("ARC: mm: do_page_fault refactor #5: scoot no_context to = end") > acc639eca380 ("ARC: mm: do_page_fault refactor #6: error handlers to us= e same pattern") > 0c85612550a4 ("ARC: mm: do_page_fault refactor #7: fold the various err= or handling") > c5d7f7610d88 ("ARC: mm: do_page_fault refactor #8: release mmap_sem soo= ner") >=20 > from the arc-current tree and commits: >=20 > 351b6825b3a9 ("signal: Explicitly call force_sig_fault on current") > 2e1661d26736 ("signal: Remove the task parameter from force_sig_fault") >=20 > from the userns 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 > --=20 > Cheers, > Stephen Rothwell >=20 > diff --cc arch/arc/mm/fault.c > index e93ea06c214c,5001f6418e92..000000000000 > --- a/arch/arc/mm/fault.c > +++ b/arch/arc/mm/fault.c > @@@ -187,21 -228,14 +187,21 @@@ bad_area > return; > } > =20 > - goto no_context; > + if (fault & VM_FAULT_SIGBUS) { > + sig =3D SIGBUS; > + si_code =3D BUS_ADRERR; > + } > + else { > + sig =3D SIGSEGV; > + } > =20 > -do_sigbus: > - up_read(&mm->mmap_sem); > + tsk->thread.fault_address =3D address; > - force_sig_fault(sig, si_code, (void __user *)address, tsk); > ++ force_sig_fault(sig, si_code, (void __user *)address); > + return; > =20 > - if (!user_mode(regs)) > - goto no_context; > +no_context: > + if (fixup_exception(regs)) > + return; > =20 > - tsk->thread.fault_address =3D address; > - force_sig_fault(SIGBUS, BUS_ADRERR, (void __user *)address); > + die("Oops", regs, address); > } I am still getting this conflict (the commit ids may have changed). Just a reminder in case you think Linus may need to know. --=20 Cheers, Stephen Rothwell --Sig_/qKsjICntNxKwVqJjy3ZMRsz Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAl0jzooACgkQAVBC80lX 0Gws/wf+KzZstLr2a+CXAaiI0oVlQi0NTSF2GaDUPm1vo2Y6TGboEIXfEPAUfUJf bRbwBBIU+ThpDyS1rpXKaf7acuoj42J8pGsdsFz82Ul7y/9128LjoSLJ0vlksina RSD9iXq5/tXMmBKTwCmLc6mLw1+Q+eTeAMYftIfph+CZ8iN+2NyfNTh/21DSd6Uk dcccvuSvlH0qZCzPbYM8pdRo7VS8iYazoS9tcvbFibYoJlBUMezzl7TzdainN/5/ E+NibMtxkzdj3p27GqXGNiRX9jOOhwkfl3f/Aue0BacBDVfsovn86H+p4jpnVv7K eHGS0aOLPjw0lUinVEV/EstBZmc7Fw== =Saob -----END PGP SIGNATURE----- --Sig_/qKsjICntNxKwVqJjy3ZMRsz--