-
Notifications
You must be signed in to change notification settings - Fork 799
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SiVal, usbdev] Suspend and Resume test. #25728
Conversation
ed94e27
to
a5b84ee
Compare
Add a simple host-side application to drive the suspend- sleep-resume top-level USBDEV tests. Signed-off-by: Adrian Lees <[email protected]>
Changes to the usb_testutils layer to report link events as required by the suspend-resume top-level tests. Extend the usb_testutils_streams code to construct a USB configuration descriptor from the list of transfer types, permitting a single test to be more configurable. Signed-off-by: Adrian Lees <[email protected]>
Suspend-resume library code used in a number of top-level tests for exercising the various combinations of suspend/sleep states and USB stimuli. Individual top-level tests are very compact and just walk through shortened sequences of test phases to make chip-level simulation times feasible. Presently configured for ES USBDEV, but also supporting Prod. Signed-off-by: Adrian Lees <[email protected]>
Suspend-sleep-resume testing of USBDEV involves multiple test phases, states and stimuli, to check the DUT response to Resume Signaling, Bus Reset or VBUS loss during each of powered, Normal Sleep and Deep Sleep states. Signed-off-by: Adrian Lees <[email protected]>
Signed-off-by: Douglas Reis <[email protected]>
@jwnrt, I have removed the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks.
The software team at lowRISC discussed this and decided that even though the diff is large and we couldn't review it all in depth, we're better off with the test coverage than without.
The non-test change to the DIF looks fine.
Successfully created backport PR for |
This PR is based on the PR: #23200