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

rptun related update #5847

Merged
merged 13 commits into from
Mar 30, 2022
Merged

rptun related update #5847

merged 13 commits into from
Mar 30, 2022

Conversation

GUIDINGLI
Copy link
Contributor

Summary

rptun related update

  1. add rptun ping support
  2. add rptun dump support
  3. add rptun panic/reset support
  4. add RPTUN_WORKQUEUE method
  5. add rpmsg_wait/post support for recursive dispatch
  6. pm_stay when send msg & pm_relax when all tx buffer returned

Impact

rptun

Testing

VELA

drivers/rptun/Make.defs Show resolved Hide resolved
drivers/rptun/rptun.c Show resolved Hide resolved
drivers/rptun/rptun.c Outdated Show resolved Hide resolved
drivers/rptun/rptun.c Outdated Show resolved Hide resolved
drivers/rptun/rptun_ping.c Outdated Show resolved Hide resolved
drivers/rptun/rptun.c Outdated Show resolved Hide resolved
drivers/rptun/rptun.c Outdated Show resolved Hide resolved
Signed-off-by: ligd <liguiding1@xiaomi.com>
Signed-off-by: ligd <liguiding1@xiaomi.com>
Signed-off-by: ligd <liguiding1@xiaomi.com>
Signed-off-by: ligd <liguiding1@xiaomi.com>
Signed-off-by: ligd <liguiding1@xiaomi.com>
Signed-off-by: ligd <liguiding1@xiaomi.com>
drivers/rptun/rptun_ping.c Show resolved Hide resolved
Signed-off-by: ligd <liguiding1@xiaomi.com>
Signed-off-by: ligd <liguiding1@xiaomi.com>
Signed-off-by: ligd <liguiding1@xiaomi.com>
use wait_tx_buffer method need enable rx interrupts

Signed-off-by: ligd <liguiding1@xiaomi.com>
Signed-off-by: ligd <liguiding1@xiaomi.com>
0006-openamp-fix-scenario-case.patch
0007-openamp-divide-shram-to-TX-shram-RX-shram.patch
0008-rpmsg_virtio-don-t-need-check-status-when-get_tx_pay.patch

Signed-off-by: ligd <liguiding1@xiaomi.com>
Signed-off-by: ligd <liguiding1@xiaomi.com>
Copy link
Contributor

@jerpelea jerpelea left a comment

Choose a reason for hiding this comment

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

LGTM

@pkarashchenko pkarashchenko merged commit 86a496d into apache:master Mar 30, 2022
#define RPTUN_STATUS_FROM_MASTER 0x8
#define RPTUN_STATUS_MASK 0x7
#define RPTUN_STATUS_PANIC 0x7
#define RPTUN_OPS_START 0
Copy link
Contributor

Choose a reason for hiding this comment

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

let's reuse the ioctl id here?

Copy link
Contributor

Choose a reason for hiding this comment

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

@GUIDINGLI please issue a new PR if needed to address this

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