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

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

 



On 19.07.2015 18:25, Brian Campbell wrote:
> 
> When resetting a device the number of active TTs may need to be
> corrected by xhci_update_tt_active_eps, but the number of old active
> endpoints supplied to it was always zero, so the number of TTs and the
> bandwidth reserved for them was not updated, and could rise
> unnecessarily.
> 
> This affected systems using Intel's Patherpoint chipset, which rely on
> software bandwidth checking.  For example, a Lenovo X230 would lose the
> ability to use ports on the docking station after enough suspend/resume
> cycles because the bandwidth calculated would rise with every cycle when
> a suitable device is attached.
> 
> The correct number of active endpoints is calculated in the same way as
> in xhci_reserve_bandwidth.
> 

Thanks, 

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

Not sure if Kenneth has triggered it lately?

Anyways, patch looks good, I'll send it forward

-Mathias


--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux