Re: [PATCH] hcd-ohci: Fix inconsistency when resetting ohci root hubs

2024-04-08 Thread Philippe Mathieu-Daudé
On 30/8/22 05:30, Qiang Liu wrote: I found an assertion failure in usb_cancel_packet() and posted my analysis in https://gitlab.com/qemu-project/qemu/-/issues/1180. I think this issue is because the inconsistency when resetting ohci root hubs. There are two ways to reset ohci root hubs: 1) throu

[PATCH] hcd-ohci: Fix inconsistency when resetting ohci root hubs

2022-08-29 Thread Qiang Liu
I found an assertion failure in usb_cancel_packet() and posted my analysis in https://gitlab.com/qemu-project/qemu/-/issues/1180. I think this issue is because the inconsistency when resetting ohci root hubs. There are two ways to reset ohci root hubs: 1) through HcRhPortStatus, 2) through HcContr