Re: [PATCH] xhci: Calculate old endpoints correctly on device reset

2015-07-20 Thread Brian Campbell
On Mon, Jul 20, 2015 at 04:38:16PM +0300, Mathias Nyman wrote: > > I remember there was an issue about something eating bandwidth as > suspend/resume > that never got fixed? > > here it is: > http://marc.info/?l=linux-usb&m=141561758015676&w=2 That sounds like the same problem (s/w bandwidth ch

[PATCH] xhci: Calculate old endpoints correctly on device reset

2015-07-19 Thread Brian Campbell
ached. The correct number of active endpoints is calculated in the same way as in xhci_reserve_bandwidth. Signed-off-by: Brian Campbell --- drivers/usb/host/xhci.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/usb/host/xhci.c b/drivers/usb/host/xhci.c index 7da0d60..526ebc0 1

Re: USB devices disappering on resume on pantherpoint chipset with dock

2014-11-19 Thread Brian Campbell
Hi, On Wed, Nov 19, 2014 at 05:04:27PM +0200, Mathias Nyman wrote: > > One theory would be that when we fail to reset the device because it's > already in the > default state (state after reset) we end up not freeing the rings, and won't > free the > reserved bandwith either. > > If you wan't

USB devices disappering on resume on pantherpoint chipset with dock

2014-11-18 Thread Brian Campbell
Hi, I'm having trouble with USB devices connected to a Thinkpad X230's dock disappearing after a few suspend/resume cycles. Devices connected directly to the laptop rather than the dock are not affected. The main symptom in the logs is a complaint about bandwidth, and comes from the bandwidth ch