diff options
author | Mathias Nyman <[email protected]> | 2021-11-26 14:23:40 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2021-12-03 13:56:33 +0100 |
commit | 09f736aa95476631227d2dc0e6b9aeee1ad7ed58 (patch) | |
tree | badd026dcef7b588e8c919c157aa9166f542e735 /tools/testing/selftests/bpf/prog_tests/queue_stack_map.c | |
parent | d58071a8a76d779eedab38033ae4c821c30295a5 (diff) |
xhci: Fix commad ring abort, write all 64 bits to CRCR register.
Turns out some xHC controllers require all 64 bits in the CRCR register
to be written to execute a command abort.
The lower 32 bits containing the command abort bit is written first.
In case the command ring stops before we write the upper 32 bits then
hardware may use these upper bits to set the commnd ring dequeue pointer.
Solve this by making sure the upper 32 bits contain a valid command
ring dequeue pointer.
The original patch that only wrote the first 32 to stop the ring went
to stable, so this fix should go there as well.
Fixes: ff0e50d3564f ("xhci: Fix command ring pointer corruption while aborting a command")
Cc: [email protected]
Tested-by: Pavankumar Kondeti <[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/queue_stack_map.c')
0 files changed, 0 insertions, 0 deletions