summaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorMathias Nyman <mathias.nyman@linux.intel.com>2016-04-08 16:25:10 +0300
committerChandana Kishori Chiluveru <cchiluve@codeaurora.org>2016-07-12 12:11:57 +0530
commit30f5d80b01688672b5910d3c80b1da1f79106e37 (patch)
treec010ab754a4616fa2bd9aa2071678c0ecb9e451b /tools/perf/util/trace-event-scripting.c
parent400520a6e2f06cc7c45e386e769a85d4aded565b (diff)
xhci: fix 10 second timeout on removal of PCI hotpluggable xhci controllers
PCI hotpluggable xhci controllers such as some Alpine Ridge solutions will remove the xhci controller from the PCI bus when the last USB device is disconnected. Add a flag to indicate that the host is being removed to avoid queueing configure_endpoint commands for the dropped endpoints. For PCI hotplugged controllers this will prevent 5 second command timeouts For static xhci controllers the configure_endpoint command is not needed in the removal case as everything will be returned, freed, and the controller is reset. For now the flag is only set for PCI connected host controllers. Change-Id: Ic0b58b6be29d3c797b21ef5637e4004d08cc0b5c Cc: <stable@vger.kernel.org> Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Git-commit: 98d74f9ceaefc2b6c4a6440050163a83be0abede Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git [cchiluve@codeaurora.org: resovle merge conflicts] Signed-off-by: Chandana Kishori Chiluveru <cchiluve@codeaurora.org>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions