From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg Kroah-Hartman Subject: Re: [PATCH] kernfs: Move faulting copy_user operations outside of the mutex Date: Thu, 31 Mar 2016 13:15:20 -0700 Message-ID: <20160331201520.GA22511@kroah.com> References: <1459421106-17788-1-git-send-email-chris@chris-wilson.co.uk> <20160331164915.GC24661@htj.duckdns.org> <1459445405.8191.32.camel@linux.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Content-Disposition: inline In-Reply-To: <1459445405.8191.32.camel@linux.intel.com> Sender: linux-kernel-owner@vger.kernel.org To: Joonas Lahtinen Cc: Tejun Heo , Chris Wilson , Daniel Vetter , intel-gfx@lists.freedesktop.org, Ville =?iso-8859-1?Q?Syrj=E4l=E4?= , NeilBrown , linux-kernel@vger.kernel.org List-Id: intel-gfx@lists.freedesktop.org On Thu, Mar 31, 2016 at 08:30:05PM +0300, Joonas Lahtinen wrote: > On to, 2016-03-31 at 12:49 -0400, Tejun Heo wrote: > > On Thu, Mar 31, 2016 at 11:45:06AM +0100, Chris Wilson wrote: > > >=20 > > > A fault in a user provided buffer may lead anywhere, and lockdep = warns > > > that we have a potential deadlock between the mm->mmap_sem and th= e > > > kernfs file mutex: > > ... > > >=20 > > > Reported-by: Ville Syrj=E4l=E4 > > > Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=3D94350 > > > Signed-off-by: Chris Wilson > > > Reviewed-by: Joonas Lahtinen > > > Cc: Ville Syrj=E4l=E4 > > > Cc: Joonas Lahtinen > > > Cc: Tejun Heo > > > Cc: Greg Kroah-Hartman > > > Cc: NeilBrown > > > Cc: linux-kernel@vger.kernel.org > > Acked-by: Tejun Heo > >=20 >=20 > Thanks. >=20 > I have applied this locally to our repo to be included into our CI > builds. >=20 > We will drop the local patch once this waterfalls from upstream to ou= r > drm-intel-nightly repo. So is this something that needs to get into 4.6-final because it resolves a reported issue? Or can it wait for 4.7-rc1? thanks, greg k-h