From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A15F020E8 for ; Tue, 5 Dec 2023 02:48:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="0XZa6bNo" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 96A5CC433C7; Tue, 5 Dec 2023 02:48:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1701744502; bh=2Gw1WPzaSmWA/pbf1DoPtLM8C02wKcMVNVLbZwtNf/k=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=0XZa6bNoIrPic9UlbcVkrpVOyRI9BFZVQJywUo86Frb1f3MwrSHNAI5zo0A7+jerL AK3vLwfM6Py8jUweWuJcM/qzGrFgoeL4pwyi7Vz2Dc6fazkpTAQrkPbT1yxNCDb3ub ReLV/A39Biv4tqpcdZqVQTIxS+dGHiQA/Z9FDc0w= Date: Tue, 5 Dec 2023 11:48:18 +0900 From: Greg Kroah-Hartman To: Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= Cc: stable@vger.kernel.org, Saravana Kannan , stable , Thierry Reding , Yang Yingliang , Andy Shevchenko , Mark Brown , Matti Vaittinen , James Clark , "Rafael J. Wysocki" , kernel@pengutronix.de Subject: Re: [PATCH 5.15.y] driver core: Release all resources during unbind before updating device links Message-ID: <2023120511-marsupial-unlatch-b879@gregkh> References: <2023112330-squealer-strife-0ecc@gregkh> <20231123132835.486026-1-u.kleine-koenig@pengutronix.de> <2023112401-willing-drove-581c@gregkh> <20231204174200.6gl3fqgg7adzqdgq@pengutronix.de> Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20231204174200.6gl3fqgg7adzqdgq@pengutronix.de> On Mon, Dec 04, 2023 at 06:42:00PM +0100, Uwe Kleine-König wrote: > Hello Greg, > > On Fri, Nov 24, 2023 at 04:44:08PM +0000, Greg Kroah-Hartman wrote: > > On Thu, Nov 23, 2023 at 02:28:36PM +0100, Uwe Kleine-König wrote: > > > From: Saravana Kannan > > > > > > [ Upstream commit 2e84dc37920012b458e9458b19fc4ed33f81bc74 ] > > > > > > This commit fixes a bug in commit 9ed9895370ae ("driver core: Functional > > > dependencies tracking support") where the device link status was > > > incorrectly updated in the driver unbind path before all the device's > > > resources were released. > > > > > > Fixes: 9ed9895370ae ("driver core: Functional dependencies tracking support") > > > Cc: stable > > > Reported-by: Uwe Kleine-König > > > Closes: https://lore.kernel.org/all/20231014161721.f4iqyroddkcyoefo@pengutronix.de/ > > > Signed-off-by: Saravana Kannan > > > Cc: Thierry Reding > > > Cc: Yang Yingliang > > > Cc: Andy Shevchenko > > > Cc: Mark Brown > > > Cc: Matti Vaittinen > > > Cc: James Clark > > > Acked-by: "Rafael J. Wysocki" > > > Tested-by: Uwe Kleine-König > > > Acked-by: Uwe Kleine-König > > > Link: https://lore.kernel.org/r/20231018013851.3303928-1-saravanak@google.com > > > Signed-off-by: Greg Kroah-Hartman > > > Signed-off-by: Uwe Kleine-König > > > [...] > > > > Thanks, I've queued this up now. > > I see it landed in v5.15.140 (as > 947c9e12ddd6866603fd60000c0cca8981687dd3), but not in v5.10.x and the > older stables. It should go there, too. > > 947c9e12ddd6866603fd60000c0cca8981687dd3 can be cherry-picked without > conflicts on top of v5.10.202, 5.4.262, 4.19.300 and 4.14.331. Now queued up, thanks. greg k-h