aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorRay Chi <[email protected]>2022-11-07 15:27:54 +0800
committerGreg Kroah-Hartman <[email protected]>2022-11-08 16:50:21 +0100
commit430d57f53eb1cdbf9ba9bbd397317912b3cd2de5 (patch)
treed099fea6ebe65a15b293b203ee8461c4ab6bbeec /tools/perf/scripts/python/syscall-counts-by-pid.py
parent04914233561377fc0369b984c9d19ec1b6ce2845 (diff)
usb: core: stop USB enumeration if too many retries
When a broken USB accessory connects to a USB host, usbcore might keep doing enumeration retries. If the host has a watchdog mechanism, the kernel panic will happen on the host. This patch provides an attribute early_stop to limit the numbers of retries for each port of a hub. If a port was marked with early_stop attribute, unsuccessful connection attempts will fail quickly. In addition, if an early_stop port has failed to initialize, it will ignore all future connection events until early_stop attribute is clear. Signed-off-by: Ray Chi <[email protected]> Reviewed-by: Alan Stern <[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/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions