Thread (12 messages) 12 messages, 3 authors, 2016-12-12

Re: [RFT PATCH 1/1] xhci: free xhci virtual devices with leaf nodes first

From: Mathias Nyman <hidden>
Date: 2016-12-12 13:50:05

On 09.12.2016 23:28, Guenter Roeck wrote:
On Wed, Nov 30, 2016 at 01:41:24PM +0200, Mathias Nyman wrote:
quoted
On 28.11.2016 22:24, Guenter Roeck wrote:
quoted
On Wed, Nov 23, 2016 at 02:24:27PM +0200, Mathias Nyman wrote:
quoted
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: <redacted>
Signed-off-by: Mathias Nyman <redacted>

---

Guenter Roeck, does this work for you?
Yes, it does.

Tested-by: Guenter Roeck <groeck@chromium.org>

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.
Now in

git://git.kernel.org/pub/scm/linux/kernel/git/mnyman/xhci.git for-usb-linus

Branch is not very well tested yet

-Mathias
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help