You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nuttx.apache.org by yfliu2008 <yf...@qq.com.INVALID> on 2024/02/23 09:45:38 UTC

RPTUN stop and restart

Bowen,Xiang




I am wondering what should chip rptun driver do in the "stop" callback? Here I saw that "rptun stop /dev/rptun/remote" can trigger the chip layer rptun stop callback, where the remote core is placed to&nbsp; reset state, is this the correct behavior?&nbsp; During the stop operations, I saw logs like:

&nbsp;master&gt; rptun stop /dev/rptun/remote &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;rx_vq: freeing non-empty virtqueue &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
tx_vq: freeing non-empty virtqueue &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
rp_stop: 0x8082960


The last line is from the chip layer rptun callback, lines before it should comes from the RPTUN core. 





What operations can be done after stop operation? I tried "rptun dump" but got panic due to load page fault, also it seems that&nbsp; I can't do "rptun start /dev/rptun/remote" either.





Regards,

yf