aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorMathias Nyman <[email protected]>2019-12-11 16:20:07 +0200
committerGreg Kroah-Hartman <[email protected]>2019-12-11 15:32:19 +0100
commitbd82873f23c9a6ad834348f8b83f3b6a5bca2c65 (patch)
tree03e7826d42e8eacdff9b7763b9c1e5010b381a08 /tools/perf/scripts/python/exported-sql-viewer.py
parent7ff11162808cc2ec66353fc012c58bb449c892c3 (diff)
xhci: make sure interrupts are restored to correct state
spin_unlock_irqrestore() might be called with stale flags after reading port status, possibly restoring interrupts to a incorrect state. If a usb2 port just finished resuming while the port status is read the spin lock will be temporary released and re-acquired in a separate function. The flags parameter is passed as value instead of a pointer, not updating flags properly before the final spin_unlock_irqrestore() is called. Cc: <[email protected]> # v3.12+ Fixes: 8b3d45705e54 ("usb: Fix xHCI host issues on remote wakeup.") Signed-off-by: Mathias Nyman <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions