diff options
| author | Mathias Nyman <[email protected]> | 2021-01-29 15:00:30 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2021-01-29 14:16:50 +0100 |
| commit | c716e8a5fada15df495aa4891f4f22e51b95de11 (patch) | |
| tree | 0d0382c82e4ce554f07d580ab9e4c89607b7c3bb /tools/perf/scripts/python/bin | |
| parent | 0353810a047ef0101af01665f60597d7f5cc6b02 (diff) | |
xhci: Check link TRBs when updating ring enqueue and dequeue pointers.
xhci driver relies on link TRBs existing in the correct places in TRB
ring buffers shared with the host controller.
The controller should not modify these link TRBs, but in theory a faulty
xHC could do it.
Add some basic sanity checks to avoid infinite loops in interrupt handler,
or accessing unallocated memory outside a ring segment due to missing or
misplaced link TRBs.
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/bin')
0 files changed, 0 insertions, 0 deletions