Skip to content
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

libmetal: set ept address loop++ in bitmap #263

Merged
merged 1 commit into from
Oct 31, 2023
Merged

Conversation

GUIDINGLI
Copy link
Contributor

@GUIDINGLI GUIDINGLI commented Oct 13, 2023

  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 <======

This should compile with OpenAMP/open-amp#514

@GUIDINGLI
Copy link
Contributor Author

Update for the Zephyr compile failed

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 the issue, I give a resolve method,
for the rpmsg_get_address(), always return a new increased num.

Signed-off-by: Guiding Li <[email protected]>
Copy link
Contributor

@arnopo arnopo left a comment

Choose a reason for hiding this comment

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

LGTM

@arnopo arnopo merged commit 694620f into OpenAMP:main Oct 31, 2023
4 checks passed
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.

4 participants