From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from bh-25.webhostbox.net ([208.91.199.152]:44125 "EHLO bh-25.webhostbox.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752807AbcLIV2s (ORCPT ); Fri, 9 Dec 2016 16:28:48 -0500 Date: Fri, 9 Dec 2016 13:28:45 -0800 From: Guenter Roeck To: Mathias Nyman Cc: linux-usb@vger.kernel.org, stable@vger.kernel.org Subject: Re: [RFT PATCH 1/1] xhci: free xhci virtual devices with leaf nodes first Message-ID: <20161209212845.GA16317@roeck-us.net> References: <582DC88C.5040308@linux.intel.com> <1479903867-561-1-git-send-email-mathias.nyman@linux.intel.com> <20161128202455.GC10709@roeck-us.net> <583EBAE4.6000905@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <583EBAE4.6000905@linux.intel.com> Sender: stable-owner@vger.kernel.org List-ID: On Wed, Nov 30, 2016 at 01:41:24PM +0200, Mathias Nyman wrote: > On 28.11.2016 22:24, Guenter Roeck wrote: > >On Wed, Nov 23, 2016 at 02:24:27PM +0200, Mathias Nyman wrote: > >>the tt_info provided by a HS hub might be in use to by a child device > >>Make sure we free the devices in the correct order. > >> > >>This is needed in special cases such as when xhci controller is > >>reset when resuming from hibernate, and all virt_devices are freed. > >> > >>Also free the virt_devices starting from max slot_id as children > >>more commonly have higher slot_id than parent. > >> > >>CC: > >>Signed-off-by: Mathias Nyman > >> > >>--- > >> > >>Guenter Roeck, does this work for you? > >> > >Yes, it does. > > > >Tested-by: Guenter Roeck > > > >Thanks, > >Guenter > > > > Thanks, I'll send it forward with proper Reported-by and Tested-by tags > after 4.10-rc1 > Do you have this patch sitting in some branch, by any chance ? I would like to pick it up if possible. Thanks, Guenter