Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp14022542ybl; Mon, 30 Dec 2019 02:33:12 -0800 (PST) X-Google-Smtp-Source: APXvYqzmxVeBTvpAqNH/sk0cpW37vTabNXkjc8T1y0ST5wmbjHzgjiw+BHMH9tjwqow5OSBrvA2D X-Received: by 2002:a9d:748d:: with SMTP id t13mr71022444otk.181.1577701992449; Mon, 30 Dec 2019 02:33:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577701992; cv=none; d=google.com; s=arc-20160816; b=ISsdwGwUti6bWb4WRxul13I+EoTi5K/kr/UwfhTfut7yPNq/Pix596uISj+INyj6SC +9BFhs4oe0qeWghE65JwaaZZ8weZKIwg2ky0ErLAcpaHuzJrDEyTH1ypr1ZMxj0hhuYO JjZoURAPy+txKi8SQJFabpqWFVV5S4MheZwD3Iy6B2NQe157zw92pO9z+gUGwy102Yld osvcou9v1sX3UiPE4DoLkE4i+vUMKvnbJMSPd+Ey5j4RrFX59HCUB9yjvn+192hlFgWG 9XrVtG1z8QGcO88YTbM8ITB6kMLTKIb8fDp11hcIIYvwdMadKyCANa9zc8d9ZAqdvTcc BP2A== 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=R+qyJsdglkG2jnUoSHn2bu9ljoLDSzJCZhhKKVuYBB8=; b=ONLu0FgYukoTPy6ld1XI6fQr94IPco/W9F1VV4W1xRMATapS0s/btIWOyADDlskQ9Y ynFR/atle5PCxPdxJNfY6WhjksTJ5IuXBP1WtPh45lzBg7O8yW+QAebVwwEuC3l1XEZy qBvFzdB2f0tlQDDRxbvbFS9PMlT04fgOl7hP5/s3KMYcRsdclWZU+aW8OUksBwh7ImKU vXs1MXTR1R38fkLwuZe6xyT8ksw5IAN9Bal1eeuPO97T1KoYBP7C/lM01V+gN2w8Kl4D nS4zfU+/RGZVowN0RPC1Qp3Lu2kHOJwQuE49ksAM46XWL9eC1LBI0vQPBpVTignDUWxh B11A== 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 n25si18969865oij.175.2019.12.30.02.33.01; Mon, 30 Dec 2019 02:33:12 -0800 (PST) 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 S1727389AbfL3KcV (ORCPT + 99 others); Mon, 30 Dec 2019 05:32:21 -0500 Received: from jabberwock.ucw.cz ([46.255.230.98]:60364 "EHLO jabberwock.ucw.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726196AbfL3KcV (ORCPT ); Mon, 30 Dec 2019 05:32:21 -0500 Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id 8DE3A1C2604; Mon, 30 Dec 2019 11:32:19 +0100 (CET) Date: Mon, 30 Dec 2019 11:32:18 +0100 From: Pavel Machek To: Greg Kroah-Hartman Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org, tony camuso , Corey Minyard , Sasha Levin Subject: Re: [PATCH 4.19 089/219] ipmi: Dont allow device module unload when in use Message-ID: <20191230103218.GA10304@amd> References: <20191229162508.458551679@linuxfoundation.org> <20191229162520.260768030@linuxfoundation.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Kj7319i9nmIyA2yE" Content-Disposition: inline In-Reply-To: <20191229162520.260768030@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 --Kj7319i9nmIyA2yE Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun 2019-12-29 18:18:11, Greg Kroah-Hartman wrote: > From: Corey Minyard >=20 > [ Upstream commit cbb79863fc3175ed5ac506465948b02a893a8235 ] >=20 > If something has the IPMI driver open, don't allow the device > module to be unloaded. Before it would unload and the user would > get errors on use. >=20 > This change is made on user request, and it makes it consistent > with the I2C driver, which has the same behavior. >=20 > It does change things a little bit with respect to kernel users. > If the ACPI or IPMI watchdog (or any other kernel user) has > created a user, then the device module cannot be unloaded. Before > it could be unloaded, >=20 > This does not affect hot-plug. If the device goes away (it's on > something removable that is removed or is hot-removed via sysfs) > then it still behaves as it did before. I don't think this is good idea for stable. First, it includes unrelated function rename, and second, it does not really fix any bug; it just changes behaviour. Best regards, Pavel --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --Kj7319i9nmIyA2yE Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAl4J0jIACgkQMOfwapXb+vIKggCgl+EWWYdfU5yQtZi0Q4qW0y6Z U0QAnA5Tj/Bb01z6IIIqyU9tF6PPDzx2 =7iOH -----END PGP SIGNATURE----- --Kj7319i9nmIyA2yE--