Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp6433472ybi; Wed, 31 Jul 2019 14:24:00 -0700 (PDT) X-Google-Smtp-Source: APXvYqzsyS19w4jpv05toF4VJNmCNxWv4jA1s+9T+rd2c/FIeoW+anv+sz01r9/RH3ftVZC2QPWg X-Received: by 2002:a62:1807:: with SMTP id 7mr48450931pfy.149.1564608239991; Wed, 31 Jul 2019 14:23:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564608239; cv=none; d=google.com; s=arc-20160816; b=B/HxGbuddK6k9R6EvfGEQt7w9KaOG4YkqHFLi7i/G37v07XHx1H26i8vBcO2dkUqyv 0v8AOb45Q6BnIqeduh3l28WKGMsSxm8KzGRy4B8RrQkeuGi+GL1ZUTBofK8xJlLTell6 vHyS7Qh+mwYNzm2LBgUFksIT9AJfMLk6UisBhJwBFvQjZCRlsJ9qBsQDfgmI4ouNE79z uJcjA0NkCR+vGF1TOLq1pU/tAGos2jg/7PtiTYuehL/KifQWcjfLTLQrIOr8dkgPoyrf npFxso3cAjDAMy/HBEDUGlbNBZZrPelnAzKns0qqix2PiL/0lgF5a6Jvq9JCc9xqCilf YlGg== 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; bh=nibUxwPfkpR1A5V0OMsOJhfK7kTVeEU2Vo3ZNDiKGAI=; b=S5Mi54KTzazOqqYUeDvQUAnEUsyQmtQcvTIYTxObCaB5M1eQO1bO3Xu3fJPLSvYA/p tqt47OE8GyAqybtrRSMmyr4DfV82F71BuhG+2cFWvre3NOfoRS8OVMm30lj3HqySq/h6 ZrwfivI67Zi8Bnx0Li/Ye9+3XOMV8uxbqr12YwzafEZSHUB7NLEkSEsSBPWu1WRhOrNk 4nyWdRE6zOBn/lTpA+3+rGT5gClN0MA1pRhSzjJ+G4+YQdlcxIFpu2KCdjOJne4iDrpp aNxPoqVQMJavdQkFDTm8mGG/m8f2sduuyC/ooPxWl/9JuG1nDTn6JCI5lTt3KziYsHAf GkZA== ARC-Authentication-Results: i=1; mx.google.com; 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 v137si33626472pfc.190.2019.07.31.14.23.42; Wed, 31 Jul 2019 14:23:59 -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; 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 S1728922AbfGaSOs (ORCPT + 99 others); Wed, 31 Jul 2019 14:14:48 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:46161 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727167AbfGaSOs (ORCPT ); Wed, 31 Jul 2019 14:14:48 -0400 Received: by atrey.karlin.mff.cuni.cz (Postfix, from userid 512) id EEAD2802F0; Wed, 31 Jul 2019 20:14:33 +0200 (CEST) Date: Wed, 31 Jul 2019 20:14:45 +0200 From: Pavel Machek To: Greg Kroah-Hartman Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org, Vishal Verma , Jane Chu , Dan Williams Subject: Re: [PATCH 4.19 112/113] libnvdimm/bus: Stop holding nvdimm_bus_list_mutex over __nd_ioctl() Message-ID: <20190731181444.GA821@amd> References: <20190729190655.455345569@linuxfoundation.org> <20190729190721.610390670@linuxfoundation.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="PNTmBPCT7hxwcZjr" Content-Disposition: inline In-Reply-To: <20190729190721.610390670@linuxfoundation.org> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --PNTmBPCT7hxwcZjr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon 2019-07-29 21:23:19, Greg Kroah-Hartman wrote: > From: Dan Williams >=20 > commit b70d31d054ee3a6fc1034b9d7fc0ae1e481aa018 upstream. >=20 > 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. =2E..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? Best regards, Pavel (Plus its quite complex). > drivers/nvdimm/bus.c | 94 ++++++++++++++++++++++++++++------------= ------- > drivers/nvdimm/nd-core.h | 3 + --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --PNTmBPCT7hxwcZjr Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAl1B2pQACgkQMOfwapXb+vJpdgCbBAV9m0328rZBqRMvo6K0u83S HvkAni7cGN1XvGoPutUfrRqfcb/9Z14u =BEUc -----END PGP SIGNATURE----- --PNTmBPCT7hxwcZjr--