Skip to content

Conversation

@pamaury
Copy link

@pamaury pamaury commented Nov 13, 2025

If the bus is powered but the device never connects, the link state will be Disconnected which triggers an assertion when the bus is powered off.

This was not caugh in CI because the QEMU side was merged before the otlib minihost was merged, and the minihost was presumably merged before a QEMU release was made.

If the bus is powered but the device never connects, the link state
will be `Disconnected` which triggers an assertion when the bus is
powered off.

Signed-off-by: Amaury Pouly <amaury.pouly@lowrisc.org>
@pamaury pamaury changed the title [ot] hw/opentitan: ot_usbdev: fix assertion failure ot_usbdev: fix assertion failure Nov 13, 2025
@pamaury pamaury requested review from AlexJones0 and rivos-eblot and removed request for rivos-eblot November 13, 2025 15:40
Copy link

@AlexJones0 AlexJones0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for looking into this @pamaury, this should address the assertion failures that we're seeing in tests at the moment.

@pamaury pamaury merged commit 7f82996 into lowRISC:ot-9.2.0 Nov 14, 2025
7 of 13 checks passed
@pamaury
Copy link
Author

pamaury commented Nov 14, 2025

The CI failures are not related to USB

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants