aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorAlan Stern <[email protected]>2024-04-30 10:33:48 -0400
committerGreg Kroah-Hartman <[email protected]>2024-04-30 18:05:27 +0200
commitc78c3644b772e356ca452ae733a3c4de0fb11dc8 (patch)
tree67454e8d598e29bcea7c507d94d027e71b6d458d /tools/perf/scripts/python/export-to-postgresql.py
parentfe81f354841641c7f71163b84912b25c169ed8ec (diff)
usb: Fix regression caused by invalid ep0 maxpacket in virtual SuperSpeed device
A virtual SuperSpeed device in the FreeBSD BVCP package (https://bhyve.npulse.net/) presents an invalid ep0 maxpacket size of 256. It stopped working with Linux following a recent commit because now we check these sizes more carefully than before. Fix this regression by using the bMaxpacketSize0 value in the device descriptor for SuperSpeed or faster devices, even if it is invalid. This is a very simple-minded change; we might want to check more carefully for values that actually make some sense (for instance, no smaller than 64). Signed-off-by: Alan Stern <[email protected]> Reported-and-tested-by: Roger Whittaker <[email protected]> Closes: https://bugzilla.suse.com/show_bug.cgi?id=1220569 Link: https://lore.kernel.org/linux-usb/[email protected]/ Fixes: 59cf44575456 ("USB: core: Fix oversight in SuperSpeed initialization") Cc: [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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions