Re: [PATCH 5.15.y] driver core: Release all resources during unbind before updating device links

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <saravanak@xxxxxxxxxx>
> > 
> > [ 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 <stable@xxxxxxxxxx>
> > Reported-by: Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx>
> > Closes: https://lore.kernel.org/all/20231014161721.f4iqyroddkcyoefo@xxxxxxxxxxxxxx/
> > Signed-off-by: Saravana Kannan <saravanak@xxxxxxxxxx>
> > Cc: Thierry Reding <thierry.reding@xxxxxxxxx>
> > Cc: Yang Yingliang <yangyingliang@xxxxxxxxxx>
> > Cc: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
> > Cc: Mark Brown <broonie@xxxxxxxxxx>
> > Cc: Matti Vaittinen <mazziesaccount@xxxxxxxxx>
> > Cc: James Clark <james.clark@xxxxxxx>
> > Acked-by: "Rafael J. Wysocki" <rafael@xxxxxxxxxx>
> > Tested-by: Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx>
> > Acked-by: Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx>
> > Link: https://lore.kernel.org/r/20231018013851.3303928-1-saravanak@xxxxxxxxxx
> > Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
> > Signed-off-by: Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx>
> > [...]
> 
> 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.

Best regards
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | https://www.pengutronix.de/ |

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux