-
Notifications
You must be signed in to change notification settings - Fork 294
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
rpmsg: set ept address to incease num when alloc from the bitmap #514
Conversation
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.
The issue is well described in the commit message.
Could you also explain in the commit message the solution implemented?
@arnopo |
CPU0 CPU1 create_ept1:addr1 create_ept1 OK <====== msg1 OK <====== msg2 OK <====== msg3 msg4 <====== msg4 on the virtioqueue close_ept1 close_ept1 create_ept2:addr1 create_ept1 (same addr with ept1) msg4 ept2 recv ept1 msg ERROR <====== The msg4 which belong to ep1, error received by ept2. For this issue, I give a resolve method: Let the rpmsg_get_address() always return a new increased num. Signed-off-by: Guiding Li <[email protected]>
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.
LGTM.
rpmsg: set ept address to incease num when alloc from the bitmap
The msg4 which belong to ep1, error received by ept2.
For the issue, I give a resolve method,
for the rpmsg_get_address(), always return a new increased num.
This should compile with OpenAMP/libmetal#263