diff options
author | Mathias Nyman <[email protected]> | 2024-10-16 16:59:58 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2024-10-17 08:45:36 +0200 |
commit | fe49df60cdb7c2975aa743dc295f8786e4b7db10 (patch) | |
tree | 4f6f84c1d23668cbcd8633944125f259b31480f6 /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | 6599b6a6fa8060145046d0744456b6abdb3122a7 (diff) |
xhci: Mitigate failed set dequeue pointer commands
Avoid xHC host from processing a cancelled URB by always turning
cancelled URB TDs into no-op TRBs before queuing a 'Set TR Deq' command.
If the command fails then xHC will start processing the cancelled TD
instead of skipping it once endpoint is restarted, causing issues like
Babble error.
This is not a complete solution as a failed 'Set TR Deq' command does not
guarantee xHC TRB caches are cleared.
Fixes: 4db356924a50 ("xhci: turn cancelled td cleanup to its own function")
Cc: [email protected]
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/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions