hcd-xhci: drop operation with secondary stream arrays enabled
commit145cdaba0f7ea721080e1289dc7a31bb2066406f
authorQiang Liu <cyruscyliu@gmail.com>
Sun, 4 Sep 2022 12:59:26 +0000 (4 20:59 +0800)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 27 Sep 2022 05:32:30 +0000 (27 07:32 +0200)
treed83e1d2107d699b1227d88179a9e68e798d1c2af
parent12b69878fc7b4b92b1bbd3959f2c3d4c717881fb
hcd-xhci: drop operation with secondary stream arrays enabled

The abort() in xhci_find_stream() can be triggered via enabling the secondary
stream arrays by setting linear stream array (LSA) bit (in endpoint context) to
0. We may show warnings and drop this operation.

Fixes: 024426acc0a2 ("usb-xhci: usb3 streams")
Reported-by: Qiang Liu <cyruscyliu@gmail.com>
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1192
Signed-off-by: Qiang Liu <cyruscyliu@gmail.com>
Message-Id: <20220904125926.2141607-1-cyruscyliu@gmail.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/usb/hcd-xhci.c