summaryrefslogtreecommitdiff
path: root/net/9p/Kconfig
diff options
context:
space:
mode:
authorPawel Laszczak <pawell@cadence.com>2024-09-05 07:03:28 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-09-11 15:38:25 +0200
commite5fa8db0be3e8757e8641600c518425a4589b85c (patch)
tree6211e96ef0218756f7fc3b80f7e134e3cb36af3a /net/9p/Kconfig
parent118ecef16cc221a23f96617016f7a205b070109f (diff)
usb: xhci: fix loss of data on Cadence xHC
Streams should flush their TRB cache, re-read TRBs, and start executing TRBs from the beginning of the new dequeue pointer after a 'Set TR Dequeue Pointer' command. Cadence controllers may fail to start from the beginning of the dequeue TRB as it doesn't clear the Opaque 'RsvdO' field of the stream context during 'Set TR Dequeue' command. This stream context area is where xHC stores information about the last partially executed TD when a stream is stopped. xHC uses this information to resume the transfer where it left mid TD, when the stream is restarted. Patch fixes this by clearing out all RsvdO fields before initializing new Stream transfer using a 'Set TR Dequeue Pointer' command. Fixes: 3d82904559f4 ("usb: cdnsp: cdns3 Add main part of Cadence USBSSP DRD Driver") cc: stable@vger.kernel.org Signed-off-by: Pawel Laszczak <pawell@cadence.com> Reviewed-by: Peter Chen <peter.chen@kernel.org> Link: https://lore.kernel.org/r/PH7PR07MB95386A40146E3EC64086F409DD9D2@PH7PR07MB9538.namprd07.prod.outlook.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/9p/Kconfig')
0 files changed, 0 insertions, 0 deletions