diff options
author | Mathias Nyman <mathias.nyman@linux.intel.com> | 2018-12-05 15:22:39 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-12-13 11:18:52 +0300 |
commit | cacfa255bee4fd7137939411b05a0527475a19ec (patch) | |
tree | b0789f3619f483fd3cf6e2e72f93786f08405784 /fs | |
parent | 3ff0131284e94ddac80520fa549d55a4294776cb (diff) | |
download | linux-cacfa255bee4fd7137939411b05a0527475a19ec.tar.xz |
xhci: Prevent U1/U2 link pm states if exit latency is too long
commit 0472bf06c6fd33c1a18aaead4c8f91e5a03d8d7b upstream.
Don't allow USB3 U1 or U2 if the latency to wake up from the U-state
reaches the service interval for a periodic endpoint.
This is according to xhci 1.1 specification section 4.23.5.2 extra note:
"Software shall ensure that a device is prevented from entering a U-state
where its worst case exit latency approaches the ESIT."
Allowing too long exit latencies for periodic endpoint confuses xHC
internal scheduling, and new devices may fail to enumerate with a
"Not enough bandwidth for new device state" error from the host.
Cc: <stable@vger.kernel.org>
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions