Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp7008166ybi; Thu, 1 Aug 2019 01:49:16 -0700 (PDT) X-Google-Smtp-Source: APXvYqw7K4B3zgVqnD2Bki4OBzKmQQjsg+JDPYVgyR2iDoKYdJjYcS4HHj6DNqprE59WHpKlF4RF X-Received: by 2002:a65:65c5:: with SMTP id y5mr116688580pgv.342.1564649355947; Thu, 01 Aug 2019 01:49:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564649355; cv=none; d=google.com; s=arc-20160816; b=f/v6iaNB7WBJu0up7xVlizAKzwg0QjUNFc1fVflyUwn6J6fUvrLTJDtHIpa6Rwzt8Z vOlFN3XvoThbWdaoxNOPAY7VfUY7eyOi8moxZkBMFkjY/h4AegeYAkoBcLLJfwO5SI1r 9Twnz07Lp795sgEg2d3bttnXT/R4xVaTtEMJVtovSAjUo1Gm5MFzZSsv0TLcDz89DCle sHvzUPzsJk4J1l5CuXgoENUtEiBrkJgYCPdZk7NzgQdvCgaObLkzTOphoCbj4clKaXbT 3RkWYD6E9iQi38s8GMjE61bmo2o/+JDoiiA2I1REvLKX9LWRrPGYTNzQLBWWGrZGcqOi sHhg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=pWZGSiAIuSqQ2OBENUKoGQ7gQIrWn2m52TXh6MZ5ZfQ=; b=Vd6bpRJu0/C5Z4DKCsGTgjwjVf/ANuaQHziy7cQluRq/26+KzfyvB7Gpu+eZkjh43I VuMdvkkPuD6ZE9m5FYAPpmc/jxSBP5Dtri25nJugL+DZoF2Ym5UY6wDCUgMXwBlw3EkS eUFpGL3Hnem3rZGdHz5XQjSdSqpBrfzR9wdFKqq9xS0YA1NMeLpxE0pphTO4EEP0uk6L 29l4hDY+9DXK1j6BBp2Tvsv9WDRThZT/fhR82n0mL/YrI6yFKfb2kqMAJtjEJLwidbhk wgLdlb0ZppmiimIvi1MRcArZGNg+4kjb3H8Q1OKCC5VCGMPZT5Pa7cJ6oQMyv6EbmMkK 238g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=E9v980Gj; 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 i186si36178182pge.9.2019.08.01.01.48.59; Thu, 01 Aug 2019 01:49: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=@kernel.org header.s=default header.b=E9v980Gj; 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 S1729661AbfHAIsF (ORCPT + 99 others); Thu, 1 Aug 2019 04:48:05 -0400 Received: from mail.kernel.org ([198.145.29.99]:51062 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725946AbfHAIsF (ORCPT ); Thu, 1 Aug 2019 04:48:05 -0400 Received: from localhost (ip-213-127-251-216.ip.prioritytelecom.net [213.127.251.216]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 31C9C206A3; Thu, 1 Aug 2019 08:48:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1564649284; bh=4xrW53rvWPD3pPegD4ti28KqG5APQ7CQidIuoGRmFAc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=E9v980GjYu7u0qo7sRMaSmu8g2MsZZclP0vxzIWxUokUf2ms9c05i9muY46zCRKwg 7Z/Db9Qpg2FeiFVHHqY83FYHPr+YoAsEhAuL1g6fjpfx+MnOS5HfF5VUWa7CYdC045 4jaM3Y1aZyrMl2veqV6efHroQwVVLyRbz5eEnDcc= Date: Thu, 1 Aug 2019 10:47:59 +0200 From: Greg Kroah-Hartman To: Dan Williams Cc: Pavel Machek , Linux Kernel Mailing List , stable , Vishal Verma , Jane Chu Subject: Re: [PATCH 4.19 112/113] libnvdimm/bus: Stop holding nvdimm_bus_list_mutex over __nd_ioctl() Message-ID: <20190801084759.GC1085@kroah.com> References: <20190729190655.455345569@linuxfoundation.org> <20190729190721.610390670@linuxfoundation.org> <20190731181444.GA821@amd> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.12.1 (2019-06-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 31, 2019 at 12:31:07PM -0700, Dan Williams wrote: > On Wed, Jul 31, 2019 at 11:15 AM Pavel Machek wrote: > > > > On Mon 2019-07-29 21:23:19, Greg Kroah-Hartman wrote: > > > From: Dan Williams > > > > > > commit b70d31d054ee3a6fc1034b9d7fc0ae1e481aa018 upstream. > > > > > > In preparation for fixing a deadlock between wait_for_bus_probe_idle() > > > and the nvdimm_bus_list_mutex arrange for __nd_ioctl() without > > > nvdimm_bus_list_mutex held. This also unifies the 'dimm' and 'bus' level > > > ioctls into a common nd_ioctl() preamble implementation. > > > > Ok, so this is a preparation patch, not a fix... > > > > > Marked for -stable as it is a pre-requisite for a follow-on fix. > > > > ...but follow-on fixes are going to be applied for 5.2 but not > > 4.19. So perhaps this one should not be in 4.19, either? > > I plan to follow up with a backport of the series for 4.19. I have no > problem with v4.19 carrying this in the meantime, but if you want to > kick it out and wait for the backport, that's fine too. I didn't mean to include this, I was going to go and remove it, my fault for keeping it in. But, if you are going to send the series backported, I'll leave this in for now as that will make your work easier. thanks, greg k-h