-
Notifications
You must be signed in to change notification settings - Fork 70
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
Program scope hostpipe support #284
Conversation
zibaiwan
commented
Apr 4, 2023
•
edited
Loading
edited
- Support program scope hostpipe, CSR pipe and non-CSR pipe.
- Register program scoped hostpipes during program creation.
- Create new command op and device op for the hostpipe read and write
- Unit test is only for the auto-discovery string. Other unit tests will be added through other PR.
- Most of the Klocwork issues are the existing issues but listed as the new issues due to I modified the source code for the test, but I will attempt to fix all of them.
- More error checking needs to be done. Will add through a new PR.
@sophimao , while I am still working on the Klocwork fixes, please take a look at the change. Thanks! |
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 Zibai! Overall looks good to me, just 2 minor comments as listed below.
1. Support program scope hostpipe, CSR pipe and non-CSR pipe. 2. Register program scoped hostpipes during program creation. 3. Create new command op and device op for the hostpipe read and write. 4. Create unit tests for the new autodiscovery string entry 5. Fix Klocwork issues in the deivce op unit test as they are flagged as new failures (they are not) due to my change in the device op
6d303cf
to
704f98a
Compare
@sophimao , thanks for your review. I have addressed your comments, squashed the commits. Please take a look when you have a chance! |
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! Looks good to me :)