From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com ([134.134.136.24]:60297 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755367AbcK3Lkk (ORCPT ); Wed, 30 Nov 2016 06:40:40 -0500 Subject: Re: [RFT PATCH 1/1] xhci: free xhci virtual devices with leaf nodes first To: Guenter Roeck References: <582DC88C.5040308@linux.intel.com> <1479903867-561-1-git-send-email-mathias.nyman@linux.intel.com> <20161128202455.GC10709@roeck-us.net> Cc: linux-usb@vger.kernel.org, stable@vger.kernel.org From: Mathias Nyman Message-ID: <583EBAE4.6000905@linux.intel.com> Date: Wed, 30 Nov 2016 13:41:24 +0200 MIME-Version: 1.0 In-Reply-To: <20161128202455.GC10709@roeck-us.net> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: stable-owner@vger.kernel.org List-ID: 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 -Mathias